CVE-2025-6853

chatchat-space Langchain-Chatchat Backend upload_temp_docs path traversal

Published Jun 29, 2025 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-19477 Langchain-Chatchat has a Path Traversal vulnerability
Github GHSA Github GHSA GHSA-qmgv-j263-qr33 Langchain-Chatchat has a Path Traversal vulnerability
History
Type Values Removed Values Added
First Time appeared Chatchat-space
Chatchat-space langchain-chatchat
CPEs cpe:2.3:a:chatchat-space:langchain-chatchat:*:*:*:*:*:*:*:*
Vendors & Products Chatchat-space
Chatchat-space langchain-chatchat
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title chatchat-space Langchain-Chatchat Backend upload_temp_docs path traversal
Weaknesses CWE-22
References
Metrics cvssV2_0

{'score': 6.5, 'vector': 'AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 6.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 6.3, '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'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Jun 30, 2025, 3:44 PM
Reserved
Jun 28, 2025, 10:37 AM
Status
Analyzed
Published
Jun 29, 2025, 8:15 AM
Modified
Jun 17, 2026, 10:02 AM