Description (CNA)
The knowledge base creation and document upload interfaces in Langchain-Chatchat 0.3.0;0.3.1 is vulnerable to path traversal. An attacker can inject path traversal sequences (such as `..\`) into the `knowledge_base_name` parameter to write knowledge base content to arbitrary locations outside the configured knowledge base root directory.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| n/a / n/a | affected n/a |
CWE
No CWE identifiers supplied.
References
- https://github.com/chatchat-space/Langchain-Chatchat/issues/5467
- https://gist.github.com/Ro1ME/30f5139a2920bf7075299a33eb1690f2
ADP enrichment
No English description supplied.