Skip to main content
VulnerabilityPublished Updated

CVE-2026-51884: langchain-chatchat · Path Traversal

Affects langchain-chatchatSource CVE Database V5

0

Not known to be exploited · CVSS 9.8 Critical.

Data as of 26 Oct 2026, 17:16 UTC

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 49% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  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), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
GitHubchatchat-space/langchain-chatchatpkg:github/chatchat-space/langchain-chatchatOther threatsAffected
  • =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 of Langchain Chatchat 0.3.1 should implement strict input validation and sanitization on filenames for the /knowledge_base/upload_temp_docs endpoint to prevent path traversal. Restricting file write permissions on the server to limit the impact of exploitation is also recommended. Monitor vendor advisories for updates or official patches.

Description

Langchain Chatchat version 0.3.1 contains a critical path traversal vulnerability in its /knowledge_base/upload_temp_docs endpoint. This flaw allows attackers to craft malicious filenames to write files outside the intended temporary directory, potentially overwriting arbitrary files on the server. The vulnerability has a CVSS score of 9.8, indicating high impact on confidentiality, integrity, and availability.

References

Community reviews

Loading reviews…