PT-2026-37082 · Unknown · Langchain-Chatchat
Dem00
·
Published
2026-05-05
·
Updated
2026-05-05
·
CVE-2026-7845
CVSS v3.1
2.6
Low
| Vector | AV:A/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
Langchain-Chatchat versions prior to 0.3.1.4
Description
A flaw in the Vision Chat Paste Image Handler component allows for the use of a weak hash. This occurs during the manipulation of the
paste image.image data argument within the PIL.Image.tobytes() function located in the libs/chatchat-server/chatchat/webui pages/dialogue/dialogue.py file. Exploitation requires the attacker to be present on the local network and is characterized by high complexity.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
As a temporary workaround, restrict access to the
PIL.Image.tobytes() function or the Vision Chat Paste Image Handler component to minimize the risk of exploitation.Exploit
Use of a Broken Cryptographic Algorithm
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Langchain-Chatchat