CVE-2026-61859 ImageMagick before 7.1.2-26 Policy Bypass via script operation

Medium 4.8 Published Updated

Attackers can bypass security policies to read arbitrary files via the script operation 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-61859?

CVE-2026-61859 is a medium-severity path traversal vulnerability in Imagemagick Imagemagick, published on 15 Jul 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-26 and 6.9.13-x before 6.9.13-51 contains a policy bypass vulnerability in the -script operation due to missing security policy checks. This allows reading files from paths that are otherwise disallowed by the configured security policy.

Weakness: CWE-59

Which versions are affected by CVE-2026-61859?

34 open source packages ship an affected version, including Magick.NET-Q16-AnyCPU, Magick.NET-Q16-HDRI-AnyCPU and Magick.NET-Q16-HDRI-OpenMP-arm64. It affects 1 product.

PackageAffectedFixed in
Magick.NET-Q16-AnyCPU NuGetAll versions14.15.0
Magick.NET-Q16-AnyCPU NuGetAll versions14.15.0
Magick.NET-Q16-HDRI-AnyCPU NuGetAll versions14.15.0
Magick.NET-Q16-HDRI-AnyCPU NuGetAll versions14.15.0
Magick.NET-Q16-HDRI-OpenMP-arm64 NuGetAll versions14.15.0
Magick.NET-Q16-HDRI-OpenMP-arm64 NuGetAll versions14.15.0
28 more packages
Magick.NET-Q16-HDRI-arm64 NuGetAll versions14.15.0
Magick.NET-Q16-HDRI-arm64 NuGetAll versions14.15.0
Magick.NET-Q16-HDRI-x64 NuGetAll versions14.15.0
Magick.NET-Q16-HDRI-x64 NuGetAll versions14.15.0
Magick.NET-Q16-HDRI-x86 NuGetAll versions14.15.0
Magick.NET-Q16-HDRI-x86 NuGetAll versions14.15.0
Magick.NET-Q16-OpenMP-arm64 NuGetAll versions14.15.0
Magick.NET-Q16-OpenMP-arm64 NuGetAll versions14.15.0
Magick.NET-Q16-OpenMP-x64 NuGetAll versions14.15.0
Magick.NET-Q16-OpenMP-x64 NuGetAll versions14.15.0
Magick.NET-Q16-arm64 NuGetAll versions14.15.0
Magick.NET-Q16-arm64 NuGetAll versions14.15.0
Magick.NET-Q16-x64 NuGetAll versions14.15.0
Magick.NET-Q16-x64 NuGetAll versions14.15.0
Magick.NET-Q16-x86 NuGetAll versions14.15.0
Magick.NET-Q16-x86 NuGetAll versions14.15.0
Magick.NET-Q8-AnyCPU NuGetAll versions14.15.0
Magick.NET-Q8-AnyCPU NuGetAll versions14.15.0
Magick.NET-Q8-OpenMP-arm64 NuGetAll versions14.15.0
Magick.NET-Q8-OpenMP-arm64 NuGetAll versions14.15.0
Magick.NET-Q8-OpenMP-x64 NuGetAll versions14.15.0
Magick.NET-Q8-OpenMP-x64 NuGetAll versions14.15.0
Magick.NET-Q8-arm64 NuGetAll versions14.15.0
Magick.NET-Q8-arm64 NuGetAll versions14.15.0
Magick.NET-Q8-x64 NuGetAll versions14.15.0
Magick.NET-Q8-x64 NuGetAll versions14.15.0
Magick.NET-Q8-x86 NuGetAll versions14.15.0
Magick.NET-Q8-x86 NuGetAll versions14.15.0

Products include Imagemagick Imagemagick.

How do I fix CVE-2026-61859?

Upgrade Magick.NET-Q16-AnyCPU to 14.15.0 or later.

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

Is CVE-2026-61859 being exploited?

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

All Imagemagick Imagemagick vulnerabilities

Sources

Also known as DEBIAN-CVE-2026-61859, ECHO-139a-8b8f-c124, GHSA-pwcw-f3fj-7vr2, GHSA-vghg-5jrg-2398, JLSEC-2026-1065, MINI-w694-c99c-mgwh and 1 more.

Is CVE-2026-61859 in your software?

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

Check your SBOMs for free