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

Inspect INC-2026-68771 in Interactive Incidents & Cases Hub

Defensive takeaway

Ban pickle-based dataset shard formats in interactive workflow engines and isolate GPU execution nodes inside unprivileged containers.

Mapped AI security techniques

Mapped defensive controls

Source citation records