CVE-2026-51884
9.8 Critical
AI summary
The /knowledge_base/upload_temp_docs endpoint in Langchain Chatchat 0.3.1 is vulnerable to path traversal, letting unauthenticated remote attackers write files anywhere on the server. Critical (CVSS 9.8).
Official description
The /knowledge_base/upload_temp_docs temporary document upload endpoint in Langchain Chatchat 0.3.1 is vulnerable to path traversal. By crafting malicious filenames, an attacker can write files to arbitrary locations on the server, bypassing the intended restrictions on the temporary directory.
- Published
- 2026-10-01 22:17 UTC
- Modified
- 2026-10-05 19:17 UTC
- CVSS
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - EPSS
- 0.81% (percentile 54)
- ENISA EUVD
- EUVD-2026-91121
- CISA SSVC
- Exploitation: poc · Automatable: yes · Technical impact: total
- CWE
- CWE-22
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Scope
- unchanged
- Confidentiality
- high
- Integrity
- high
- Availability
- high
References
- NVD · CVE.org
- gist.github.com
https://gist.github.com/Ro1ME/da028c9ce13dd888e265b9bef01d6eca - github.com
https://github.com/chatchat-space/Langchain-Chatchat/issues/5466