Skip to content
HighVulnerability

CVE-2026-51882: Langchain-Chatchat path traversal in /v1/files file upload endpoint

Identifier
CVE-2026-51882
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.5%

Summary

CVE-2026-51882 affects the OpenAI-compatible file upload endpoint `/v1/files` in Langchain-Chatchat 0.3.0. The endpoint is vulnerable to path traversal, so an attacker can craft malicious filenames to write files to arbitrary locations outside the `openai_files` directory.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.