Vulnerability · Published Jun 29, 2025 · Assigned by VulDB
CVE-2025-6853chatchat-space Langchain-Chatchat Backend upload_temp_docs path traversal
Medium 6.3
In plain English
A medium-severity path traversal in Langchain-Chatchat from chatchat-space. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 49% of all known vulnerabilities).
Official description
A vulnerability classified as critical has been found in chatchat-space Langchain-Chatchat up to 0.3.1. This affects the function upload_temp_docs of the file /knowledge_base/upload_temp_docs of the component Backend. The manipulation of the argument flag leads to path traversal. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | langchain-chatchat | no fix listed | GHSA-qmgv-j263-qr33 |
| PyPI | langchain-chatchat | no fix listed | PYSEC-2026-1513 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| chatchat-space | Langchain-Chatchat | 0.3.00.3.1 |
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
References
- VDB-314325 | chatchat-space Langchain-Chatchat Backend upload_temp_docs path traversal vdb-entry, technical-description
- VDB-314325 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- Submit #601155 | chatchat-space Langchain-Chatchat < v0.3.1 Path Traversal: '.../...//' third-party-advisory
- https://github.com/chatchat-space/Langchain-Chatchat/issues/5352 exploit, issue-tracking