Blog post · November 12, 2026 · kb.cert.org
CERT/CC alerts on ComfyUI-Easy-Use flaw enabling code execution
- About ONE
- Read the original
Summary
ComfyUI-Easy-Use, an extension that adds custom nodes and workflow utilities to the ComfyUI node-based interface for generative AI workflows, contains a vulnerability that lets an unauthenticated attacker overwrite an installed custom node's Python file, which can lead to code execution.
The flaw sits in the save_preview() handler of ComfyUI-Easy-Use version 1.4.1 and earlier, tracked as CVE-2026-123790. An attacker can upload a Python file to ComfyUI's input directory and then call save_preview() to copy that file over the __init__.py of an installed custom node. When ComfyUI restarts, it imports and runs the modified node. Remote exploitation depends on a deployment that exposes the affected routes to the attacker without authentication.
An unauthenticated attacker who can reach the affected routes can run arbitrary Python code and operating system commands with the privileges of the ComfyUI process. That attacker can read or modify models, workflows, and other files the process can access, and can obtain credentials available in the process environment. Exploitation requires no user interaction. The reporter confirmed the vulnerability in ComfyUI-Easy-Use up to version 1.4.1.
The maintainer of ComfyUI-Easy-Use could not be reached to coordinate this vulnerability. The stated mitigation options are removing the extension or restricting network access to ComfyUI to trusted users. The maintainer has released a fix in the main branch as commit 8a0f2fc412.
Nguyen Huy Hoang is credited with reporting the vulnerability, and Alex Lewis and Michael Bragg wrote the document. The record was first published and made public on 2026-11-12, last updated at 15:20 UTC that day, and is at revision 2. One or more vendors are listed, and additional vendor information appears in the full report.
Our summary. The original keeps its own byline.