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.19.8 (CRITICAL)
VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS0.63% probability of exploitation · percentile 45.3% · 2026-06-18T12:00:27Z
Published2026-04-17
Last modified2026-04-27

Underlying weaknesses· 1

CWE-943

References

  1. https://github.com/labring/FastGPT/commit/bd966d479fbe414d02679cf79f9eaaab3d100a2d
  2. https://github.com/labring/FastGPT/releases/tag/v4.14.9.5
  3. https://github.com/labring/FastGPT/security/advisories/GHSA-x8mx-2mr7-h9xg

1

TypeTargetConfidenceTier
WeaknessImproper Neutralization of Special Elements in Data Query Logiccwe-9430%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CVE
CVE-2026-40352
CVE
CVE-2026-34162
CVE
CVE-2026-42302
CVE
CVE-2026-40252
CVE
CVE-2026-44287
CVE
CVE-2026-33075
Sourced from NVD + FIRST.org EPSS. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.