CVE-2026-40352 Details
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.
A NoSQL injection vulnerability has been identified in the password change endpoint of FastGPT, an AI agent building platform, in versions prior to 4.14.9.5. This vulnerability allows an authenticated attacker to bypass the 'old password' verification by injecting MongoDB query operators. As a result, an attacker with a low-privileged session can change their account password, or potentially the password of others by manipulating user IDs, without knowing the current password. This leads to full account takeover and persistence.
Users can update to FastGPT version 4.14.9.5 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 20, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/labring/FastGPT/commit/bd966d479fbe414d02679cf79f9eaaab3d100a2d | [email protected] | Patch |
| https://github.com/labring/FastGPT/releases/tag/v4.14.9.5 | [email protected] | ProductRelease Notes |
| https://github.com/labring/FastGPT/security/advisories/GHSA-422w-vrfj-72g6 | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-943 | Improper Neutralization of Special Elements in Data Query Logic | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| fastgpt fastgpt | < 4.14.9.5 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 27, 2026 | Initial Analysis | [email protected] |
| Apr 17, 2026 | New CVE Received | [email protected] |