CVE-2026-51884: Vulnerability
Critical. 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.
CWE-22
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- Unknown
- Fix
- Unknown
- Patch deadline
- No deadline set
Details
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-22
- Published
- 1 Oct 2026
- Last change
- 5 Oct 2026
Advisories
Vendor and security advisories