CVE-2026-7845: Langchain-Chatchat Uses a Broken or Risky Cryptographic Algorithm
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 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
- nvd.nist.gov/vuln/detail/CVE-2026-7845 (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)
- vuldb.com/submit/807794 (opens in a new tab)
- vuldb.com/vuln/361124 (opens in a new tab)
- vuldb.com/vuln/361124/cti (opens in a new tab)