CVE-2026-40351CRITICAL 9.8EPSS p45.3%
CVE-2026-40351CVE-2026-40351
Description
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.
Scoring
| CVSS 3.1 | 9.8 (CRITICAL) |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| EPSS | 0.63% probability of exploitation · percentile 45.3% · 2026-06-18T12:00:27Z |
| Published | 2026-04-17 |
| Last modified | 2026-04-27 |
Underlying weaknesses· 1
References
1
| Type | Target | Confidence | Tier |
|---|---|---|---|
| Weakness | Improper Neutralization of Special Elements in Data Query Logiccwe-943 | 0% | live |
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.