# CVE-2025-6854: chatchat-space Langchain-Chatchat files path traversal

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.96%, higher than 60% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-06-29T08:31:04.802Z
- Modified: 2026-07-07T17:56:17.194Z
- Also known as: GHSA-8v8h-4pjx-rg73, PYSEC-2026-1511
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability classified as problematic was found in chatchat-space Langchain-Chatchat up to 0.3.1. This vulnerability affects unknown code of the file /v1/files?purpose=assistants. The manipulation leads to path traversal. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.

(As written by CVE List.)

## Affected

- chatchat-space Langchain-Chatchat: 0.3.0; 0.3.1; up to 0.3.1
- langchain-chatchat (PyPI): up to 0.3.1

## Every score

- VulDB: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R`
- VulDB: CVSS:3.0 4.3 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R`
- VulDB: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N/E:POC/RL:ND/RC:UR`
- GitHub: CVSS:3.1 4.3 Low `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P`

## References

- <https://github.com/chatchat-space/Langchain-Chatchat/issues/5353> (exploit, issue-tracking, vendor-advisory, web)
- <https://vuldb.com/?id.314326> (third-party-advisory, vdb-entry, web)
- <https://vuldb.com/?ctiid.314326> (permissions-required, signature, vdb-entry, web)
- <https://vuldb.com/?submit.601161> (third-party-advisory, vdb-entry, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-6854> (advisory)
- <https://github.com/chatchat-space/Langchain-Chatchat> (package)
- <https://pypi.org/project/langchain-chatchat> (package)
- <https://github.com/advisories/GHSA-8v8h-4pjx-rg73> (advisory)

## Sources

- CVE List: [CVE-2025-6854](https://www.cve.org/CVERecord?id=CVE-2025-6854), CVE Terms of Use, modified 2025-06-30
- GitHub Advisory Database: [GHSA-8v8h-4pjx-rg73](https://github.com/advisories/GHSA-8v8h-4pjx-rg73), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2025-6854](https://nvd.nist.gov/vuln/detail/CVE-2025-6854), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1511](https://osv.dev/vulnerability/PYSEC-2026-1511), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2025-6854 · Whole record: https://cve.day/CVE-2025-6854.json · Rebuilt by cve.day 2026-11-25T22:59:00.357Z
