CVE-2026-51882

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.
Configurations

No configuration.

History

07 Oct 2026, 15:17

Type Values Removed Values Added
References () https://gist.github.com/Ro1ME/f80ac458836b59adb9c6ceff3993f7f3 - () https://gist.github.com/Ro1ME/f80ac458836b59adb9c6ceff3993f7f3 -
References () https://github.com/chatchat-space/Langchain-Chatchat/issues/5468 - () https://github.com/chatchat-space/Langchain-Chatchat/issues/5468 -
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.1
CWE CWE-22

01 Oct 2026, 22:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-10-01 22:17

Updated : 2026-10-07 15:17


NVD link : CVE-2026-51882

Mitre link : CVE-2026-51882

CVE.ORG link : CVE-2026-51882


JSON object : View

Products Affected

No product.

CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')