Skip to content
LowVulnerability

CVE-2026-7845: Langchain-Chatchat weak hash in Vision Chat paste image handler

Identifier
CVE-2026-7845
Published
Record updated
View JSON
Affected
  • langchain-chatchat <= 0.3.1.3
Fixed in
No fixed version was stated when the source was last read.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.1%

Summary

CVE-2026-7845 affects chatchat-space Langchain-Chatchat up to 0.3.1.3. A flaw in the Vision Chat Paste Image Handler, in the function PIL.Image.tobytes within libs/chatchat-server/chatchat/webui_pages/dialogue/dialogue.py, is triggered by manipulating the argument paste_image.image_data, which causes use of a weak hash. An attacker must be on the local network, and the attack has high complexity and difficult exploitability. A published exploit may be used, and the project has not responded to an early issue report.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.