CVE-2025-6853
Chatchat-space Langchain-chatchat 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.
Affected products
Langchain-chatchat. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Chatchat-space Langchain-chatchat runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- vuldb.com/?id.314325 · Third Party Advisory
- vuldb.com/?submit.601155 · Third Party Advisory
- github.com/chatchat-space/Langchain-Chatchat/issues/5352 · Exploit
- vuldb.com/?ctiid.314325
- nvd.nist.gov/vuln/detail/CVE-2025-6853
- github.com/advisories/GHSA-qmgv-j263-qr33
- nvd.nist.gov/vuln/detail/CVE-2025-6853
- cve.org/CVERecord?id=CVE-2025-6853
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.