Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed FastGPT instance
-
DeliverySend HTTP POST to login endpoint
-
ExploitInject MongoDB operator in password field
-
ExecutionBypass authentication logic
-
PersistReceive admin session token
-
ImpactAccess administrative functions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Query language parameterization
|
| Exploitation Conditions | No special conditions - remote unauthenticated exploitation against default configurations of FastGPT installations prior to version 4.14.9.5. The password-based login endpoint is enabled by default and typically exposed on standard HTTP/HTTPS ports (80/443) for legitimate user access. Exploitation succeeds against any FastGPT instance where the vulnerable authentication code path is reachable over the network. No user interaction, privileged access, or non-default configuration required. The only limiting factor is network accessibility to the login endpoint - instances behind VPNs, IP allowlists, or private networks have reduced exposure but remain vulnerable to authenticated network users or lateral movement scenarios. CVSS vector PR:N confirms zero authentication requirements. |
| Impact | Real-world risk is CRITICAL based on multiple converging signals. CVSS 9.8 accurately reflects severity: network-accessible (AV:N), low complexity (AC:L), no privileges required (PR:N), no user interaction (UI:N), and complete system compromise (C:H/I:H/A:H). The attack grants immediate root administrator access, enabling full platform takeover including AI model manipulation, data exfiltration, and service disruption. Exploitation is trivial - a single HTTP POST with crafted JSON bypasses all authentication. While not yet listed in CISA KEV (suggesting no confirmed widespread exploitation campaigns), the GitHub security advisory publicly documents the vulnerability mechanics with sufficient detail for rapid weaponization. FastGPT is an open-source platform likely deployed in enterprise AI/LLM workflows, making exposed instances high-value targets. The combination of maximum CVSS severity, public technical disclosure, trivial exploitation complexity, and administrator-level impact makes this an immediate patching priority. EPSS score unavailable but would likely exceed 60% given public details and high impact. No conflicting signals detected - all indicators align on critical severity. |
| Exploit ScenarioDerived | An unauthenticated attacker identifies a FastGPT instance exposed on the public internet through Shodan or targeted reconnaissance. They send an HTTP POST request to the password login endpoint with JSON payload containing username 'root' and password field set to {"$ne": ""} instead of a string. The backend MongoDB query evaluates the injected operator, matching any root account with a non-empty password hash, and returns successful authentication. The attacker receives a valid session token granting full administrative access to the FastGPT platform, enabling them to exfiltrate AI training data, modify chatbot behaviors, access integrated systems via stored API credentials, or deploy malicious AI agents. GitHub security advisory GHSA-x8mx-2mr7-h9xg provides sufficient technical detail for exploit development though no public POC is confirmed available. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 17, 2026
NoSQL injection in FastGPT <4.14.9.5 password authentication allows unauthenticated remote attackers to bypass login controls and access any account, including root administrator, by submitting MongoDB query operators instead of plaintext passwords. The vulnerability stems from missing runtime validation on password fields in the login endpoint. Exploitation requires no special conditions beyond network access to the login endpoint. CVSS 9.8 (Critical) with EPSS data unavailable; no CISA KEV listing or public POC identified at time of analysis, though GitHub security advisory provides technical details that could enable exploit development.
RemediationAI
Upgrade immediately to FastGPT version 4.14.9.5 or later, available at https://github.com/labring/FastGPT/releases/tag/v4.14.9.5. The fix implemented in commit bd966d479fbe414d02679cf79f9eaaab3d100a2d adds runtime validation to ensure password fields contain only string primitives before database queries execute. For organizations unable to patch immediately, implement compensating controls: restrict network access to the login endpoint (/api/auth/login or equivalent) to trusted IP ranges only via firewall rules or reverse proxy ACLs - this reduces attack surface but does not eliminate risk from insider threats or compromised trusted networks. Deploy web application firewall (WAF) rules to block HTTP requests containing MongoDB operators like '$ne', '$gt', '$regex' in JSON bodies, though sophisticated attackers may bypass signature-based detection. Monitor authentication logs for unusual patterns like multiple successful logins from single source IPs across different user accounts, or logins without corresponding password change events. These mitigations provide only partial protection; version upgrade remains the definitive remediation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
FastGPT is an open-source AI Agent building platform maintained by Labring. The vulnerability (CWE-943: Improper Neutralization of Special Elements in Data Query Logic) occurs in the password-based authentication mechanism. TypeScript's type system provides compile-time type checking but does not enforce runtime validation. The application accepts user-supplied password input as a TypeScript string type but passes it directly to MongoDB queries without sanitizing or validating the actual runtime value. MongoDB's query operators like '$ne' (not equal), '$gt' (greater than), or '$regex' can be injected as JSON objects in place of expected string values. When the password field contains {"$ne": ""}, the resulting MongoDB query becomes 'password: {$ne: ""}' which evaluates to true for any non-empty password hash in the database, completely bypassing credential verification. This is a classic NoSQL injection pattern where the database query logic itself is manipulated rather than exploiting SQL syntax vulnerabilities.
Know when Fastgpt gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
3DescriptionCVE.org
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.
Executive ViewAI
FastGPT versions below 4.14.9.5 contain a critical authentication bypass vulnerability in the login mechanism that allows unauthenticated attackers to gain unauthorized access to any user account, including root administrator, without knowing passwords. This directly compromises the confidentiality and integrity of sensitive data and system operations across all deployments, and requires immediate action regardless of patch availability.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network access to FastGPT login endpoints using firewall rules or WAF policies to trusted administrative networks only; (2) Implement real-time monitoring and alerting on login attempts containing MongoDB query operators (e.g., $ne, $gt, $regex); (3) Consider deploying a reverse proxy with input validation to reject payloads containing MongoDB operators in authentication fields; (4) Enforce multi-factor authentication at network perimeter if available; (5) Monitor administrative account activity for anomalous access patterns. These controls do not eliminate risk and should be considered temporary pending vendor patch release.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
NoSQL injection exploits databases that don't use traditional SQL syntax-like MongoDB, CouchDB, or Redis-by manipulating queries through unsanitized user input.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
FastGPT is an AI Agent building platform. Prior to version 4.9.12, the LastRoute Parameter on login page is vulnerable t
Unauthenticated HTTP proxy abuse in FastGPT (AI Agent platform) prior to v4.14.9.5 allows remote attackers to relay arbi
Remote code execution in FastGPT's agent-sandbox component (versions 4.14.10 through 4.14.12) lets any network-adjacent,
Channel hijack and denial of service in FastGPT (labring/FastGPT) before 4.15.2 lets an unauthenticated remote attacker
GitHub Actions artifact-poisoning (pwn request) in labring/FastGPT allows an external attacker who opens a pull request
Authentication bypass in FastGPT 4.15.0-beta4 lets unauthenticated remote attackers forge JWTs and access internal plugi
NoSQL injection in FastGPT versions before 4.14.9.5 allows authenticated attackers to bypass password verification on th
FastGPT versions 4.14.8.3 and below contain a critical arbitrary code execution vulnerability in the fastgpt-preview-ima
Cross-tenant file disclosure in FastGPT prior to v4.15.0-beta5 allows an attacker to read another team's stored files by
Cross-tenant data disclosure in FastGPT 4.14.17 through 4.15.0-beta5 lets a low-privileged tenant user read another tena
Server-side request forgery in FastGPT before 4.15.0-beta4 lets an authenticated team member abuse the HTTP-tool OpenAPI
Server-Side Request Forgery in Labring FastGPT prior to 4.15.0-beta1 lets an authenticated attacker bypass the platform'
EUVD-2026-23557
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB