CVE Catalog

CVE-2026-51883

CriticalCVSS 9.1
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 knowledge base creation and document upload interfaces in Langchain-Chatchat 0.3.0 and 0.3.1. An attacker can inject path traversal sequences (such as `..\`) into the `knowledge_base_name` parameter to write knowledge base content outside the configured root directory.

Risk Assessment

Ability to write outside the allowed directory can lead to overwriting system or application files, potentially resulting in system integrity compromise or takeover.

Recommendation

Update Langchain-Chatchat to a patched version. Additionally, validate the `knowledge_base_name` parameter and use safe paths.

Other vulnerabilities in Langchain-Chatchat

See all
Original NVD description (English source)

The knowledge base creation and document upload interfaces in Langchain-Chatchat 0.3.0;0.3.1 is vulnerable to path traversal. An attacker can inject path traversal sequences (such as `..\`) into the `knowledge_base_name` parameter to write knowledge base content to arbitrary locations outside the configured knowledge base root directory.

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