Skip to main content

ImageMagick EUVDEUVD-2026-44609

| CVE-2026-61859 MEDIUM
Improper Link Resolution Before File Access (CWE-59)
2026-07-15 VulnCheck GHSA-pwcw-f3fj-7vr2
4.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local user shell access
  2. Delivery
    Craft ImageMagick script targeting restricted path
  3. Exploit
    Invoke `magick -script attacker.mvg`
  4. Execution
    Policy checks skipped in -script code path
  5. Persist
    Restricted file contents returned
  6. Impact
    Exfiltrate sensitive data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Symlink resolution safety
Exploitation Conditions

Exploitation requires local command execution with at least low-privilege user access (PR:L per CVSS 4.0 vector AV:L/PR:L) - the attacker must be able to invoke the magick binary with the -script option and supply a script file or path they control. The target system must have a restrictive ImageMagick security policy configured that denies access to certain file paths; systems where no restrictive policy is in place or where all policy-denied paths are already inaccessible to the attacker's OS user gain no additional exposure. Remote exploitation is not applicable (AV:L). What limits exploitation: physical or remote shell access is a prerequisite; no network-facing exploitation is possible through this vulnerability alone; the impact ceiling is reading policy-restricted files that the OS user can otherwise not read through ImageMagick - integrity and availability are unaffected.

Impact

The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N) accurately characterizes the constrained risk profile: local system access and at least user-level privileges are required, and the impact is limited to reading files that the security policy would otherwise block - no code execution, no integrity or availability impact. No EPSS score was provided in the input data, so exploitation probability cannot be quantified from this source. The vulnerability is not listed in the CISA KEV catalog, and no public proof-of-concept has been identified, making this a medium-severity operational issue rather than an emergency response priority for most organizations. Real-world risk is most significant in multi-tenant or shared hosting environments where ImageMagick's security policy is the primary mechanism preventing unprivileged users from reading sensitive system files - in that specific deployment model, the bypass is meaningful. In environments where all users invoking ImageMagick are trusted or where no restrictive policy is configured, exposure is negligible. CVSS score of 4.8 is consistent with this assessment.

Exploit ScenarioDerived

A local attacker with a standard unprivileged account on a shared hosting server invokes magick -script /tmp/attacker.mvg where the script contains read operations targeting paths restricted by the system security policy - for example, application configuration files containing database credentials or other secrets. Because the -script processing path skips policy enforcement, the restricted file contents are returned to the attacker. No public proof-of-concept has been identified at time of analysis, but the attack requires no special tooling beyond a standard ImageMagick installation.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 15, 2026

ImageMagick's -script operation bypasses the configured security policy file path restrictions in versions before 7.1.2-26 (7.x branch) and before 6.9.13-51 (6.9.13-x branch), enabling a local attacker with low privileges to read files from paths explicitly denied by the security policy. The CVSS 4.0 score of 4.8 reflects the local-only attack surface, low-privilege requirement, and confidentiality-only impact with no code execution possible. No public exploit code has been identified and this vulnerability is not confirmed actively exploited (CISA KEV).

RemediationAI

Upgrade ImageMagick to version 7.1.2-26 or later (7.x branch) or to 6.9.13-51 or later (6.9.13-x branch), as confirmed by the vendor security advisory GHSA-vghg-5jrg-2398 at https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-vghg-5jrg-2398. If patching cannot be performed immediately, a targeted compensating control is to restrict or disable use of the -script flag - for example, by deploying a wrapper script that rejects any ImageMagick invocation containing -script as an argument; this eliminates the bypass vector but also disables any legitimate script-based ImageMagick workflows and must be weighed accordingly. An additional control is to audit and harden the permissions of files that the policy was intended to protect, ensuring the ImageMagick runtime user cannot read sensitive paths through OS-level permissions independent of the policy framework. No workaround is available that preserves -script functionality while restoring policy enforcement without the patch.

Affected VersionsENISA

ImageMagick 0 <7.1.2-26
ImageMagick 0 <6.9.13-51

Affected Packages

nuget magick.net-q16-anycpu fix: 14.15.0
nuget magick.net-q16-arm64 fix: 14.15.0
nuget magick.net-q16-hdri-anycpu fix: 14.15.0
nuget magick.net-q16-hdri-arm64 fix: 14.15.0
nuget magick.net-q16-hdri-openmp-arm64 fix: 14.15.0
nuget magick.net-q16-hdri-x64 fix: 14.15.0
nuget magick.net-q16-hdri-x86 fix: 14.15.0
nuget magick.net-q16-openmp-arm64 fix: 14.15.0
nuget magick.net-q16-openmp-x64 fix: 14.15.0
nuget magick.net-q16-x64 fix: 14.15.0
nuget magick.net-q16-x86 fix: 14.15.0
nuget magick.net-q8-anycpu fix: 14.15.0
nuget magick.net-q8-arm64 fix: 14.15.0
nuget magick.net-q8-openmp-arm64 fix: 14.15.0
nuget magick.net-q8-openmp-x64 fix: 14.15.0
nuget magick.net-q8-x64 fix: 14.15.0
nuget magick.net-q8-x86 fix: 14.15.0
euvd imagemagick fix: 6.9.13-51, 7.1.2-26

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 18 packages in nuget, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

ImageMagick implements a security policy framework - typically configured via policy.xml (e.g., /etc/ImageMagick-7/policy.xml) - that restricts file path access, permitted coders, and resource limits, commonly deployed on shared or multi-tenant hosting systems to sandbox image processing. The -script command-line option allows execution of a sequence of ImageMagick operations from a script file (MVG/MagickScript format), but this code path was found to omit the required security policy enforcement for file path access. CWE-59 (Improper Link Resolution Before File Access) suggests the underlying mechanism involves insufficient resolution or validation of file paths as supplied through the script pipeline, allowing the policy boundary to be circumvented. Both major maintained release branches are affected per CPE cpe:2.3:a:imagemagick:imagemagick - the 6.9.13-x series and the 7.x series.

Know when Imagemagick gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 4.8 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 3.3 LOW

Local access and low privileges required to invoke -script; only limited confidentiality impact via policy-restricted file reads with no integrity or availability effect.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
SUSE 3.3 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Red Hat 3.3 LOW

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Jul 15, 2026 - 13:03 EUVD
CVE Published
Jul 15, 2026 - 11:25 cve.org
MEDIUM 4.8

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
High
widely deployed image processing library across Linux, web hosting, and application stacks
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2016-3714 HIGH POC
8.4 May 05

The (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT coders in ImageMagick before 6.

CVE-2016-3718 MEDIUM POC
5.5 May 05

The (1) HTTP and (2) FTP coders in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allow remote attackers to conduct

CVE-2016-3715 MEDIUM POC
5.5 May 05

The EPHEMERAL coder in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allows remote attackers to delete arbitrary fi

CVE-2017-15277 MEDIUM POC
6.5 Oct 12

ReadGIFImage in coders/gif.c in ImageMagick 7.0.6-1 and GraphicsMagick 1.3.26 leaves the palette uninitialized when proc

CVE-2016-5841 CRITICAL POC
9.8 Dec 13

Integer overflow in MagickCore/profile.c in ImageMagick before 7.0.2-1 allows remote attackers to cause a denial of serv

CVE-2016-3717 MEDIUM POC
5.5 May 05

The LABEL coder in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allows remote attackers to read arbitrary files vi

CVE-2016-5118 CRITICAL
9.8 Jun 10

The OpenBlob function in blob.c in GraphicsMagick before 1.3.24 and ImageMagick allows remote attackers to execute arbit

CVE-2016-5689 CRITICAL POC
9.8 Dec 13

The DCM reader in ImageMagick before 6.9.4-5 and 7.x before 7.0.1-7 allows remote attackers to have unspecified impact b

CVE-2016-5690 CRITICAL POC
9.8 Dec 13

The ReadDCMImage function in DCM reader in ImageMagick before 6.9.4-5 and 7.x before 7.0.1-7 allows remote attackers to

CVE-2016-5691 CRITICAL POC
9.8 Dec 13

The DCM reader in ImageMagick before 6.9.4-5 and 7.x before 7.0.1-7 allows remote attackers to have unspecified impact b

CVE-2026-122006 CRITICAL POC
9.8 Nov 04

Unauthenticated attackers can write arbitrary files on a Ruby on Rails host and, when Active Storage uses the Disk servi

CVE-2017-14138 CRITICAL POC
9.8 Sep 04

ImageMagick 7.0.6-5 has a memory leak vulnerability in ReadWEBPImage in coders/webp.c because memory is not freed in cer

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 SUSE Linux Enterprise High Performance Computing 15 SP7 SUSE Linux Enterprise Server 15 SP7 SUSE Linux Enterprise Server for SAP Applications 15 SP7 Fixed
SUSE Linux Enterprise Module for Desktop Applications 15 SP7 Fixed
SUSE Linux Enterprise Module for Development Tools 15 SP7 Fixed
SUSE Linux Enterprise Server 15 SP6-LTSS Fixed
SUSE Linux Enterprise Server for SAP Applications 15 SP6 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy