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.78% 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
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
- Deferred
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-68765hashcat master branch builds after v7.1.2 contain a heap buf…6.1
- CVE-2026-68766hashcat fails to restrict command-line options when parsing …7.8
- CVE-2026-68767hashcat's fgetl() function in src/filehandling.c writes a nu…6.1
- CVE-2026-68768hashcat contains a heap-based buffer overflow (out-of-bounds…6.1
- CVE-2026-68769Rejected reason: This CVE ID has been rejected or withdrawn …
- 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
- CVE-2026-68775Heap-based buffer overflow in SQL Server allows an authorize…8.8
- CVE-2026-68776Use of uninitialized resource in SQL Server allows an author…6.5
- CVE-2026-68777Out-of-bounds read in SQL Server allows an authorized attack…6.5
- CVE-2026-68778Out-of-bounds read in SQL Server allows an authorized attack…6.5
- CVE-2026-68779Out-of-bounds read in SQL Server allows an authorized attack…6.5
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
