CVE-2026-40351
criticalpriority · track · 0EPSS 0.006 · 50 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (2)
Products and version ranges known to be affected.
also known as (2)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (9)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2026-40351cnnvd
- https://github.com/labring/FastGPT/releases/Patchcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2026-40351cnnvd
- https://github.com/labring/FastGPT/commit/bd966d479fbe414d02679cf79f9eaaab3d100a2denisa_euvd
- https://github.com/labring/FastGPT/releases/tag/v4.14.9.5enisa_euvd
- https://github.com/labring/FastGPT/security/advisories/GHSA-x8mx-2mr7-h9xgenisa_euvd
- https://github.com/labring/FastGPT/commit/bd966d479fbe414d02679cf79f9eaaab3d100a2dPatchnvd
- https://github.com/labring/FastGPT/releases/tag/v4.14.9.5ProductRelease Notesnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan