CVE-2025-6855 chatchat-space Langchain-Chatchat file path traversal
Attackers can exploit a path traversal vulnerability in the file endpoint to read arbitrary files from the server.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-6855?
CVE-2025-6855 is a medium-severity path traversal vulnerability in chatchat-space Langchain-Chatchat, published on 29 Jun 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A vulnerability, which was classified as critical, has been found in chatchat-space Langchain-Chatchat up to 0.3.1. This issue affects some unknown processing of the file /v1/file. The manipulation of the argument flag leads to path traversal. The exploit has been disclosed to the public and may be used.
Weakness: CWE-22
Which versions are affected by CVE-2025-6855?
3 open source packages ship an affected version, including langchain-chatchat. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
langchain-chatchat PyPI | All versions to 0.3.1 | None |
langchain-chatchat PyPI | All versions to 0.3.1 | None |
langchain-chatchat PyPI | All versions to 0.3.1 | None |
Products include Chatchat-Space Langchain-Chatchat.
How do I fix CVE-2025-6855?
No fix has been published for CVE-2025-6855 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2025-6855 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-6855 exists.
Other vulnerabilities in chatchat-space Langchain-Chatchat
Sources
Also known as GHSA-f823-phmg-x5fr, PYSEC-2026-1512.