CVE-2025-6853
LOW 2.1CVSS 4.0Langchain-Chatchat has a Path Traversal vulnerability
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.
- Published
- 29 Jun 2025
- Last modified
- 7 Jul 2026
- Assigned by
- cna@vuldb.com
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-qmgv-j263-qr33PYSEC-2026-1513
- Sources
- NVDJSONOSV GHSA-qmgv-j263-qr33JSONOSV PYSEC-2026-1513JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cna@vuldb.com (Secondary) | CVSS 4.0 | LOW 2.1 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P | |
| OSV | PyPA | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | cna@vuldb.com (Secondary) | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| OSV | PyPA | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| NVD | cna@vuldb.com (Secondary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | chatchat-space | langchain-chatchatcpe:2.3:a:chatchat-space:langchain-chatchat:*:*:*:*:*:*:*:* |
<= 0.3.1 | |
| OSV | PyPI | langchain-chatchat | <= 0.3.1.3 |
References
- https://github.com/chatchat-space/Langchain-Chatchat/issues/5352 · Exploit, Issue Tracking, WEB
- https://vuldb.com/?ctiid.314325 · Permissions Required, VDB Entry, WEB
- https://vuldb.com/?id.314325 · Third Party Advisory, VDB Entry, WEB
- https://vuldb.com/?submit.601155 · Third Party Advisory, VDB Entry, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-6853 · ADVISORY
- https://github.com/chatchat-space/Langchain-Chatchat · PACKAGE
- https://pypi.org/project/langchain-chatchat · PACKAGE
- https://github.com/advisories/GHSA-qmgv-j263-qr33 · ADVISORY
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 29 Jun 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2025)