VDB
Sign up
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: 0

No fixed version published yet for langchain-chatchat (pip). Pin to a known-safe version or switch to an alternative.

References