Labring FastGPT
FastGPT: NoSQL Injection in loginByPassword leads to Authentication Bypass
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.8critical · scored by CNA · CWE-943
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
labring FastGPT
- < 4.14.9.5
Fixed in 4.14.9.5
Mitigation
Upgrade FastGPT to 4.14.9.5 or later.
References
- Vendor advisory github.com/labring/FastGPT/security/advisories…
- Patch github.com/labring/FastGPT/commit/bd966d479fbe…
- Release notes github.com/labring/FastGPT/releases/tag/v4.14.…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.