Vulnerability · Published Jun 29, 2025 · Assigned by VulDB

CVE-2025-6853chatchat-space Langchain-Chatchat Backend upload_temp_docs path traversal

Medium 6.3

In plain English

A medium-severity path traversal in Langchain-Chatchat from chatchat-space. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 49% of all known vulnerabilities).

Severity (CVSS 3.1)6.3Medium
Exploit odds (30 days)0.6%top 51.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIlangchain-chatchatno fix listedGHSA-qmgv-j263-qr33
PyPIlangchain-chatchatno fix listedPYSEC-2026-1513

Affected products (as reported)

VendorProductVersions
chatchat-space Langchain-Chatchat 0.3.00.3.1

Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R

References