CVE-2026-40351 | labring FastGPT up to 4.14.9.5 Password Field data query logic injection
VulDBArchived Apr 18, 2026✓ Full text saved
A vulnerability, which was classified as critical , was found in labring FastGPT up to 4.14.9.5 . The affected element is an unknown function of the component Password Field Handler . The manipulation results in improper neutralization of special elements in data query logic. This vulnerability is reported as CVE-2026-40351 . The attack can be launched remotely. No exploit exists. You should upgrade the affected component.
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-358123 · CVE-2026-40351 · GCVE-0-2026-40351
LABRING FASTGPT UP TO 4.14.9.5 PASSWORD FIELD DATA QUERY LOGIC INJECTION
HISTORYDIFFRELATEJSONXMLCTI
CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score
8.4 $0-$5k 2.09+
Summaryinfo
A vulnerability has been found in labring FastGPT up to 4.14.9.5 and classified as critical. The impacted element is an unknown function of the component Password Field Handler. This manipulation causes data query logic injection. This vulnerability appears as CVE-2026-40351. The attack may be initiated remotely. There is no available exploit. The affected component should be upgraded.
Detailsinfo
A vulnerability has been found in labring FastGPT up to 4.14.9.5 and classified as critical. Affected by this vulnerability is an unknown part of the component Password Field Handler. The manipulation with an unknown input leads to a data query logic injection vulnerability. The CWE definition for the vulnerability is CWE-943. The product generates a query intended to access or manipulate data in a data store such as a database, but it does not neutralize or incorrectly neutralizes special elements that can modify the intended logic of the query. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
FastGPT is an AI Agent building platform. In versions prior to 4.14.9.5, the password-based login endpoint uses TypeScript type assertion without runtime validation, allowing an unauthenticated attacker to pass a MongoDB query operator object (e.g., {"$ne": ""}) as the password field. This NoSQL injection bypasses the password check, enabling login as any user including the root administrator. This issue has been fixed in version 4.14.9.5.
It is possible to read the advisory at github.com. This vulnerability is known as CVE-2026-40351 since 04/11/2026. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. The technical details are unknown and an exploit is not publicly available.
Upgrading to version 4.14.9.5 eliminates this vulnerability.
Productinfo
Vendor
labring
Name
FastGPT
Version
4.14.9.0
4.14.9.1
4.14.9.2
4.14.9.3
4.14.9.4
4.14.9.5
Website
Product: https://github.com/labring/FastGPT/
CPE 2.3info
🔒
🔒
🔒
CPE 2.2info
🔒
🔒
🔒
CVSSv4info
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv3info
VulDB Meta Base Score: 8.5
VulDB Meta Temp Score: 8.4
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 9.8
CNA Vector (GitHub_M): 🔒
CVSSv2info
Vector Complexity Authentication Confidentiality Integrity Availability
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploitinginfo
Class: Data query logic injection
CWE: CWE-943 / CWE-20
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day Unlock Unlock Unlock Unlock
Today Unlock Unlock Unlock Unlock
Threat Intelligenceinfo
Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
Countermeasuresinfo
Recommended: Upgrade
Status: 🔍
0-Day Time: 🔒
Upgrade: FastGPT 4.14.9.5
Timelineinfo
04/11/2026 CVE reserved
04/17/2026 +6 days Advisory disclosed
04/17/2026 +0 days VulDB entry created
04/17/2026 +0 days VulDB entry last update
Sourcesinfo
Product: github.com
Advisory: github.com
Status: Confirmed
CVE: CVE-2026-40351 (🔒)
GCVE (CVE): GCVE-0-2026-40351
GCVE (VulDB): GCVE-100-358123
Entryinfo
Created: 04/17/2026 23:48
Changes: 04/17/2026 23:48 (63)
Complete: 🔍
Cache ID: 99:36A:101
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸