9.2critical
ComfyUI-Impact-Pack is vulnerable to Path Traversal.
- Severity
- 9.2critical CVSS:4.0 by snyk
- Exploit likelihood
- 1.00% (higher than 63% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
Description
ComfyUI-Impact-Pack is vulnerable to Path Traversal. The issue stems from missing validation of the `image.filename` field in a POST request sent to the `/upload/temp` endpoint added by the extension to the server. This results in writing arbitrary files to the file system which may, under some conditions, result in remote code execution (RCE).
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| ltdrdata ComfyUI-Impact-Pack | before 7.6.2 | CVE List |
All scores
| snyk | 9.2critical CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N |
| snyk | 8.6high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
ComfyUI-Impact-Pack is vulnerable to Path Traversal. The issue stems from missing validation of the `image.filename` field in a POST request sent to the `/upload/temp` endpoint added by the extension to the server. This results in writing arbitrary files to the file system which may, under some conditions, result in remote code execution (RCE).
NVD (es)
ComfyUI-Impact-Pack es vulnerable a Path Traversal. El problema surge de la falta de validación del campo `image.filename` en una solicitud POST enviada al endpoint `/upload/temp` agregado por la extensión al servidor. Esto da como resultado la escritura de archivos arbitrarios en el sistema de archivos, lo que puede, en algunas condiciones, provocar una ejecución de código remoto (RCE).
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-21575 changed 2024-12-12 | CVE Terms of Use |
| NVD | CVE-2024-21575 changed 2026-06-17 | Public domain |