CVE-2026-68771
Last modified
CVE-2026-68771 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 0.62% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Comfy-Org | ComfyUI | <= 0.23.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-68771?
How severe is CVE-2026-68771?
How do I fix CVE-2026-68771?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-68754A repository publisher without delete permission may modify …6.5
- CVE-2026-68755A bundle writer may create misleading release promotion info…4.3
- CVE-2026-68756A party with write access to stored session data may affect …6.6
- CVE-2026-68757A user with access to a valid SAML response may impersonate …7.5
- CVE-2026-68760An unauthenticated user may bypass authentication under spec…5.3
- CVE-2026-68770sentence-transformers contains a security control bypass vul…9.8
- CVE-2026-68772ZenML 0.94.6 contains a remote code execution vulnerability …8.5
- CVE-2026-6878A vulnerability was identified in ByteDance verl up to 0.7.0…5.6
- CVE-2026-6879`Element.findall()` and fully-consumed `Element.iterfind()` …2
- CVE-2026-68792Improper neutralization of special elements used in a comman…7.8
- CVE-2026-68793Out-of-bounds read in Microsoft Office Excel allows an unaut…7.8
- CVE-2026-68794Heap-based buffer overflow in Microsoft Office Excel allows …7.8
Are you affected by CVE-2026-68771?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
