CVE-2026-7846: Langchain-Chatchat Has a Race Condition
Affects langchain-chatchatSource GCVE Database
Public exploit available · CVSS 2.1 Low.
Data as of 27 Oct 2026, 00:07 UTC
CVSS:4.0/AV:A/AC:H/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:PExploitation evidence
Disclosed: evidence found.
CVE published 5 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: evidence found.
CVSS exploit maturity: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIlangchain-chatchat | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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
- nvd.nist.gov/vuln/detail/CVE-2026-7846 (opens in a new tab)
- github.com/chatchat-space/Langchain-Chatchat/issues/5463 (opens in a new tab)
- github.com/3em0/cve_repo/blob/main/Langchain-Chatchat/Vuln-2-Silent-File-Overwrite.md (opens in a new tab)
- github.com/chatchat-space/Langchain-Chatchat (opens in a new tab)
- vuldb.com/submit/807795 (opens in a new tab)
- vuldb.com/vuln/361125 (opens in a new tab)
- vuldb.com/vuln/361125/cti (opens in a new tab)