CVE-2026-111704 LangChat · langchat
9.8 Critical
AI summary
LangChat through commit 2a6285a lacks authentication because no Sa-Token interceptor is registered, allowing unauthenticated remote attackers to read plaintext passwords and LLM API keys, create super-admin accounts, and modify or delete data. CVSS 9.8 (critical); no fix is named.
Official 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.
- Published
- 2026-10-16 18:17 UTC
- Modified
- 2026-10-21 22:16 UTC
- CVSS
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - EPSS
- 0.97% (percentile 61)
- ENISA EUVD
- EUVD-2026-102996
- CISA SSVC
- Exploitation: poc · Automatable: yes · Technical impact: total
- CWE
- CWE-306
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Scope
- unchanged
- Confidentiality
- high
- Integrity
- high
- Availability
- high
References
- NVD · CVE.org
- github.com
https://github.com/LangChat/langchat/blob/2a6285a6b8c51d51cdc599771bb667a30bc03f5c/langchat-auth/src/main/java/cn/langchat/auth/controller/AigcUserController.java#L25-L60 - github.com
https://github.com/LangChat/langchat/blob/2a6285a6b8c51d51cdc599771bb667a30bc03f5c/langchat-auth/src/main/java/cn/langchat/auth/service/impl/AuthServiceImpl.java#L51-L58 - github.com
https://github.com/LangChat/langchat/blob/2a6285a6b8c51d51cdc599771bb667a30bc03f5c/langchat-server/src/main/java/cn/langchat/server/config/WebAsyncConfig.java#L17-L33 - hackmd.io
https://hackmd.io/@hieuPenguinnn/langchat-missing-global-auth-credential-exposure - www.vulncheck.com
https://www.vulncheck.com/advisories/langchat-through-commit-2a6285a-missing-authentication-on-rest-api-controllers