Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-7845— chatchat-space Langchain-Chatchat Vision Chat Paste Image dialogue.py PIL.Image.tobytes weak hash

Quick assessment

Affected
chatchat-space Langchain-Chatchat
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

LangChain-Chatchat是Chatchat-Space开源的一个基于LangChain框架开发的聊天机器人软件。 Langchain-Chatchat 0.3.1.3及之前版本存在加密问题漏洞,该漏洞源于Vision Chat Paste Image Handler组件中文件libs/chatchat-server/chatchat/webui_pages/dialogue/dialogue.py的函数PIL.Image.tobytes对参数paste_image.image_data的操作导

CVSS 2.6 · Low EPSS 0.20% · P9

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 4

VendorProduct Version RangeStatus
chatchat-space Langchain-Chatchat 0.3.1.0 affected
0.3.1.1 affected
0.3.1.2 affected
0.3.1.3 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-7845

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
chatchat-space Langchain-Chatchat Vision Chat Paste Image dialogue.py PIL.Image.tobytes weak hash
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
可逆的单向哈希
Source: CVE Program / CVE List V5
Vulnerability Title
LangChain-Chatchat 加密问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
LangChain-Chatchat是Chatchat-Space开源的一个基于LangChain框架开发的聊天机器人软件。 Langchain-Chatchat 0.3.1.3及之前版本存在加密问题漏洞,该漏洞源于Vision Chat Paste Image Handler组件中文件libs/chatchat-server/chatchat/webui_pages/dialogue/dialogue.py的函数PIL.Image.tobytes对参数paste_image.image_data的操作导
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
chatchat-space Langchain-Chatchat 0.3.1.0 -

II. Public POCs for CVE-2026-7845

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-7845

请登录查看更多情报信息。

Proof of Concept for CVE-2026-7845 (1)

Security Blog Posts for CVE-2026-7845 (1)

Vendor Pages for CVE-2026-7845 (1)

Same Patch Batch · chatchat-space · 2026-05-05 · 4 CVEs total

CVE-2026-7844 6.3 MEDIUM chatchat-space Langchain-Chatchat Compatible File Service openai_routes.py delete_file mis
CVE-2026-7846 2.6 LOW chatchat-space Langchain-Chatchat OpenAI-Compatible File Upload API openai_routes.py files
CVE-2026-7847 2.6 LOW chatchat-space Langchain-Chatchat Uploaded File openai_routes.py _get_file_id random value

IV. Related Vulnerabilities

V. Comments for CVE-2026-7845

No comments yet


Leave a comment