CVEvulnerability
CVE-2026-51882
9.1 CRITICAL
Official page ↗
- Status
- Deferred
- Published
- 2026-10-01
- Last modified
- 2026-10-07
- Assigner
- [email protected]
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 9.1 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Weaknesses
- CWE-22
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.
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://gist.github.com/Ro1ME/f80ac458836b59adb9c6ceff3993f7f3 gist.github.com
- https://github.com/chatchat-space/Langchain-Chatchat/issues/5468 github.com
- https://gist.github.com/Ro1ME/f80ac458836b59adb9c6ceff3993f7f3 gist.github.com
- https://github.com/chatchat-space/Langchain-Chatchat/issues/5468 github.com