MEDIUM6.3
PYSEC-2026-1513
Langchain-Chatchat has a Path Traversal vulnerability
Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/langchain-chatchat
Introduced in:
0No fixed version published yet for langchain-chatchat (pip). Pin to a known-safe version or switch to an alternative.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-6853[ADVISORY]
- https://github.com/chatchat-space/Langchain-Chatchat/issues/5352[WEB]
- https://github.com/chatchat-space/Langchain-Chatchat[PACKAGE]
- https://vuldb.com/?ctiid.314325[WEB]
- https://vuldb.com/?id.314325[WEB]
- https://vuldb.com/?submit.601155[WEB]
- https://pypi.org/project/langchain-chatchat[PACKAGE]
- https://github.com/advisories/GHSA-qmgv-j263-qr33[ADVISORY]