Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.0%top 89%

CVE-2026-40352: CWE-943: Improper Neutralization of Special Elements in Data Query Logic in labring FastGPT

0
High
VulnerabilityCVE-2026-40352cvecve-2026-40352cwe-943
Published: Fri Apr 17 2026 (04/17/2026, 21:09:32 UTC)
Source: CVE Database V5
Vendor/Project: labring
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/25/2026, 03:00:54 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses