HighVulnerability
CVE-2026-51882: Langchain-Chatchat path traversal in /v1/files file upload endpoint
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-51882
- Published
- Record updated
- 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.
Related items
- MediumFamiliar weaknesses, exploited faster: defending against agentic cyber attacksSimilar attack · UK NCSC
- MediumHackers Exploit N-able MailAssure Flaw While AI Agents Exploit MONAI Label Zero-DaySimilar attack · The Hacker News
- HighCVE-2026-133448: AutoGPT Claude Code CLI prompt preprocessing bypasses tool allow-listSimilar attack · NVD/CVE Database
- CriticalCVE-2026-118285: Azure Machine Learning server-side request forgery allows privilege elevationSimilar attack · NVD/CVE Database
- HighCVE-2026-130164: Hermes Agent code execution via screen environment file mergeSimilar attack · NVD/CVE Database