PT-2026-66867 · Comfyui · Comfyui
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
ComfyUI version 0.23.0
Description
An unsafe deserialization issue exists in the LoadTrainingDataset node. Unauthenticated remote attackers can execute arbitrary Python code by uploading a crafted pickle file and triggering its deserialization. The attack involves uploading a malicious
shard *.pkl file through the POST '/upload/image' endpoint and subsequently queuing a workflow graph via the POST '/prompt' endpoint that references the uploaded file. This process causes torch.load to deserialize the payload using reduce, executing arbitrary commands with the privileges of the ComfyUI process user.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
RCE
Deserialization of Untrusted Data
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Comfyui