CVE-2026-40351
CRITICALDescription
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.
How to fix
TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Exploit Intelligence
Moderate risk: more likely to be exploited than 46% of all known CVEs.
References
Related Vulnerabilities
Other CWE-943 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2017-12904 | High | 8.8 | 6.4% | - | Fix |
| CVE-2020-36195 | Critical | 9.8 | 1.8% | - | Fix |
| CVE-2018-7829 | High | 8.8 | 1.7% | - | Fix |
| CVE-2021-1349 | Medium | 6.5 | 1.4% | - | Fix |
| CVE-2018-19952 | High | 7.5 | 1.3% | - | Fix |
| CVE-2022-36084 | Critical | 9.9 | 1.2% | - | Fix |
Embed a live status badge for CVE-2026-40351
Markdown
[](https://tridentstack.com/cve/CVE-2026-40351)HTML
<a href="https://tridentstack.com/cve/CVE-2026-40351"><img src="https://tridentstack.com/cve/badge/CVE-2026-40351.svg" alt="CVE-2026-40351"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-04-27.