{"id":"CVE-2024-21576","aliases":["CVE-2024-21576"],"related":[],"kind":"vulnerability","state":"published","title":"ComfyUI-Bmad-Nodes is vulnerable to Code Injection.","summary":"ComfyUI-Bmad-Nodes is vulnerable to Code Injection. The issue stems from a validation bypass in the BuildColorRangeHSVAdvanced, FilterContour and FindContour custom nodes. In the entrypoint function to each node, there’s a call to eval which can be triggered by generating a workflow that injects a crafted string into the node. This can result in executing arbitrary code on the server.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"ComfyUI-Bmad-Nodes is vulnerable to Code Injection. The issue stems from a validation bypass in the BuildColorRangeHSVAdvanced, FilterContour and FindContour custom nodes. In the entrypoint function to each node, there’s a call to eval which can be triggered by generating a workflow that injects a crafted string into the node. This can result in executing arbitrary code on the server.","source":"cvelist"},{"lang":"es","text":"ComfyUI-Bmad-Nodes es vulnerable a la inyección de código. El problema surge de una omisión de validación en los nodos personalizados BuildColorRangeHSVAdvanced, FilterContour y FindContour. En la función de punto de entrada a cada nodo, hay una llamada a eval que se puede activar generando un flujo de trabajo que inyecta una cadena manipulada en el nodo. Esto puede provocar la ejecución de código arbitrario en el servidor.","source":"nvd"}],"published":"2024-12-13T11:17:00.945Z","modified":"2026-06-17T07:09:44.120Z","severity":{"scorer":"snyk","scheme":"CVSS:4.0","vector":"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","score":10,"rating":"CRITICAL"},"severities":[{"scorer":"snyk","scheme":"CVSS:4.0","vector":"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","score":10,"rating":"CRITICAL"},{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":10,"rating":"CRITICAL"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"*","status":"affected"}],"vendor":"bmad4ever","product":"ComfyUI-Bmad-Nodes","source":"cvelist"}],"references":[{"url":"https://github.com/bmad4ever/comfyui_bmad_nodes/blob/392af9490cbadf32a1fe92ff820ebabe88c51ee8/cv_nodes.py#L1814","tags":[],"sources":["cvelist","nvd"]}],"credits":["Raul Onitza-Klugman (Snyk Security Research)"],"assigner":"snyk","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2024-12-23T18:11:16.367Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-21576","url":"https://www.cve.org/CVERecord?id=CVE-2024-21576","licence":"CVE Terms of Use","modified":"2024-12-23T18:11:35.222Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-21576","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21576","licence":"Public domain","modified":"2026-06-17T07:09:44.120Z"}],"updatedAt":"2026-11-25T22:58:50.086Z","epss":{"score":0.00566,"percentile":0.48355,"date":"2026-12-01T12:00:22.000Z"}}