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.
Project Subscriptions
No data.
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Thu, 01 Oct 2026 23:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Path Traversal in Langchain-Chatchat File Upload Endpoint | |
| Weaknesses | CWE-22 |
Thu, 01 Oct 2026 21:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| References |
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2026-10-01T21:35:13.181Z
Reserved: 2026-06-08T00:00:00.000Z
Link: CVE-2026-51882
No data.
Status : Received
Published: 2026-10-01T22:17:03.003
Modified: 2026-10-01T22:17:03.003
Link: CVE-2026-51882
No data.
OpenCVE Enrichment
Updated: 2026-10-01T23:30:14Z
Weaknesses