CVE-2026-40352: CWE-943: Improper Neutralization of Special Elements in Data Query Logic in labring FastGPT
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.
AI Analysis
Technical Summary
FastGPT, an AI Agent building platform by labring, had a vulnerability (CWE-943) in versions before 4.14.9.5 where the password change endpoint did not properly neutralize special elements in data query logic. This NoSQL injection flaw allowed authenticated users to bypass old password verification by injecting MongoDB query operators. Exploiting this flaw, attackers could change passwords without knowing the current one, potentially taking over accounts fully. The vulnerability has a CVSS 3.1 score of 8.8, indicating high impact on confidentiality, integrity, and availability. The vulnerability is fixed in version 4.14.9.5.
Potential Impact
An attacker with an authenticated low-privileged session can bypass password verification to change passwords without knowing the current password. This can lead to full account takeover and persistence. If combined with ID manipulation, attackers may change other users' passwords. The vulnerability affects confidentiality, integrity, and availability of user accounts in affected FastGPT versions.
Mitigation Recommendations
Upgrade FastGPT to version 4.14.9.5 or later, where this vulnerability is fixed. Since the vendor has released a fixed version, applying this official update is the recommended remediation. Patch status is confirmed by the vendor's versioning information. No additional mitigations are specified.
CVE-2026-40352: CWE-943: Improper Neutralization of Special Elements in Data Query Logic in labring FastGPT
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 v3.1
Score 8.8high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
FastGPT, an AI Agent building platform by labring, had a vulnerability (CWE-943) in versions before 4.14.9.5 where the password change endpoint did not properly neutralize special elements in data query logic. This NoSQL injection flaw allowed authenticated users to bypass old password verification by injecting MongoDB query operators. Exploiting this flaw, attackers could change passwords without knowing the current one, potentially taking over accounts fully. The vulnerability has a CVSS 3.1 score of 8.8, indicating high impact on confidentiality, integrity, and availability. The vulnerability is fixed in version 4.14.9.5.
Potential Impact
An attacker with an authenticated low-privileged session can bypass password verification to change passwords without knowing the current password. This can lead to full account takeover and persistence. If combined with ID manipulation, attackers may change other users' passwords. The vulnerability affects confidentiality, integrity, and availability of user accounts in affected FastGPT versions.
Mitigation Recommendations
Upgrade FastGPT to version 4.14.9.5 or later, where this vulnerability is fixed. Since the vendor has released a fixed version, applying this official update is the recommended remediation. Patch status is confirmed by the vendor's versioning information. No additional mitigations are specified.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-10T22:50:01.359Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e2a83ebdfbbecc5994f149
Added to database: 4/17/2026, 9:38:06 PM
Last enriched: 4/25/2026, 3:00:54 AM
Last updated: 6/6/2026, 2:33:40 AM
Views: 72
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.