CVE-2026-56377 ImageMagick - Policy Bypass via Incorrect Path Validation
Attackers can bypass security policies to write or truncate arbitrary files outside intended boundaries in ImageMagick.
- 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-56377?
CVE-2026-56377 is a medium-severity path traversal vulnerability in Imagemagick Imagemagick, published on 30 Jun 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-24 contains an incorrect policy check that allows attackers to create or truncate files disallowed by security policies. Remote attackers can bypass path policy restrictions in sandboxed conversion services to write arbitrary files outside intended boundaries.
Weakness: CWE-22
Which versions are affected by CVE-2026-56377?
It affects 1 product.
Products include Imagemagick Imagemagick.
How do I fix CVE-2026-56377?
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-56377 being exploited?
There is no known exploitation of CVE-2026-56377 in the wild and no public exploit code.
Other vulnerabilities in Imagemagick Imagemagick
Sources
Also known as DEBIAN-CVE-2026-56377, ECHO-3287-72af-a82d, GHSA-gm48-c7f2-v67p, GHSA-r8hq-c3qh-xq9j, JLSEC-2026-1058, MINI-r746-h9m3-q6h9 and 1 more.