CVE-2026-51884
JSON

9.8critical

The /knowledgebase/uploadtempdocs temporary document upload endpoint in Langchain Chatchat 0.3.1 is vulnerable to path traversal.

Severity
9.8critical CVSS:3.1 by CISA-ADP
Exploit likelihood
0.62% (higher than 51% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

Description

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List

Classification

CWE-22

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-51884 changed 2026-10-05CVE Terms of Use
NVDCVE-2026-51884 changed 2026-10-05Public domain