{"id":"CVE-2026-116140","kind":"vulnerability","aliases":["CVE-2026-116140"],"related":[],"title":"ImageMagick: delegate parsing lets a policy-blocked program still run","description":"ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 incorrectly parses delegate invocations, which can allow an executable blocked in policy.xml to still run. An attacker who gets ImageMagick to process input that triggers a delegate invocation can bypass the administrator-defined policy and execute the blocked program.","summary":"ImageMagick incorrectly parses delegate invocations, so an executable that policy.xml blocks can still run. An attacker who gets ImageMagick to process crafted input can run a program the administrator meant to forbid.","severity":"medium","cvss":4.8,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["image-processing","imagemagick","package","self-hosted"],"not_affected_if":["no-untrusted-input","patched-version"],"how_to_check":"- Run `magick -version` and compare against `6.9.13-58` and `7.1.2-33`\n- Review `policy.xml` (often under `/etc/ImageMagick-7/`) for delegate or shell-command restrictions","fix":"- Upgrade ImageMagick 6 to `6.9.13-58` or later\n- Upgrade ImageMagick 7 to `7.1.2-33` or later","status":"open","published_at":"2026-10-25T14:16:51+00:00","first_seen_at":"2026-10-25T14:41:22+00:00","triaged_at":"2026-10-25T14:44:14+00:00","updated_at":"2026-10-25T14:44:14+00:00","category":"package","confidence":0.6,"triage":{"at":"2026-10-25T14:44:14Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade ImageMagick 6 to `6.9.13-58` or later\n- Upgrade ImageMagick 7 to `7.1.2-33` or later","reach":"unknown","title":"ImageMagick: delegate parsing lets a policy-blocked program still run","impact":"high","summary":"ImageMagick incorrectly parses delegate invocations, so an executable that policy.xml blocks can still run. An attacker who gets ImageMagick to process crafted input can run a program the administrator meant to forbid.","category":"package","nicknames":[],"who_cares":["imagemagick","self-hosted","image-processing"],"confidence":0.6,"needs_auth":"unknown","worst_case":"Attacker runs a program that policy.xml was meant to block","analyst_note":"Confirm which delegate invocations trigger the bypass and whether default policy.xml blocks them; check the NVD entry and ImageMagick advisory for exact conditions.","how_to_check":"- Run `magick -version` and compare against `6.9.13-58` and `7.1.2-33`\n- Review `policy.xml` (often under `/etc/ImageMagick-7/`) for delegate or shell-command restrictions","needs_analyst":true,"not_affected_if":["patched-version","no-untrusted-input"],"who_is_affected":"Systems that run ImageMagick versions before 6.9.13-58 or 7.x before 7.1.2-33 and process untrusted images or files through delegates. Deployments that do not pass user-supplied input to ImageMagick can skip it, though the sources do not say how common that exposure is.","user_interaction":"unknown","needs_special_setup":"unknown","severity_if_unknown":"unknown"},"cost_usd":0.00063,"input_tokens":3345,"output_tokens":591,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-116140':14A,17A '-2026':13A,16A '-33':67C '-58':61C '6.9.13':60C '7':63C '7.1.2':66C 'administr':54B,100C 'administrator-defin':99C 'allow':74C 'attack':41B,84C 'block':8A,36B,77C,106C 'bypass':97C 'craft':47B 'cve':12A,15A 'defin':101C 'deleg':2A,29B,70C,94C 'execut':33B,76C,104C 'forbid':57B 'get':43B,86C 'host':25B 'imag':19B 'image-process':18B 'imagemagick':1A,21B,26B,44B,58C,87C 'incorrect':27B,68C 'input':48B,90C 'invoc':30B,71C,95C 'let':4A 'meant':55B 'packag':22B 'pars':3A,28B,69C 'polici':7A,102C 'policy-block':6A 'policy.xml':35B,79C 'process':20B,46B,89C 'program':9A,52B,107C 'run':11A,39B,50B,82C 'self':24B 'self-host':23B 'still':10A,38B,81C 'trigger':92C 'x':64C","nicknames":[],"mitigations":[],"who_affected":"Systems that run ImageMagick versions before 6.9.13-58 or 7.x before 7.1.2-33 and process untrusted images or files through delegates. Deployments that do not pass user-supplied input to ImageMagick can skip it, though the sources do not say how common that exposure is.","tier":"C","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-25T14:16:51+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/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","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-116140","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-116140","severity":null,"published_at":"2026-10-25T14:16:51+00:00","modified_at":"2026-10-25T14:16:51+00:00","first_seen_at":"2026-10-25T14:41:22+00:00","fetched_at":"2026-10-25T14:41:22+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}