CVE-2024-21575
JSON

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 packageVersionsReported by
ltdrdata ComfyUI-Impact-Packbefore 7.6.2CVE List

All scores

snyk9.2critical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N
snyk8.6high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N

Classification

CWE-35

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

SourceRecordLicence
CVE ListCVE-2024-21575 changed 2024-12-12CVE Terms of Use
NVDCVE-2024-21575 changed 2026-06-17Public domain