CVE Catalog

CVE-2026-51882

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

Exploitation Probability (EPSS)

Low risk
0.15%

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

Summary

Path traversal vulnerability in the OpenAI-compatible file upload endpoint `/v1/files` in Langchain-Chatchat 0.3.0. An attacker can write files to arbitrary locations outside the `openai_files` directory using malicious filenames.

Risk Assessment

Ability to write files outside the allowed directory can lead to overwriting critical files, potentially resulting in system security compromise.

Recommendation

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

Other vulnerabilities in Langchain-Chatchat

See all
Original NVD description (English source)

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.

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