CVE-2026-123790 Unauthenticated Path Traversal in ComfyUI-Easy-Use Allows Remote Code Execution
MediumCVSS 6.5
EPSS 0.21%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ComfyUI-Easy-Use | >= 1.3.6, <= 1.4.1 | No fix listed |