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

Goal: 1000 CNY Β· Raised: 1000 CNY

100.0%

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.