Documented Incident · INC-2026-68771 · Critical severity
ComfyUI LoadTrainingDataset Node Unauthenticated Pickle Deserialization RCE
CVE-2026-68771 (CVSS 9.3, published July 31, 2026) affected ComfyUI versions `<= 0.23.0` within its `LoadTrainingDataset` workflow node. An unauthenticated attacker reaching an exposed instance or sharing a workflow referencing crafted `.pkl` dataset shard files triggered unsafe Python pickle deserialization on the server, yielding immediate remote code execution. Because ComfyUI instances commonly run on high-end GPUs with unrestricted host permissions, RCE enabled rapid GPU cryptojacking and credential theft. Maintainers patched dataset shard loading to reject arbitrary pickle execution.
Incident dossier metadata
- Case ID
INC-2026-68771- Classification
- Incident
- Date
- Severity
- Critical
- Sector
- Consumer AI & Local Runtimes
- Attack vector
- Supply Chain
- System type
- Modular Node-Based Diffusion & AI Workflow Runtimes
- CVE / reference
CVE-2026-68771- Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2026-68771
Defensive takeaway
Ban pickle-based dataset shard formats in interactive workflow engines and isolate GPU execution nodes inside unprivileged containers.
Mapped AI security techniques
- Supply Chain Compromise: Data Repository AML.T0010.002
- User Execution: Unsafe AI Artifacts AML.T0011.000
- Command and Scripting Interpreter AML.T0050
- Publish Poisoned AI Artifacts: Datasets AML.T0115.000
Mapped defensive controls
- Restrict Library Loading AML.M0011
- Verify AI Artifacts AML.M0014
- Vulnerability Scanning AML.M0016
Source citation records
- NVD Record CVE-2026-68771: ComfyUI LoadTrainingDataset Pickle RCE · NIST National Vulnerability Database (NVD) ·