CVE-2026-51882
9.1 Critical
AI summary
The /v1/files upload endpoint in Langchain-Chatchat 0.3.0 is vulnerable to path traversal, letting unauthenticated remote attackers write files to arbitrary locations. Critical (CVSS 9.1).
Official 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.
- Published
- 2026-10-01 22:17 UTC
- Modified
- 2026-10-07 15:17 UTC
- CVSS
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - EPSS
- 0.64% (percentile 45)
- ENISA EUVD
- EUVD-2026-91123
- CISA SSVC
- Exploitation: poc · Automatable: yes · Technical impact: total
- CWE
- CWE-22
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Scope
- unchanged
- Confidentiality
- high
- Integrity
- high
- Availability
- none
References
- NVD · CVE.org
- gist.github.com
https://gist.github.com/Ro1ME/f80ac458836b59adb9c6ceff3993f7f3 - github.com
https://github.com/chatchat-space/Langchain-Chatchat/issues/5468