CVE-2026-51884: Langchain Chatchat - Path Traversal
- Cve: CVE-2026-51884
- Name: Langchain Chatchat - Path Traversal
- 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.
- Impact: Attackers can write files to arbitrary locations on the server, potentially leading to code execution or system compromise.
- Remediation: Update to the latest version.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_write
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00621
- Epss percentile: 0.50512
- Assignee: [email protected]
- Published at: 2026-10-01T22:17:03Z
- Age in days: 54
- Modified at: 2026-10-05T19:17:21Z
- References total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-51884
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
References
| Url | Source | Tags |
|---|---|---|
| https://gist.github.com/Ro1ME/da028c9ce13dd888e265b9bef01d6eca | nvd | |
| https://github.com/chatchat-space/Langchain-Chatchat/issues/5466 | nvd |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| chatchat-space/Langchain-Chatchat | issues | yes | /v1/repositories/chatchat-space/Langchain-Chatchat |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts