Weak Hash Vulnerability in Langchain-Chatchat Product by chatchat-space
CVE-2026-7845

2.1LOW

Key Information:

Vendor
CVE Published:
5 May 2026

Badges

๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC

What is CVE-2026-7845?

A vulnerability has been identified in Langchain-Chatchat affecting versions up to 0.3.1.3. This issue arises from a flaw in the Vision Chat Paste Image Handler, specifically within the function PIL.Image.tobytes. The vulnerability can be exploited through manipulation of the paste_image.image_data argument, which leads to the application using a weak hash. While this requires an attacker to be present on the local network, the exploitability has been deemed difficult. Although an issue report was submitted regarding the problem, there has been no formal response from the project maintainers.

Affected Version(s)

Langchain-Chatchat 0.3.1.0

Langchain-Chatchat 0.3.1.1

Langchain-Chatchat 0.3.1.2

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

CVSS V4

Score:
2.1
Severity:
LOW
Confidentiality:
None
Integrity:
Low
Availability:
None
Attack Vector:
Adjacent Network
Attack Complexity:
High
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

Dem00 (VulDB User)
VulDB CNA Team
.