Summary
CVE-2026-75128 is a critical missing-authentication vulnerability (CWE-306) in Langchain-Chatchat through version 0.3.1.3. An unauthenticated remote attacker can use the exposed tool-invocation API to run arbitrary operating system commands on the server. The CVSS v4.0 score is 9.3 (Critical). The CVE record also lists a CVSS v3.1 score of 9.8.
Technical details
- Root cause: The
POST /tools/callAPI endpoint invokes any registered tool by name without requiring authentication. The shell tool is always registered, so it can be called through this endpoint. - Trigger conditions: The attacker needs network access to the Langchain-Chatchat API server. No privileges or user interaction are required.
- Attack vector: A single unauthenticated HTTP request to
/tools/callthat names the shell tool. - Impact: Arbitrary OS command execution as the server user, which means full compromise of confidentiality, integrity and availability of the host. Public reporting states the user is root in the shipped Docker image.
Affected software
- Langchain-Chatchat (PyPI package
langchain-chatchat) versions through 0.3.1.3, meaning 0.3.1.3 and earlier.
Severity
- CVSS v4.0: 9.3 (Critical),
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 - CVSS v3.1: 9.8 (Critical),
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: The CVE record names no fixed version. Check the project’s releases for a version newer than 0.3.1.3 and upgrade once one is available.
- Workarounds:
- Do not expose the Langchain-Chatchat API server to untrusted networks.
- Put authentication in front of the API, for example with a reverse proxy or network ACLs.
- Block or disable the
/tools/callendpoint. - Avoid running the service as root.
- Review exposed instances for signs of unexpected command execution.

