Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed LangChat HTTP API
-
DeliverySend unauthenticated request to /api/v1/auth/users
-
ExploitRead plaintext passwords and LLM API keys
-
ExecutionCreate super-admin account via open controller
-
ImpactModify or delete application data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication required for critical functions
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | No special conditions beyond network reachability - the flaw stems from a missing global Sa-Token interceptor, so all REST controllers of a default LangChat deployment (through commit 2a6285a) are exposed to unauthenticated remote attackers with no user interaction. Exploitation requires only HTTP/HTTPS access to the langchat-server API (e.g. the /api/v1/auth/users endpoint); the only real limiting factor is network exposure of the instance (internet-facing versus internal/firewalled) and running a version at or before the vulnerable commit. No authentication, specific feature toggle, or non-default configuration is needed. |
| Impact | All available signals point to genuine high priority. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes a network-reachable, low-complexity flaw requiring no authentication or user interaction, and the description confirms this: because no Sa-Token interceptor is registered, REST controllers are globally exposed. The high-high-high impact rating (VC:H/VI:H/VA:H) is substantiated by concrete described consequences - reading plaintext passwords and LLM provider API keys (confidentiality), creating super-admin accounts (integrity), and modifying or deleting data (availability/integrity). No EPSS score, CISA KEV entry, or dedicated POC flag was supplied in the input, so exploitation-probability and active-exploitation signals are UNKNOWN rather than low; absence of these is not evidence of low risk. SSVC-style reasoning: exploitation is effectively automatable (a single unauthenticated GET to /api/v1/auth/users) and technical impact is total, which would drive an 'Act'/'Attend' decision despite the lack of EPSS/KEV data. The main mitigating factor is deployment footprint rather than exploitability - LangChat is a niche open-source product, so this is likely targeted/opportunistic against exposed instances rather than mass-exploited. The CVSS network vector is consistent with the description (no conflict to flag). |
| Exploit ScenarioDerived | An attacker who can reach a LangChat instance's HTTP API sends an unauthenticated request to /api/v1/auth/users and immediately receives user records including plaintext passwords and stored LLM provider API keys. Using the same unprotected controllers, they create a super-admin account and then modify or delete application data at will. A detailed technical write-up on HackMD and a VulnCheck advisory document the exact vulnerable code paths, making reliable exploitation straightforward even though no packaged exploit tool is flagged in the input. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 16, 2026
Missing authentication in LangChat lets unauthenticated remote attackers reach the application's REST controllers, because a default deployment up to commit 2a6285a never registers a Sa-Token interceptor. Calling endpoints such as /api/v1/auth/users returns user records containing plaintext passwords, and the same absent authorization check lets an attacker read LLM provider API keys, create super-admin accounts, and modify or delete stored data. The independent assessment scores this 9.8 under CVSS 3.1 (AV:N/AC:L/PR:N/UI:N/C:H/I:H/A:H) with no special conditions beyond network reachability; the technical detail is publicly documented, but no public exploit identified at time of analysis and no confirmed actively exploited (CISA KEV) status.
RemediationAI
No vendor-released patch identified at time of analysis; the supplied references point to the vulnerable source commit rather than a fix commit, so remediation depends on an upstream fix when published or on operator-side mitigation. The most direct fix is a code change that registers a global Sa-Token interceptor (for example a SaInterceptor or SaRouter rule enforcing login and role checks across /api/v1/** in the web configuration, building on the MVC setup in WebAsyncConfig), followed by redeployment; the trade-off is that it will block any client currently relying on the unauthenticated endpoints, so legitimate front-end and integration flows must be tested first. Where code changes are not possible, block /api/v1/auth/users and the remaining langchat-server API at the network edge, restricting access to trusted client networks, a VPN, or an internal reverse proxy and exposing only the intended UI paths; this preserves the vulnerable build but breaks API access for clients on other networks. Because /api/v1/auth/users exposes plaintext passwords and LLM provider API keys, any instance that was internet-reachable should be treated as compromised: rotate all LangChat user passwords, invalidate sessions, rotate every LLM provider API key, and audit for and remove super-admin accounts, modified records, or deleted data created through this flaw. Consult the VulnCheck advisory at https://www.vulncheck.com/advisories/langchat-through-commit-2a6285a-missing-authentication-on-rest-api-controllers and the technical write-up at https://hackmd.io/@hieuPenguinnn/langchat-missing-global-auth-credential-exposure for the affected code paths while planning the fix.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
LangChat is a Java/Spring Boot LLM chat platform organized into modules including langchat-server (the REST API layer) and langchat-auth (authentication and user management), and it relies on the Sa-Token framework for Java session and permission enforcement. The root cause is CWE-306, Missing Authentication for Critical Function: no global Sa-Token interceptor (SaInterceptor / SaRouter registration) is wired into the web configuration, so Spring maps controllers such as AigcUserController and the rest of the API without any authentication filter in front of them. The referenced WebAsyncConfig.java (lines 17-33) only configures MVC/async handling, and the credential handling in AuthServiceImpl.java (lines 51-58) is invoked directly rather than being gated by an interceptor, meaning any request that reaches the API is processed as trusted. Impact is amplified because user passwords are stored and returned in plaintext and because LLM provider API keys are reachable through the same unauthenticated surface. The CPE entry cpe:2.3:a:langchat:langchat:*:*:*:*:*:*:*:* treats all versions as affected, with the vulnerable snapshot identified as commit 2a6285a6b8c51d51cdc599771bb667a30bc03f5c, and the only practical precondition is that the instance is network-reachable (internet-facing versus internal/firewalled).
Know when Langchat gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Missing global auth interceptor exposes all controllers over the network with no privileges or interaction (AV:N/AC:L/PR:N/UI:N); credential/key disclosure plus data modification/deletion gives C:H/I:H/A:H, scope unchanged.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Executive ViewAI
LangChat deployments up to commit 2a6285a expose their REST API without any authentication check, meaning anyone who can reach the service over the network can retrieve user records with plaintext passwords, read stored LLM provider API keys, mint super-admin accounts, and alter or destroy stored data. Because no vendor patch has been released, every internet-exposed or broadly reachable instance represents an open door to customer credentials, third-party AI vendor accounts, and the integrity of the application's data. Leadership should treat this as an organizational exposure issue rather than a single-system bug: compromised credentials and AI provider keys propagate into downstream systems and billing relationships, and unauthorized admin creation can persist well beyond remediation of the original instance.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict network reachability to trusted source addresses only (security groups, firewall rules, or an allowlisting reverse proxy), place an authenticating gateway or identity-aware proxy in front of all /api/v1/ endpoints, take internet-facing instances offline until access controls are in place, rotate all LLM provider API keys and reset all user passwords, and audit for unauthorized super-admin accounts and data modification.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
EUVD-2026-102996
GHSA-hgqj-chvw-c4p5
NVD
CVE.org
EPSS
Exploit-DB