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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-68771— ComfyUI 0.23.0 Unauthenticated RCE via LoadTrainingDataset Pickle Deserialization

Quick assessment

Affected
Comfy-Org ComfyUI
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Comfy Org ComfyUI是Comfy Org组织开源的一款节点式工作流AI绘画工具。 Comfy Org ComfyUI 0.23.0及之前版本存在反序列化注入漏洞,该漏洞源于LoadTrainingDataset节点存在不安全的反序列化问题,攻击者可通过未认证的POST /upload/image端点上传特制pickle文件,并通过POST /prompt触发反序列化,导致以ComfyUI进程用户身份执行任意代码。

CVSS 9.8 · Critical EPSS 1.15% · P66

Affected Version Matrix 1

VendorProduct Version RangeStatus
Comfy-Org ComfyUI ≤ 0.23.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-68771

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
ComfyUI 0.23.0 Unauthenticated RCE via LoadTrainingDataset Pickle Deserialization
Source: CVE Program / CVE List V5
Vulnerability Description
ComfyUI v0.23.0 contains an unsafe deserialization vulnerability in the LoadTrainingDataset node that allows unauthenticated remote attackers to execute arbitrary Python code by uploading a crafted pickle file and triggering its deserialization. Attackers can upload a malicious shard_*.pkl file via the unauthenticated POST /upload/image endpoint and then queue a workflow graph via POST /prompt referencing the uploaded file, causing torch.load to deserialize the attacker-controlled pickle payload using __reduce__ and execute arbitrary commands as the ComfyUI process user.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
可信数据的反序列化
Source: CVE Program / CVE List V5
Vulnerability Title
Comfy Org ComfyUI 反序列化漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Comfy Org ComfyUI是Comfy Org组织开源的一款节点式工作流AI绘画工具。 Comfy Org ComfyUI 0.23.0及之前版本存在反序列化注入漏洞,该漏洞源于LoadTrainingDataset节点存在不安全的反序列化问题,攻击者可通过未认证的POST /upload/image端点上传特制pickle文件,并通过POST /prompt触发反序列化,导致以ComfyUI进程用户身份执行任意代码。
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
Comfy-Org ComfyUI 0 ~ 0.23.0 -

II. Public POCs for CVE-2026-68771

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 5640 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-68771

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

Patches & Fixes for CVE-2026-68771 (2)

Vendor Advisories for CVE-2026-68771 (1)

Vendor Pages for CVE-2026-68771 (1)

Same Patch Batch · Comfy-Org · 2026-07-31 · 5 CVEs total

CVE-2026-56670 8.2 HIGH ComfyUI: Stored XSS via SVG file upload on the /view endpoint
CVE-2026-56672 8.2 HIGH ComfyUI: Stored XSS via /userdata/{file} due to Missing Content-Type Sanitization
CVE-2026-56673 7.5 HIGH ComfyUI: Path traversal in LoadImage via the /prompt API allows arbitrary file existence p
CVE-2026-56671 7.5 HIGH ComfyUI: Path traversal in /experiment/models/preview allows arbitrary image file read

IV. Related Vulnerabilities

V. Comments for CVE-2026-68771

No comments yet


Leave a comment