CVE-2026-7846

LOW

chatchat-space Langchain-Chatchat OpenAI-Compatible File Upload API openai_routes.py files toctou

Title source: cna
STIX 2.1

Description

A vulnerability has been found in chatchat-space Langchain-Chatchat up to 0.3.1.3. Impacted is the function files of the file libs/chatchat-server/chatchat/server/api_server/openai_routes.py of the component OpenAI-Compatible File Upload API. Such manipulation of the argument file.filename leads to time-of-check time-of-use. Access to the local network is required for this attack to succeed. The attack requires a high level of complexity. The exploitability is considered difficult. The exploit has been disclosed to the public and may be used. The project was informed of the problem early through an issue report but has not responded yet.

References (6)

Core 6
Core References
Vdb Entry, Technical Description vdb-entry technical-description
VDB-361125 | chatchat-space Langchain-Chatchat OpenAI-Compatible File Upload API openai_routes.py files toctou
https://vuldb.com/vuln/361125
Signature, Permissions Required signature permissions-required
VDB-361125 | CTI Indicators (IOB, IOC, IOA)
https://vuldb.com/vuln/361125/cti
Third Party Advisory third-party-advisory
Submit #807795 | chatchat-space Langchain-Chatchat 0.3.1.3 TOCTOU Race Condition / CWE-367
https://vuldb.com/submit/807795

Scores

CVSS v3 2.6
EPSS 0.0001
EPSS Percentile 3.0%
Attack Vector ADJACENT_NETWORK
CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-362 CWE-367
Status published
Products (5)
chatchat-space/Langchain-Chatchat 0.3.1.0
chatchat-space/Langchain-Chatchat 0.3.1.1
chatchat-space/Langchain-Chatchat 0.3.1.2
chatchat-space/Langchain-Chatchat 0.3.1.3
pypi/langchain-chatchat 0 - 0.3.1.3PyPI
Published May 05, 2026
Tracked Since May 05, 2026