Goal Reached Thanks to every supporter โ€” we hit 100%!

Goal: 1000 CNY ยท Raised: 1359 CNY

100%

CVE-2026-40351 โ€” AI Deep Analysis Summary

CVSS 9.8 ยท Critical

Q1What is this vulnerability? (Essence + Consequences)

๐Ÿšจ **Essence**: FastGPT < 4.14.9.5 has a critical auth bypass. ๐Ÿ’ฅ **Consequences**: Attackers can inject MongoDB operators via the password login endpoint.โ€ฆ

Q2Root Cause? (CWE/Flaw)

๐Ÿ›ก๏ธ **Root Cause**: CWE-943 (Improper Neutralization of Special Elements in Data). ๐Ÿ› **Flaw**: The login endpoint uses TypeScript type assertions without runtime checks.โ€ฆ

Q3Who is affected? (Versions/Components)

๐Ÿ“ฆ **Affected**: labring FastGPT. ๐Ÿ“‰ **Versions**: All versions prior to **4.14.9.5**. ๐Ÿข **Vendor**: labring (Open Source LLM Knowledge Base System).

Q4What can hackers do? (Privileges/Data)

๐Ÿ•ต๏ธ **Hackers Can**: Bypass authentication entirely. ๐Ÿ“‚ **Access**: Full read/write access to the MongoDB database.โ€ฆ

Q5Is exploitation threshold high? (Auth/Config)

โšก **Threshold**: LOW. ๐Ÿšซ **Auth**: None required (Unauthenticated). ๐ŸŒ **Network**: Remote (AV:N). ๐ŸŽฏ **Complexity**: Low (AC:L). No user interaction needed (UI:N).

Q6Is there a public Exp? (PoC/Wild Exploitation)

๐Ÿ“œ **Public Exp?**: No specific PoC code provided in data. ๐Ÿ” **Status**: Advisory confirmed via GitHub Security Advisories (GHSA-x8mx-2mr7-h9xg). โš ๏ธ **Risk**: High likelihood of wild exploitation due to low complexity.

Q7How to self-check? (Features/Scanning)

๐Ÿ” **Check**: Scan for FastGPT instances. ๐Ÿ“Œ **Verify**: Check version number in UI or API response. ๐Ÿ› ๏ธ **Tool**: Look for the specific login endpoint behavior if fuzzing. ๐Ÿšฉ **Flag**: Any version < 4.14.9.5 is vulnerable.

Q8Is it fixed officially? (Patch/Mitigation)

โœ… **Fixed**: Yes. ๐Ÿ“ฅ **Patch**: Upgrade to **FastGPT v4.14.9.5** or later. ๐Ÿ”— **Source**: Official GitHub Release & Commit bd966d479fbe414d02679cf79f9eaaab3d100a2d.

Q9What if no patch? (Workaround)

๐Ÿšง **No Patch?**: Implement strict input validation on the login endpoint. ๐Ÿ›‘ **Mitigate**: Block direct MongoDB query operator injection patterns. ๐Ÿ“‰ **Limit**: Restrict network access to the login API if possible.โ€ฆ

Q10Is it urgent? (Priority Suggestion)

๐Ÿ”ฅ **Urgency**: CRITICAL. ๐Ÿ“ˆ **CVSS**: 9.8 (High). ๐Ÿšจ **Action**: Patch IMMEDIATELY. This is an unauthenticated remote code execution equivalent. Do not delay.