Path Traversal Vulnerability in Langchain-Chatchat by chatchat-space
CVE-2025-6854
5.3MEDIUM
Key Information:
- Vendor
Chatchat-space
- Status
- Vendor
- CVE Published:
- 29 June 2025
Badges
👾 Exploit Exists🟡 Public PoC
What is CVE-2025-6854?
A path traversal vulnerability exists in Langchain-Chatchat versions up to 0.3.1, which allows an attacker to manipulate file paths through the /v1/files?purpose=assistants endpoint. This can lead to unauthorized access to file system resources. The remote accessibility of this exploit raises significant security concerns, and it has been publicly disclosed, indicating an urgent need for affected users to apply security measures.
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.