CVE-2026-51884

The /knowledge_base/upload_temp_docs temporary document upload endpoint in Langchain Chatchat 0.3.1 is vulnerable to path traversal. By crafting malicious filenames, an attacker can write files to arbitrary locations on the server, bypassing the intended restrictions on the temporary directory.
Configurations

No configuration.

History

05 Oct 2026, 19:17

Type Values Removed Values Added
CWE CWE-22
References () https://github.com/chatchat-space/Langchain-Chatchat/issues/5466 - () https://github.com/chatchat-space/Langchain-Chatchat/issues/5466 -
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8

01 Oct 2026, 22:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-10-01 22:17

Updated : 2026-10-05 19:17


NVD link : CVE-2026-51884

Mitre link : CVE-2026-51884

CVE.ORG link : CVE-2026-51884


JSON object : View

Products Affected

No product.

CWE
CWE-22

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