CVE-2026-40352
published high CVSS 3.1 · 8.8FastGPT: NoSQL Injection in updatePasswordByOld Leads to Account Takeover
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| labring | — | FastGPT< 4.14.9.5 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| labring | FastGPT | < 4.14.9.5 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-943 CWE-943: Improper Neutralization of Special Elements in Data Query Logic
References
3Provider assertions
2GitHub_M · cna
FastGPT: NoSQL Injection in updatePasswordByOld Leads to Account Takeover
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1132f0c1d2df6537354582bd10a1c99e20cc8bf583f5238a8116e3bd4a3e5af7
- Ingested
- 23 Sep 2026, 09:13:02 UTC
- Source record
- Official CVE record