CVE-2025-6855: Langchain-Chatchat vulnerable to path traversal
Affects langchain-chatchatSource GCVE Database
Public exploit available · CVSS 5.1 Medium.
Data as of 30 Oct 2026, 00:22 UTC
CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:PExploitation evidence
Disclosed: evidence found.
CVE published 29 Jun 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
CVSS exploit maturity: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIlangchain-chatchat | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Users should monitor vendor advisories for updates addressing this vulnerability. Until a fix is available, restrict access to the /v1/file endpoint and validate or sanitize input parameters to prevent path traversal. Implementing strict access controls and input validation can reduce risk.
Description
Langchain-Chatchat versions up to 0.3.1 contain a critical path traversal vulnerability in the /v1/file endpoint. This flaw arises from improper handling of the 'flag' argument, allowing attackers to manipulate file paths. The vulnerability has been publicly disclosed and may be exploited. The CVSS score rates this as medium severity with impacts on confidentiality, integrity, and availability.