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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| chatchat-space | Langchain-Chatchat | 0.3.0, 0.3.1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | langchain-chatchat | <= 0.3.1.3 | — | GHSA-qmgv-j263-qr33 |
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