CVE-2026-51882
JSON

9.1critical

The OpenAI-compatible file upload endpoint /v1/files in Langchain-Chatchat 0.3.0 is vulnerable to path traversal.

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

Description

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.

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-51882 changed 2026-10-07CVE Terms of Use
NVDCVE-2026-51882 changed 2026-10-07Public domain