CVE-2026-7847: Langchain-Chatchat Uses Insufficiently Random Values
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:L/VI:N/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 was found in chatchat-space Langchain-Chatchat up to 0.3.1.3. The affected element is the function _get_file_id of the file libs/chatchat-server/chatchat/server/api_server/openai_routes.py of the component Uploaded File Handler. Performing a manipulation results in insufficiently random values. Access to the local network is required for this attack. The attack's complexity is rated as high. The exploitability is described as difficult. The exploit has been made public and could 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-7847 (opens in a new tab)
- github.com/chatchat-space/Langchain-Chatchat/issues/5464 (opens in a new tab)
- github.com/3em0/cve_repo/blob/main/Langchain-Chatchat/Vuln-3-Predictable-File-ID.md (opens in a new tab)
- github.com/chatchat-space/Langchain-Chatchat (opens in a new tab)
- vuldb.com/submit/807796 (opens in a new tab)
- vuldb.com/vuln/361126 (opens in a new tab)
- vuldb.com/vuln/361126/cti (opens in a new tab)