top of page
perceptive_background_267k.jpg

ComfyUI v0.23.0 contains an unsafe deserialization vulnerability in the LoadTrainingDataset node that allows unauthenticated remote attackers to execute arbitra…

Published:

31 July 2026 at 00:00:00

Alert date:

1 August 2026 at 01:01:11

Source:

nvd.nist.gov

Click to open the original link from this advisory

Web Technologies, Emerging Technologies, Zero-Day Vulnerabilities

ComfyUI v0.23.0 contains a critical unsafe deserialization vulnerability in the LoadTrainingDataset node. Unauthenticated remote attackers can exploit this by uploading a crafted pickle file via the unauthenticated POST /upload/image endpoint. The attacker then queues a workflow graph via POST /prompt referencing the uploaded malicious file. This triggers torch.load to deserialize the attacker-controlled pickle payload using Python's __reduce__ mechanism. The result is arbitrary Python code execution running as the ComfyUI process user. No authentication is required at any stage of the attack chain, making this highly exploitable. A fix has been committed to the ComfyUI GitHub repository.

Technical details

Mitigation steps:

Affected products:

ComfyUI v0.23.0

Related links:

Related CVE's:

Related threat actors:

IOC's:

This article was created with the assistance of AI technology by Perceptive.

© 2025 by Perceptive Security. All rights reserved.

email: info@perceptivesecurity.com

Disclaimer: Deze website toont informatie afkomstig van externe bronnen. Perceptive aanvaardt geen verantwoordelijkheid voor de inhoud, juistheid of volledigheid van deze informatie.

bottom of page