CVE-2026-40351: Vulnerability in Fastgpt

Critical. 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...

CWE-943

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
0.7 % in 30 days
Fix
Fixed version known
Patch deadline
No deadline set

Details

EU ID
EUVD-2026-23557
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-943
Published
17 Apr 2026
Last change
26 Oct 2026
Likelihood rank
Higher than 53 % of all rated vulnerabilities
Analysis status
Analyzed

Affected products

Affected versions and the first fixed release

  • Fastgpt Before 4.14.9.5. Fixed in 4.14.9.5

Patches and fixes

Updates, commits and release notes

Exploit code

Public exploits and proofs of concept, handle with care

Related