CVE-2026-123790: Unauthenticated Path Traversal in ComfyUI-Easy-Use Allows Remote Code Execution

Published Nov 12, 2026
·
Updated

ComfyUI-Easy-Use version 1.3.6 contains a path traversal vulnerability in the savepreview() handler for POST /easyuse/save/{name}. The handler checks the source directory before appending a user-supplied filename and allows the request to select the customnodes directory as a copy destination. An unauthenticated attacker who can reach the ComfyUI server can overwrite an installed custom node’s Python entry point with an uploaded file. When ComfyUI restarts and loads the modified node, the attacker’s code runs with the privileges of the ComfyUI process.

Event History

Nov 12, 2026
CVE Published
via MITRE·02:48 PM
Data Sourced
via MITRE·02:48 PM
DescriptionWeakness
Data Sourced
via NVD·03:17 PM
Description

Frequently Asked Questions

1

Who is exposed to exploitation?

ComfyUI-Easy-Use 1.3.6 deployments are exposed if an unauthenticated attacker can reach the ComfyUI server.

2

What does an attacker need to do to achieve code execution?

The attacker must send a POST request to /easyuse/save/{name} that abuses the filename handling to overwrite an installed custom node's Python entry point with an uploaded file. Code executes when ComfyUI restarts and loads the modified node.

3

Does exploitation require authentication or existing access to the server?

No. The issue is described as unauthenticated; network reachability to the ComfyUI server is the stated prerequisite.

4

What happens if the vulnerability is successfully exploited?

An attacker can replace a custom node's Python entry point. On the next ComfyUI restart, the replacement code runs with the privileges of the ComfyUI process.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203