ComfyUI-Impact-Pack is vulnerable to Path Traversal.
Date: 2024-12
Attack vector: path-traversal
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2024-21575
CWE: CWE-35
CVSS: 8.6 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N)

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).


Mitigations:

Architectural layers (MAESTRO):