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).
Published: 2026-10-20
Score: 9.3 Critical
EPSS: 2.2% Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

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.

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

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.

Advisories

No advisories yet.

History

Tue, 20 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 20 Oct 2026 01:15:00 +0000

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'}


Subscriptions

Chatchat-space Langchain-chatchat
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-20T14:34:07.343Z

Reserved: 2026-08-17T18:39:57.660Z

Link: CVE-2026-75128

cve-icon Vulnrichment

Updated: 2026-10-20T14:33:59.481Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-20T01:17:19.063

Modified: 2026-10-20T20:06:37.150

Link: CVE-2026-75128

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-03T15:00:15Z

Weaknesses
  • CWE-306

    Missing Authentication for Critical Function