{"id":"CVE-2026-111704","revision":"a3edb778c6f34ff59782c14f1d9345f1","records":[{"revision":"a3edb778c6f34ff59782c14f1d9345f1","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-111704","aliases":[],"title":"LangChat through commit 2a6285a Missing Authentication on REST API Controllers","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.","state":0,"publishedAt":"2026-10-16T17:39:56.489+00:00","modifiedAt":"2026-10-21T21:18:21.966+00:00","affected":[{"ecosystem":"Vendor product","name":"langchat","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"LangChat\",\n                    \"product\": \"langchat\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"lessThanOrEqual\": \"2a6285a6b8c51d51cdc599771bb667a30bc03f5c\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ],\n                    \"packageURL\": \"pkg:github/LangChat/langchat\",\n                    \"repo\": \"https://github.com/LangChat/langchat\"\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":9.3,"severity":"CRITICAL"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"severity":"CRITICAL"}],"references":["https://hackmd.io/@hieuPenguinnn/langchat-missing-global-auth-credential-exposure","https://github.com/LangChat/langchat/blob/2a6285a6b8c51d51cdc599771bb667a30bc03f5c/langchat-server/src/main/java/cn/langchat/server/config/WebAsyncConfig.java#L17-L33","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://www.vulncheck.com/advisories/langchat-through-commit-2a6285a-missing-authentication-on-rest-api-controllers"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-111704","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-111704","identifiers":["CVE-2026-111704"]},"retained":false,"historicalAffected":[]}],"coverage":[]}