Vulnerability in Chatchat-Space Langchain-Chatchat
CVE-2026-7846
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.
Vulnerability class: Race Condition
Published · last modified .
CVSS v3 metric
CVSS v3 base score 2.6 (Low). Vector: CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N.
EPSS exploit prediction
EPSS 0.002, 5.4th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Chatchat-Space Langchain-Chatchat — versions 0.3.1.0, 0.3.1.1, 0.3.1.2
Weakness classification (CWE)
References
- github.com/3em0/cve_repo/blob/main/Langchain-Chatchat/Vuln-2-Silent-File-Overwr… (exploit)
- github.com/chatchat-space/Langchain-Chatchat/ (product)
- github.com/chatchat-space/Langchain-Chatchat/issues/5463 (issue-tracking)
- Submit #807795 | chatchat-space Langchain-Chatchat 0.3.1.3 TOCTOU Race Condition / CWE-367 (third-party-advisory)
- VDB-361125 | chatchat-space Langchain-Chatchat OpenAI-Compatible File Upload API openai_routes.py files toctou (technical-description, vdb-entry)
- VDB-361125 | CTI Indicators (IOB, IOC, IOA) (signature, permissions-required)