CVE-2026-51882
9.1 CRITICALpublic exploit availablePublished 2026-10-01 · Updated 2026-10-07
AI risk analysis
- Summary
- This flaw allows an attacker to write files to arbitrary locations outside the intended directory, potentially leading to unauthorized data manipulation or system compromise.
- Exploitability
- Exploitation is relatively straightforward as attackers can craft malicious filenames to traverse paths, requiring only access to the affected endpoint.
- Blast radius
- If exploited, this vulnerability could lead to significant data loss or unauthorized access to sensitive files on the system.
- Detection
- No reliable host or network indicator is derivable from the published description.
- Prioritized remediation
- Upgrade to Langchain-Chatchat 0.3.1 or later.
path-traversalfile-writesecurity
Analysis generated locally by qwen2.5:7b-instruct (no data left the box). AI-assisted — verify against primary sources before acting.
NVD 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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weaknesses
CWE-22
Public exploit & PoC references
References
Data: NVD (public domain). Analysis: local $0 model. Defensive use only.