CRITICAL🇵🇱 Wersja polska

CVE-2024-21575

CVSS 9.2v4.0pub. 2024-12-12upd. 2026-04-15

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

🤖 AI Analysis
How it works

The vulnerability results from lack of validation of the `image.filename` field in the POST request sent to the `/upload/temp` endpoint, added by the extension to the ComfyUI server. An attacker can construct a malicious filename containing path traversal sequences (e.g., `../../`), resulting in the file being written outside the intended target directory. By placing an appropriately crafted file in a critical location of the file system, it is possible to achieve RCE.

Impact

An attacker can write arbitrary files to any location accessible to the server process, which under certain conditions may lead to remote code execution (RCE) on the victim's server.

Mitigation & patch

ComfyUI-Impact-Pack should be updated to a version containing the patch introduced in commit a43dae373e648ae0f0cc0c9768c3cea6a72acff7 available in the project's GitHub repository. Additionally, it is recommended to restrict network access to ComfyUI server endpoints exclusively to trusted hosts.

Who is affected

ComfyUI-Impact-Pack — versions before commit a43dae373e648ae0f0cc0c9768c3cea6a72acff7 (specific versions indicated in manufacturer references)

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
Tags
RCEPath Traversal
CWE
References