CVE-2025-6853

MEDIUM

Langchain-Chatchat <0.3.1 - Path Traversal

Title source: llm
STIX 2.1

Description

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 (4)

Core 4
Core References
Third Party Advisory, VDB Entry vdb-entry technical-description
https://vuldb.com/?id.314325
Permissions Required, VDB Entry signature permissions-required
https://vuldb.com/?ctiid.314325
Third Party Advisory, VDB Entry third-party-advisory
https://vuldb.com/?submit.601155
Exploit, Issue Tracking exploit issue-tracking
https://github.com/chatchat-space/Langchain-Chatchat/issues/5352

Scores

CVSS v3 6.3
EPSS 0.0063
EPSS Percentile 70.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-22
Status published
Products (2)
chatchat-space/langchain-chatchat < 0.3.1
pypi/langchain-chatchat 0PyPI
Published Jun 29, 2025
Tracked Since Feb 18, 2026