Langchain-Chatchat unauthenticated code execution in shell tool API
chatchat-space Langchain-Chatchat
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| chatchat-space Langchain-Chatchat |
| No fix yet |
Original 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).
From the CVE record · VulnCheck