ADVISORIES

PyPA Advisory Database

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.

Affected packages

EcosystemPackageAffected versions
PyPIlangchain-chatchat
All versions up to and including 0.3.1.3

References