Home / labring / FastGPT / CVE-2026-40352
CVE-2026-40352: is it exploited, and which versions of labring FastGPT are affected and fixed?
CVE-2026-40352 is an improper Neutralization of Special Elements in Data Query Logic vulnerability in labring FastGPT. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: FastGPT < 4.14.9.5 (CVE record by GitHub_M). Fixed in 4.14.9.5 (NVD). Severity: High (8.8, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:12 UTC.
What is CVE-2026-40352?
FastGPT: NoSQL Injection in updatePasswordByOld Leads to Account Takeover
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.
From the CVE record by GitHub_M, last updated April 20, 2026, 13:36 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| labring | FastGPT | < 4.14.9.5 |
As the CVE record by GitHub_M states it, last updated April 20, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| fastgpt | fastgpt | before 4.14.9.5 | application |
NVD analysis (status Analyzed), last modified October 26, 2026, 21:10 UTC.
How severe is CVE-2026-40352?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-40352 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, April 20, 2026)
- EPSS
- 0.39% probability of exploitation activity in the next 30 days, percentile 34.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-943 Improper Neutralization of Special Elements in Data Query Logic
Where are the vendor advisories and references?
- https://github.com/labring/FastGPT/security/advisories/GHSA-422w-vrfj-72g6 x_refsource_CONFIRM
- https://github.com/labring/FastGPT/commit/bd966d479fbe414d02679cf79f9eaaab3d100a2d x_refsource_MISC
- https://github.com/labring/FastGPT/releases/tag/v4.14.9.5 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- April 10, 2026
- Published
- April 17, 2026, 21:09 UTC
- CVE record updated
- April 20, 2026, 13:36 UTC by GitHub_M
- NVD
- Analyzed, last modified October 26, 2026, 21:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:12 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect FastGPT?
- Sep 22, 2026CVE-2026-84301 labring FastGPT: server-side request forgery (SSRF)
- Aug 27, 2026CVE-2026-68929 labring FastGPT: missing authorization
- Jul 15, 2026CVE-2026-61643 labring FastGPT: incorrect authorization
- Jul 15, 2026CVE-2026-50562 labring FastGPT: incorrect Privilege Assignment
- Jul 15, 2026CVE-2026-61646 labring FastGPT: server-side request forgery (SSRF)
- Jul 15, 2026CVE-2026-61644 labring FastGPT: incorrect authorization
- Jul 15, 2026CVE-2026-61684 labring FastGPT: hard-coded credentials
- Jul 7, 2026CVE-2026-54602 labring FastGPT: authorization bypass through a user-controlled key (IDOR)
Questions about CVE-2026-40352
Is CVE-2026-40352 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 0.39% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of labring FastGPT are affected by CVE-2026-40352?
FastGPT < 4.14.9.5, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2026-40352?
4.14.9.5, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-40352?
High (8.8, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-40352?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.