CVE-2026-51883
9.1 Critical
AI summary
Knowledge base creation and upload interfaces in Langchain-Chatchat 0.3.0 and 0.3.1 allow path traversal via knowledge_base_name, letting remote attackers write outside the knowledge base root. Critical (CVSS 9.1).
Official description
The knowledge base creation and document upload interfaces in Langchain-Chatchat 0.3.0;0.3.1 is vulnerable to path traversal. An attacker can inject path traversal sequences (such as `..\`) into the `knowledge_base_name` parameter to write knowledge base content to arbitrary locations outside the configured knowledge base root directory.
- Published
- 2026-10-01 22:17 UTC
- Modified
- 2026-10-05 19:17 UTC
- CVSS
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - EPSS
- 0.54% (percentile 39)
- ENISA EUVD
- EUVD-2026-91122
- 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
- none
References
- NVD · CVE.org
- gist.github.com
https://gist.github.com/Ro1ME/30f5139a2920bf7075299a33eb1690f2 - github.com
https://github.com/chatchat-space/Langchain-Chatchat/issues/5467