{"id":"CVE-2024-21574","details":"The issue stems from a missing validation of the pip field in a POST request sent to the /customnode/install endpoint used to install custom nodes which is added to the server by the extension. This allows an attacker to craft a request that triggers a pip install on a user controlled package or URL, resulting in remote code execution (RCE) on the server.","modified":"2026-03-14T12:30:58.153775Z","published":"2024-12-12T09:15:06.037Z","references":[{"type":"WEB","url":"https://github.com/ltdrdata/ComfyUI-Manager/blob/ffc095a3e5acc1c404773a0510e6d055a6a72b0e/glob/manager_server.py#L798"},{"type":"FIX","url":"https://github.com/ltdrdata/ComfyUI-Manager/commit/ffc095a3e5acc1c404773a0510e6d055a6a72b0e"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/comfy-org/comfyui-manager","events":[{"introduced":"0"},{"fixed":"ffc095a3e5acc1c404773a0510e6d055a6a72b0e"}]}],"versions":["2.48.1","2.48.2","2.48.3","2.48.4","2.48.6","2.48.7","2.50","2.50.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-21574.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:H/VI:H/VA:H/SC:H/SI:H/SA:H/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"}]}