CVE-2026-75128

Langchain-Chatchat through 0.3.1.3 Unauthenticated RCE via /tools/call Endpoint

Published Oct 20, 2026 CVSS 4.0 · 9.3 Critical EPSS 3.3% KEV · Not listed
Description
Langchain-Chatchat through 0.3.1.3 exposes a POST /tools/call API endpoint that invokes any registered tool by name without authentication, leaving the always-registered shell tool callable. Remote attackers can send a single request naming the shell tool to execute arbitrary OS commands as the server user (root in the shipped Docker image).

Analysis

AI-generated

Technical impact

Langchain-Chatchat versions up to 0.3.1.3 expose a POST /tools/call API that allows any registered tool to be invoked without authentication, leaving the always‑registered shell tool accessible to anyone who can reach the endpoint. An attacker can send a single request naming the shell tool to execute arbitrary OS commands with the privileges of the server process, which in the supplied Docker image are root. This results in full control of the host system.

Affected Systems

The vulnerability affects the Langchain-Chatchat application developed by chatchat-space. All releases through version 0.3.1.3 contain the issue; the problem originates from the tool‑routing logic that does not enforce authentication before allowing tool invocation.

Risk and Exploitability

The flaw carries a CVSS score of 9.3, indicating critical severity, and has no mitigations beyond the lack of authentication. The exploit requires only a simple unauthenticated HTTP POST and can be performed from the internet if the server is reachable. The EPSS score is 2%, indicating a low but nonzero exploitation probability. It is not listed in the CISA KEV catalog, but the impact and ease of exploitation make it a high‑priority target for attackers.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Langchain‑Chatchat to a release that secures the /tools/call endpoint or removes the shell tool from the registry.
  • Implement network or application‑layer access controls to restrict the /tools/call endpoint to trusted hosts or require authentication.
  • If an update is not yet available, disable the shell tool or delete it from the tool list so it cannot be invoked.

Generated by OpenCVE AI on November 3, 2026 at 14:54 UTC.

Tracking

Sign in to view the affected projects.

Exploits

Explore public exploit intelligence with OpenCVE Pro.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Langchain-Chatchat through 0.3.1.3 exposes a POST /tools/call API endpoint that invokes any registered tool by name without authentication, leaving the always-registered shell tool callable. Remote attackers can send a single request naming the shell tool to execute arbitrary OS commands as the server user (root in the shipped Docker image).
Title Langchain-Chatchat through 0.3.1.3 Unauthenticated RCE via /tools/call Endpoint
First Time appeared Chatchat-space
Chatchat-space langchain-chatchat
Weaknesses CWE-306
CPEs cpe:2.3:a:chatchat-space:langchain-chatchat:*:*:*:*:*:*:*:*
Vendors & Products Chatchat-space
Chatchat-space langchain-chatchat
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.3, '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'}

Weaknesses
  • CWE-306

    Missing Authentication for Critical Function

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 20, 2026, 2:34 PM
Reserved
Aug 17, 2026, 6:39 PM
Status
Awaiting Analysis
Published
Oct 20, 2026, 1:17 AM
Modified
Oct 20, 2026, 8:06 PM