{"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-08-12T03:51:37.751144313Z","published":"2024-12-12T08:15:11.464Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21574.json","cna_assigner":"snyk","cwe_ids":["CWE-94"]},"references":[{"type":"WEB","url":"https://github.com/ltdrdata/ComfyUI-Manager/blob/ffc095a3e5acc1c404773a0510e6d055a6a72b0e/glob/manager_server.py#L798"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21574.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21574"},{"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"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"2.51.1"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["2.50.1","2.50","2.48.7","2.48.6","2.48.4","2.48.3","2.48.2","2.48.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-21574.json"}}],"schema_version":"1.9.0","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"}]}