Unauthenticated Path Traversal in ComfyUI-Easy-Use Allows Remote Code Execution
Summary
| CVE | CVE-2026-123790 |
|---|---|
| State | PUBLISHED |
| Assigner | certcc |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-12 15:17:46 UTC |
| Updated | 2026-11-12 19:22:01 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | ComfyUI-Easy-Use | ComfyUI-Easy-Use | affected 1.3.6 1.4.1 custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/yolain/ComfyUI-Easy-Use/commit/8a0f2fc412c1c6f9109e9392064800... | [email protected] | github.com | |
| github.com/yolain/ComfyUI-Easy-Use | [email protected] | github.com | |
| blog.nhhoang.io.vn/posts/2026/11/cve-2026-123790-comfyui-easy-use-save-preview-rce | [email protected] | blog.nhhoang.io.vn | |
| www.kb.cert.org/vuls/id/944667 | af854a3a-2127-422b-91ae-364da2661108 | www.kb.cert.org | |
| blog.nhhoang.io.vn | MITRE | blog.nhhoang.io.vn | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.