Skip to main content
VulnerabilityPublished Updated

CVE-2025-6855: Langchain-Chatchat vulnerable to path traversal

Affects langchain-chatchatSource GCVE Database

0
Compare
Authoritative record:CVE-2025-6855· Medium 5.1

Public exploit available · CVSS 5.1 Medium.

Data as of 30 Oct 2026, 00:22 UTC

CVSS 4.0 base score
5.1Medium
How severe the flaw is on the 0–10 CVSS scale.
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:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 29 Jun 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    CVSS exploit maturity: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
PyPIlangchain-chatchatAffected
  • <=0.3.1
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.

References

Community reviews

Loading reviews…