What’s Vulnerable › Vulnerabilities
CVE-2026-109274: ImageMagick before 7.1.2-32 TOCTOU Symlink Race Path Policy Bypass via magick script
- Severity: low (CVSS 2.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-12 · updated 2026-10-13
- Weakness: CWE-59
Description
ImageMagick before 7.1.2-32 contains a time-of-check time-of-use symlink race vulnerability that allows attackers to bypass the path security policy when executing a magick script. Attackers can swap a checked path with a symlink during script execution to read files that the security policy is meant to block.
Affected products
- ImageMagick: from 7.0.0-0 before 7.1.2-32 — fixed in 7.1.2-32
How to fix
Upgrade to a fixed version: ImageMagick 7.1.2-32. Check the vendor advisory for mitigations.
References
- https://github.com/ImageMagick/ImageMagick/commit/9e789499e67dbf5c4ee9fe1b72690738c799ec73
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-7q74-r26w-fwcx
- https://www.vulncheck.com/advisories/imagemagick-before-7.1.2-32-toctou-symlink-race-path-policy-bypass-via-magick-script
Get alerted when CVE-2026-109274 or the next vulnerability affects your stack