PT-2025-27355 · Unknown · Langchain-Chatchat

Published

2025-06-29

·

Updated

2025-06-29

·

CVE-2025-6854

CVSS v3.1

4.3

Medium

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Name of the Vulnerable Software and Affected Versions: Langchain-Chatchat versions up to 0.3.1
Description: A problematic vulnerability was found in Langchain-Chatchat, affecting unknown code of the file "/v1/files?purpose=assistants". This issue leads to path traversal and can be initiated remotely. The exploit has been disclosed to the public.
Recommendations: For versions up to 0.3.1, consider restricting access to the /v1/files?purpose=assistants endpoint until a patch is available. As a temporary workaround, avoid using the purpose parameter in the affected API endpoint to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Path traversal

Weakness Enumeration

Related Identifiers

CVE-2025-6854
GHSA-8V8H-4PJX-RG73

Affected Products

Langchain-Chatchat