Description (CNA)
The OpenAI-compatible file upload endpoint `/v1/files` in Langchain-Chatchat 0.3.0 is vulnerable to path traversal. An attacker can write files to arbitrary locations outside the `openai_files` directory by crafting malicious filenames.
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/5468
- https://gist.github.com/Ro1ME/f80ac458836b59adb9c6ceff3993f7f3
ADP enrichment
No English description supplied.