CVE-2025-6853: chatchat-space Langchain-Chatchat - Path Traversal
- Cve: CVE-2025-6853
- Name: chatchat-space Langchain-Chatchat - Path Traversal
- Description: A vulnerability classified as critical has been found in chatchat-space Langchain-Chatchat up to 0.3.1. This affects the function upload_temp_docs of the file /knowledge_base/upload_temp_docs of the component Backend. The manipulation of the argument flag leads to path traversal. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.
- Impact: Remote attackers can access arbitrary files on the system, potentially exposing sensitive data or causing denial of service.
- Remediation: Update to the latest version beyond 0.3.1.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_read, information_disclosure
- 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.006
- Epss percentile: 0.49646
- Assignee: [email protected]
- Published at: 2025-06-29T08:15:21Z
- Age in days: 513
- Modified at: 2026-06-17T10:02:41Z
- Public exploits total: 1
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-6853
- Nvd status: analyzed
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/chatchat-space/Langchain-Chatchat/issues/5352 | nvd | 2025-06-29 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/chatchat-space/Langchain-Chatchat/issues/5352 | Exploit, Issue Tracking |
| https://vuldb.com/?id.314325 | Third Party Advisory, VDB Entry |
| https://vuldb.com/?submit.601155 | Third Party Advisory, VDB Entry |
| https://vuldb.com/?ctiid.314325 | Permissions Required, VDB Entry |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| chatchat-space:langchain-chatchat | <= 0.3.1 | no | nvd | /v1/products/chatchat-space/langchain-chatchat |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| chatchat-space/Langchain-Chatchat | issues, package | yes | /v1/repositories/chatchat-space/Langchain-Chatchat |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2025-06-29
- Remote: yes
- Exposed hosts: 23
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports