CVE-2026-7845: Langchain-Chatchat · Use of Weak Hash
Affects Langchain-ChatchatSource CVE Database V5
Public exploit available · CVSS 2.1 Low.
Data as of 2 Nov 2026, 10:58 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 3% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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
Weaponized: 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 2 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| chatchat-spaceLangchain-Chatchat | Affected
| Fixed in– |
GitHubchatchat-space/Langchain-Chatchatpkg:github/chatchat-space/Langchain-ChatchatOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Since the vendor has not responded or issued a fix, users should monitor the vendor advisory for updates. Given the high complexity and local network requirement, risk is limited but users should consider restricting local network access to trusted parties and apply general network security controls.
Description
A flaw has been found in chatchat-space Langchain-Chatchat up to 0.3.1.3. This issue affects the function PIL.Image.tobytes of the file libs/chatchat-server/chatchat/webui_pages/dialogue/dialogue.py of the component Vision Chat Paste Image Handler. This manipulation of the argument paste_image.image_data causes use of weak hash. The attacker needs to be present on the local network. The attack is considered to have high complexity. The exploitability is assessed as difficult. The exploit has been published and may be used. The project was informed of the problem early through an issue report but has not responded yet.
References
- vuldb.com/vuln/361124 (opens in a new tab)
- vuldb.com/vuln/361124/cti (opens in a new tab)
- vuldb.com/submit/807794 (opens in a new tab)
- github.com/chatchat-space/Langchain-Chatchat/issues/5462 (opens in a new tab)
- github.com/3em0/cve_repo/blob/main/Langchain-Chatchat/Vuln-1-tobytes-Hash-Collision.md (opens in a new tab)
- github.com/chatchat-space/Langchain-Chatchat/ (opens in a new tab)