{"id":"CVE-2026-111704","summary":"LangChat through commit 2a6285a Missing Authentication on REST API Controllers","details":"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.","modified":"2026-10-17T02:48:37.060872601Z","published":"2026-10-16T17:39:56.489Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111704.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-306"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111704.json"},{"type":"PACKAGE","url":"https://github.com/LangChat/langchat"},{"type":"ARTICLE","url":"https://github.com/LangChat/langchat/blob/2a6285a6b8c51d51cdc599771bb667a30bc03f5c/langchat-auth/src/main/java/cn/langchat/auth/controller/AigcUserController.java#L25-L60"},{"type":"ARTICLE","url":"https://github.com/LangChat/langchat/blob/2a6285a6b8c51d51cdc599771bb667a30bc03f5c/langchat-auth/src/main/java/cn/langchat/auth/service/impl/AuthServiceImpl.java#L51-L58"},{"type":"ARTICLE","url":"https://github.com/LangChat/langchat/blob/2a6285a6b8c51d51cdc599771bb667a30bc03f5c/langchat-server/src/main/java/cn/langchat/server/config/WebAsyncConfig.java#L17-L33"},{"type":"ADVISORY","url":"https://hackmd.io/@hieuPenguinnn/langchat-missing-global-auth-credential-exposure"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111704"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/langchat-through-commit-2a6285a-missing-authentication-on-rest-api-controllers"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/LangChat/langchat","events":[{"introduced":"0"},{"last_affected":"2a6285a6b8c51d51cdc599771bb667a30bc03f5c"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-111704.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}