ComfyUI-Easy-Use version 1.3.6 contains a path traversal vulnerability in the `save_preview()`...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| ComfyUI-Easy-UseComfyUI-Easy-Use |
1.3.6 – 1.4.1→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- web github.com
- web blog.nhhoang.io.vn
- web blog.nhhoang.io.vn
- web github.com
- web nvd.nist.gov
- web github.com
- web kb.cert.org
- web blog.nhhoang.io.vn