Impact
FastGPT uses type assertions instead of runtime checks on the loginByPassword endpoint. An unauthenticated attacker can submit a MongoDB query operator object as the password, which the underlying database interprets and therefore bypasses the password check. This allows login as any user, including the root administrator, giving full control over the system without credentials.
Affected Systems
The FastGPT AI Agent building platform is affected in all releases prior to v4.14.9.5. Versions v4.14.9.5 and later contain the fix.
Risk and Exploitability
The CVSS score of 9.8 classifies this as a critical severity vulnerability. The EPSS score is not available, and the issue is not listed in the CISA KEV catalog. The vulnerability is exploitable through the publicly exposed login endpoint without needing any prior authentication. An attacker can simply construct a carefully crafted request to inject the query operator and obtain privileged access.
OpenCVE Enrichment