Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-40351: FastGPT is an AI Agent building platform

60
This week
CRITICAL 9.8REMOTEUPGRADE

CVE-2026-40351 is a critical-severity flaw (CVSS 9.8) affecting fastgpt. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • Critical severity
  • Public exploit reference
  • CISA SSVC: automatable with total technical impact
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score9.8 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance0.6% (top 50%)
CISA exploited listNo
WeaknessCWE-943
Published2026-04-17
Last modified2026-10-26
Publisher (CNA): GitHub, Inc. · Vendor: fastgpt

Share: LinkedIn · X · Reddit

Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

fastgpt fastgpt UPGRADE
Affected: < 4.14.9.5
Fixed in: 4.14.9.5
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy fastgpt || rpm -q fastgpt || fastgpt --version
2. UPGRADE to 4.14.9.5 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade fastgpt
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade fastgpt
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.

Exact fixes by distribution

Fedora ELN · openbao · FIXED · 2.6.5-1.eln159 · FEDORA-2026-77adf886ae · source
sudo dnf upgrade --advisory=FEDORA-2026-77adf886ae
Fedora 46 · sugar-turtleart · FIXED · 220-16.fc46 · FEDORA-2026-b79483c788 · source
sudo dnf upgrade --advisory=FEDORA-2026-b79483c788

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-40351?

fastgpt: upgrade to 4.14.9.5. Exact commands for each OS are on this page.

Is CVE-2026-40351 being exploited?

CVE-2026-40351 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-40351 affect?

CVE-2026-40351 affects fastgpt. Severity is critical (CVSS 9.8). 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 obje

How urgent is CVE-2026-40351?

Priority 60/100. Critical severity; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action

Software pages

MongoDB vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.