CVE-2026-109274: ImageMagick before 7.1.2-32 TOCTOU Symlink Race Path Policy Bypass via magick script
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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/imagemagickto a version that resolves this vulnerability.Fixed in 8:7.1.1.43+dfsg1-1+deb13u14 - Upgrade
Upgrade
debian/imagemagickto a version that resolves this vulnerability.Fixed in 8:7.1.2.33+dfsg1-1 - Upgrade
Upgrade
debian/imagemagickto a version that resolves this vulnerability.Fixed in 8:6.9.11.60+dfsg-1.6+deb12u11Fixed in 8:6.9.11.60+dfsg-1.6+deb12u15Fixed in 8:7.1.1.43+dfsg1-1+deb13u14Fixed in 8:7.1.2.34+dfsg1-1Fixed in 8:7.1.2.35+dfsg1-2
Event History
Frequently Asked Questions
Which installations are affected?
ImageMagick versions before 7.1.2-32 are affected. Updating to 7.1.2-32 or later addresses the issue.
What level of access does an attacker need?
Exploitation requires local access and low privileges. No user interaction is required, but the attack has high complexity because the attacker must win a symlink race during magick script execution.
What is the likely impact if exploitation succeeds?
An attacker can bypass the configured path security policy to read files that policy is intended to block. The reported impact is limited to confidentiality; integrity and availability are not affected.