CVE-2026-51882 Langchain-Chatchat - Path Traversal

Langchain-Chatchat 0.3.0 contains a path traversal caused by crafted malicious filenames in the /v1/files upload endpoint, letting attackers write files outside the intended directory, exploit requires no special privileges.

CVSS base score 9.1 /10
Critical
CISA KEV
Not listed
Public exploit
None known
Authentication
Not required
EPSS
0.41% chance of exploitation in 30 days
View the NVD record ↗

Details

Type
Path Traversal
Impact
File System Write, Data Tampering
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Published
1 October 2026
Updated
15 October 2026
Weakness
CWE-22

Vendor fix

Update to the latest version.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

References

← All CVEs