Unauthenticated Path Traversal in ComfyUI-Easy-Use Allows Remote Code Execution
- State
- Published
- Severity
- 6.5 Medium
- Published
- Nov 12, 2026
- Updated
- Nov 17, 2026
- Reserved
- Nov 6, 2026
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.
| Product | Versions |
|---|---|
| ComfyUI-Easy-Use ComfyUI-Easy-Use | 1.3.6 through 1.4.1 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 6.5 Medium | CISA-ADP |
Weaknesses
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.