CVE Catalog

CVE-2026-51884

Low risk· EPSS 4%
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.15%

4th percentile - higher than 4% of all known CVEs

Summary

Path traversal vulnerability in the /knowledge_base/upload_temp_docs endpoint in Langchain Chatchat 0.3.1. An attacker can write files to arbitrary locations on the server using malicious filenames, bypassing temporary directory restrictions.

Risk Assessment

Ability to write files to arbitrary locations can lead to overwriting critical system or application files, potentially resulting in server compromise.

Recommendation

Update Langchain Chatchat to a patched version. Additionally, validate filenames and restrict write paths to allowed directories.

Other vulnerabilities in Langchain Chatchat

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS