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.
References6
- github.com/LangChat/langchat/blob/2a6285a6b8c51d51cdc599771bb66…
- github.com/LangChat/langchat/blob/2a6285a6b8c51d51cdc599771bb66…
- github.com/LangChat/langchat/blob/2a6285a6b8c51d51cdc599771bb66…
- hackmd.io/@hieuPenguinnn/langchat-missing-global-auth-credentia…
- www.vulncheck.com/advisories/langchat-through-commit-2a6285a-mi…
- hackmd.io/@hieuPenguinnn/langchat-missing-global-auth-credentia…
Metrics
- CVSS 3.1
-
9.8
CRITICAL
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 4.0
-
9.3
CRITICAL
Score source: CNA
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - EPSS — exploit probability
- 1% percentile: 52 · as of 10 November 2026
- CWE
- CWE-306
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.