CVE-2025-6854: Langchain-Chatchat vulnerable to path traversal
Affects langchain-chatchatSource GCVE Database
Public exploit available · CVSS 5.3 Medium.
Data as of 30 Oct 2026, 00:22 UTC
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/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
Until a fix is available, restrict access to the vulnerable endpoint and monitor for suspicious activity related to path traversal attempts. Apply principle of least privilege to limit exposure.
Description
Langchain-Chatchat versions up to 0.3.1 contain a path traversal vulnerability in the /v1/files?purpose=assistants endpoint. This flaw allows remote attackers with low privileges to manipulate file paths, potentially accessing unauthorized files. The vulnerability has a medium severity rating and public exploit details have been disclosed.