{"id":"CVE-2024-21575","details":"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).","modified":"2026-03-14T12:30:55.664164Z","published":"2024-12-12T15:15:12.733Z","references":[{"type":"WEB","url":"https://github.com/ltdrdata/ComfyUI-Impact-Pack/blob/1087f2ee063c9d53cd198add79b41a7a3465c05a/modules/impact/impact_server.py#L28"},{"type":"FIX","url":"https://github.com/ltdrdata/ComfyUI-Impact-Pack/commit/a43dae373e648ae0f0cc0c9768c3cea6a72acff7"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ltdrdata/comfyui-impact-pack","events":[{"introduced":"0"},{"fixed":"a43dae373e648ae0f0cc0c9768c3cea6a72acff7"}]}],"versions":["5.18.13","5.18.14","5.18.15","5.18.16","6.0","6.0.1","6.0.2","6.0.3","7.0","7.1","7.2.1","7.3","7.3.1","7.3.2","7.4.2","7.4.4","7.4.5","7.5","7.5.1","7.5.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-21575.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}