- CVSS
- CRITICAL · 9.1v3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Published
- 2026-10-01
- Weakness
- CWE-22
- Source
- nvd.nist.gov/vuln/detail/CVE-2026-51882
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
How GTK Cyber trains on this
AI security training at GTK Cyber covers the LLM and ML-pipeline vulnerability classes that vulnerabilities like CVE-2026-51882 fall into. Our hands-on courses are taught by Charles Givre and other practitioners who break and defend production AI systems.