search menu icon-carat-right cmu-wordmark

CERT Coordination Center

ComfyUI-Easy-Use contains unauthenticated path traversal vulnerability

Vulnerability Note VU#944667

Original Release Date: 2026-11-12 | Last Revised: 2026-11-12

Overview

ComfyUI-Easy-Use version 1.4.1 and earlier contains a vulnerability in its save_preview() handler that allows an unauthenticated attacker to overwrite an installed custom node’s Python file. An attacker who can reach the affected ComfyUI instance over the network can use the overwrite to execute arbitrary code when ComfyUI restarts.

Description

ComfyUI is a node-based interface for building generative AI workflows. ComfyUI-Easy-Use is an extension that adds custom nodes and workflow utilities.
An attacker can upload a Python file to ComfyUI’s input directory then use save_preview() to copy that file over an installed custom node’s __init__.py. Upon restart, ComfyUI will import and execute the modified node. Remote exploitation requires a deployment that exposes the affected routes to the attacker without authentication.

Impact

An unauthenticated attacker who can reach the affected routes can execute arbitrary Python code and operating system commands with the privileges of the ComfyUI process. The attacker can read or modify models, workflows, and other files accessible to the process and obtain credentials available in its environment. Exploitation requires no user interaction. The reporter confirmed the vulnerability in ComfyUI-Easy-Use version up to verion 1.4.1.

Solution

Unfortunately, the maintainer of ComfyUI-Easy-Use could not be reached to coordinate this vulnerability. To mitigate the vulnerability, remove the extension or restrict network access to ComfyUI to trusted users. The maintainer have released a fix in main as commit 8a0f2fc412.

Acknowledgements

Thanks to Nguyen Huy Hoang for reporting this vulnerability. This document was written by Alex Lewis and Michael Bragg.

Vendor Information

944667
 

ComfyUI-Easy-Use Unknown

Notified:  2026-10-06 Updated: 2026-11-12

CVE-2026-123790 Unknown

Vendor Statement

We have not received a statement from the vendor.


Other Information

CVE IDs: CVE-2026-123790
API URL: VINCE JSON | CSAF
Date Public: 2026-11-12
Date First Published: 2026-11-12
Date Last Updated: 2026-11-12 15:20 UTC
Document Revision: 2

Sponsored by CISA.