Vulnerability Description
FastGPT is an AI Agent building platform. In versions prior to 4.14.9.5, the password change endpoint is vulnerable to NoSQL injection. An authenticated attacker can bypass the "old password" verification by injecting MongoDB query operators. This allows an attacker who has gained a low-privileged session to change the password of their account (or others if combined with ID manipulation) without knowing the current one, leading to full account takeover and persistence. This issue has been fixed in version 4.14.9.5.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Fastgpt | Fastgpt | < 4.14.9.5 |
Related Weaknesses (CWE)
References
- https://github.com/labring/FastGPT/commit/bd966d479fbe414d02679cf79f9eaaab3d100aPatch
- https://github.com/labring/FastGPT/releases/tag/v4.14.9.5ProductRelease Notes
- https://github.com/labring/FastGPT/security/advisories/GHSA-422w-vrfj-72g6ExploitVendor Advisory
FAQ
What is CVE-2026-40352?
CVE-2026-40352 is a vulnerability with a CVSS score of 8.8 (HIGH). FastGPT is an AI Agent building platform. In versions prior to 4.14.9.5, the password change endpoint is vulnerable to NoSQL injection. An authenticated attacker can bypass the "old password" verifica...
How severe is CVE-2026-40352?
CVE-2026-40352 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-40352?
Check the references section above for vendor advisories and patch information. Affected products include: Fastgpt Fastgpt.