---
id: CVE-2026-111704
title: LangChat through commit 2a6285a Missing Authentication on REST API Controllers
summary: >-
  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…
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-306
vendor: LangChat
product: langchat
affected:
  - langchat <= 2a6285a6b8c51d51cdc599771bb667a30bc03f5c
published: '2026-10-16'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T17:39:56.489Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-111704'
references:
  - url: >-
      https://hackmd.io/@hieuPenguinnn/langchat-missing-global-auth-credential-exposure
  - url: >-
      https://github.com/LangChat/langchat/blob/2a6285a6b8c51d51cdc599771bb667a30bc03f5c/langchat-server/src/main/java/cn/langchat/server/config/WebAsyncConfig.java#L17-L33
  - url: >-
      https://github.com/LangChat/langchat/blob/2a6285a6b8c51d51cdc599771bb667a30bc03f5c/langchat-auth/src/main/java/cn/langchat/auth/controller/AigcUserController.java#L25-L60
  - url: >-
      https://github.com/LangChat/langchat/blob/2a6285a6b8c51d51cdc599771bb667a30bc03f5c/langchat-auth/src/main/java/cn/langchat/auth/service/impl/AuthServiceImpl.java#L51-L58
  - url: >-
      https://www.vulncheck.com/advisories/langchat-through-commit-2a6285a-missing-authentication-on-rest-api-controllers
    label: >-
      VulnCheck Advisory: LangChat through commit 2a6285a Missing Authentication
      on REST API Controllers
tags:
  - cve.org
ingestedAt: '2026-10-16T18:43:08.652Z'
---

## Overview

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.

## Affected

- `langchat <= 2a6285a6b8c51d51cdc599771bb667a30bc03f5c`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
