Skip to content
CriticalVulnerability

CVE-2026-68771: ComfyUI unsafe deserialization in LoadTrainingDataset node via upload endpoint

Identifier
CVE-2026-68771
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.9%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

ComfyUI v0.23.0 contains an unsafe deserialization flaw in the LoadTrainingDataset node, tracked as CVE-2026-68771. An unauthenticated remote attacker can upload a crafted shard_*.pkl file through POST /upload/image, then queue a workflow via POST /prompt that references it, causing torch.load to deserialize the payload and run arbitrary commands as the ComfyUI process user.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.