Path Traversal Vulnerability in Langchain-Chatchat Backend by chatchat-space
CVE-2025-6853

5.3MEDIUM

Key Information:

Vendor
CVE Published:
29 June 2025

Badges

👾 Exploit Exists🟡 Public PoC

What is CVE-2025-6853?

A path traversal vulnerability has been identified in the Langchain-Chatchat Backend, specifically within the upload_temp_docs function. This issue arises when the manipulation of the argument flag allows an attacker to gain unauthorized access to restricted directories. The vulnerability is exploitable remotely, posing a serious risk if left unaddressed. It is crucial for users and administrators of affected versions to implement mitigations and apply the latest updates to secure their systems against potential exploitation.

Affected Version(s)

Langchain-Chatchat 0.3.0

Langchain-Chatchat 0.3.1

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

CVSS V4

Score:
5.3
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • 🟡

    Public PoC available

  • 👾

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2025-6853 : Path Traversal Vulnerability in Langchain-Chatchat Backend by chatchat-space