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.
This vulnerability is uniquely identified as CVE-2025-6853. It is possible to initiate the attack remotely. Furthermore, there is an exploit available.