CVE-2026-68771: Comfy-Org ComfyUI · Deserialization of Untrusted Data
Affects Comfy-Org ComfyUISource CVE Database V5
Not known to be exploited · CVSS 9.3 Critical.
Data as of 29 Oct 2026, 19:04 UTC
- EPSS
- 1.1% chance of exploitation in 30 days – higher than 66% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 31 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
Public exploit code: GitHub proofs of concept
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Comfy-OrgComfyUI | Affected
| Fixed in– |
AI-suggested
Until a fix is available, restrict access to the POST /upload/image and POST /prompt endpoints to trusted users or networks. Consider disabling or limiting the LoadTrainingDataset node functionality if possible. Monitor for updates from Comfy-Org regarding official patches or mitigations.
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.
References
- github.com/Comfy-Org/ComfyUI/pull/14543 (opens in a new tab)
- github.com/Comfy-Org/ComfyUI (opens in a new tab)
- github.com/Comfy-Org/ComfyUI/commit/94ee49b1612824366a8631ea069b2a1fa5c73720 (opens in a new tab)
- vulncheck.com/advisories/comfyui-unauthenticated-rce-via-loadtrainingdataset-pickle-deserialization (opens in a new tab)