CVE-2026-111704
9.8 CRITICALpublic exploit availablePublished 2026-10-16 · Updated 2026-10-16
AI risk analysis
- Summary
- LangChat has a critical authentication bypass vulnerability where unauthenticated users can access protected REST controllers and read plaintext passwords, LLM API keys, and create admin accounts. This allows full system compromise without any credentials.
- Exploitability
- Very easy to exploit with no preconditions - attackers simply need to access the vulnerable endpoints to gain full administrative access and data control.
- Blast radius
- High impact in real-world scenarios as attackers can steal sensitive API keys, create persistent admin accounts, and modify/delete all system data without detection.
- Detection
- No reliable host or network indicator is derivable from the published description.
- Prioritized remediation
- Apply the fix from commit 2a6285a which registers the missing Sa-Token interceptor to secure REST controllers.
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD description
LangChat through commit 2a6285a contains a missing authentication vulnerability that allows unauthenticated remote attackers to access REST controllers because no Sa-Token interceptor is registered. Attackers can query /api/v1/auth/users to read plaintext passwords, retrieve LLM provider API keys, create super-admin accounts, and modify or delete data.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-306
Public exploit & PoC references
- https://github.com/LangChat/langchat/blob/2a6285a6b8c51d51cdc599771bb667a30bc03f5c/langchat-auth/src/main/java/cn/langchat/auth/controller/AigcUserController.java#L25-L60
- https://github.com/LangChat/langchat/blob/2a6285a6b8c51d51cdc599771bb667a30bc03f5c/langchat-auth/src/main/java/cn/langchat/auth/service/impl/AuthServiceImpl.java#L51-L58
- https://github.com/LangChat/langchat/blob/2a6285a6b8c51d51cdc599771bb667a30bc03f5c/langchat-server/src/main/java/cn/langchat/server/config/WebAsyncConfig.java#L17-L33
All references
- https://github.com/LangChat/langchat/blob/2a6285a6b8c51d51cdc599771bb667a30bc03f5c/langchat-auth/src/main/java/cn/langchat/auth/controller/AigcUserController.java#L25-L60
- https://github.com/LangChat/langchat/blob/2a6285a6b8c51d51cdc599771bb667a30bc03f5c/langchat-auth/src/main/java/cn/langchat/auth/service/impl/AuthServiceImpl.java#L51-L58
- https://github.com/LangChat/langchat/blob/2a6285a6b8c51d51cdc599771bb667a30bc03f5c/langchat-server/src/main/java/cn/langchat/server/config/WebAsyncConfig.java#L17-L33
- https://hackmd.io/@hieuPenguinnn/langchat-missing-global-auth-credential-exposure
- https://www.vulncheck.com/advisories/langchat-through-commit-2a6285a-missing-authentication-on-rest-api-controllers
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- CRITICALCVE-2026-102458
- CRITICALCVE-2026-104076
- HIGHCVE-2026-107205PoC
- CRITICALCVE-2026-111626PoC
- CRITICALCVE-2026-55183PoC
- CRITICALCVE-2026-57118PoC
- CRITICALCVE-2026-62253PoC
- CRITICALCVE-2026-63455
Related by shared AI tags and CWE weakness class. Browse the full archive.