CVE-2026-51882

Published Oct 1, 2026 CVSS 3.1 · 9.1 Critical EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title Path Traversal in Langchain-Chatchat File Upload Endpoint
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Chatchat-space
Chatchat-space langchain-chatchat
Vendors & Products Chatchat-space
Chatchat-space langchain-chatchat
Type Values Removed Values Added
Title Path Traversal in Langchain-Chatchat File Upload Endpoint
Weaknesses CWE-22
Type Values Removed Values Added
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.
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Oct 7, 2026, 2:52 PM
Reserved
Jun 8, 2026, 12:00 AM
Status
Deferred
Published
Oct 1, 2026, 10:17 PM
Modified
Oct 7, 2026, 3:17 PM