Langchain-Chatchat has a Path Traversal vulnerability
Low severity
GitHub Reviewed
Published
Jun 29, 2025
to the GitHub Advisory Database
•
Updated Sep 16, 2025
Description
Published by the National Vulnerability Database
Jun 29, 2025
Published to the GitHub Advisory Database
Jun 29, 2025
Reviewed
Sep 16, 2025
Last updated
Sep 16, 2025
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.
References