HighVulnerability
CVE-2026-51884: Langchain Chatchat path traversal in /knowledge_base/upload_temp_docs
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-51884
- Published
- Record updated
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.6%
Summary
CVE-2026-51884 affects the /knowledge_base/upload_temp_docs temporary document upload endpoint in Langchain Chatchat 0.3.1. The endpoint is vulnerable to path traversal, and crafted malicious filenames let an attacker write files to arbitrary locations on the server, bypassing the intended restrictions on the temporary 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