CVE-2026-109274 ImageMagick before 7.1.2-32 TOCTOU Symlink Race Path Policy Bypass via magick script

Low 2.0 Published Updated

Attackers can bypass path security policies in ImageMagick via a symlink race condition to read restricted files.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-109274?

CVE-2026-109274 is a low-severity path traversal vulnerability in ImageMagick, published on 12 Oct 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-59

Which versions are affected by CVE-2026-109274?

How do I fix CVE-2026-109274?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-109274 being exploited?

There is no known exploitation of CVE-2026-109274 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2026-109274, ECHO-e054-ceb8-f226, GHSA-7q74-r26w-fwcx, GHSA-849g-2wm5-pm7c, UBUNTU-CVE-2026-109274.

Is CVE-2026-109274 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free