ComfyUI-Easy-Use 1.3.6 path traversal can overwrite nodes and run code
Attackers who reach exposed routes can replace a custom node's __init__.py; no fix exists because the maintainer was unreachable.
Unauthenticated path traversal in ComfyUI-Easy-Use 1.3.6
ComfyUI-Easy-Use 1.3.6 has a path traversal flaw in save_preview() for POST /easyuse/save/{name}. After checking the source directory, the handler appends a user-supplied filename and can copy into the custom_nodes directory. An unauthenticated attacker who can reach the ComfyUI server can overwrite a custom node’s Python entry point so that, on restart, the code runs as the ComfyUI process.
What to do: No fixed version is stated. Apply the vendor update for CVE-2026-123790 when one is published.
| Product | Affected |
|---|---|
| ComfyUI-Easy-Use | 1.3.6 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
ComfyUI-Easy-Use version 1.3.6 contains a path traversal vulnerability in the `save_preview()` 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 `custom_nodes` 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.
Attackers who reach exposed routes can replace a custom node's __init__.py; no fix exists because the maintainer was unreachable.
Today 2.6K readers · 2.9K views · 145 reads · all time 206K views