CVE-2026-40351
Critical · 9.8CVSS
9.8
EPSS
0.6%
Published
Apr 17, 2026
CISA due date
—
The record
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 fixed in version 4.14.9.5.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-106119 LangChain is a framework for building LLM-powered applications. CWE-943
- CVE-2026-105799 LangChain is a framework for building LLM-powered applications. CWE-943
- CVE-2026-88029 Improper neutralization of special elements in data query logic in the GridFS component… CWE-943
- CVE-2026-88030 Improper neutralization of special elements in data query logic in the GridFS component… CWE-943
- CVE-2026-85167 n8n before 2.35.4 and 2.36.x before 2.36.2 contain a query injection vulnerability in the… CWE-943
- CVE-2026-63138 Improper Neutralization of Special Elements in Data Query Logic (CWE-943) in Kibana can… CWE-943
- CVE-2026-79483 FastGPT Community Edition 4.10.0 through 4.14.0 are vulnerable to a NoSQL injection in… CWE-943
- CVE-2026-78691 Improper Neutralization of Special Elements in Data Query Logic vulnerability in… CWE-943