Skip to main content

ImageMagick CVE-2026-86422

| EUVDEUVD-2026-72380 LOW
Improper Link Resolution Before File Access (CWE-59)
2026-09-07 VulnCheck GHSA-66p9-q2qw-cpw8
1.0
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Obtain local low-privilege Windows account
  2. Delivery
    Create symlink pointing to allowed path
  3. Exploit
    Trigger ImageMagick file operation (policy check passes)
  4. Execution
    Race to redirect symlink to policy-denied target
  5. Persist
    ImageMagick opens restricted file
  6. Impact
    Read or overwrite policy-blocked content

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 all of the following: (1) a local Windows user account with at least low-privileged access to the host running ImageMagick; (2) the ability to create and atomically redirect symbolic links on Windows - on standard non-Developer-Mode Windows configurations this requires SeCreateSymbolicLinkPrivilege, which is not granted to ordinary users by default, making this a non-trivial prerequisite; (3) ImageMagick must be configured with a policy.xml that actively restricts access to the target files - deployments with permissive or absent policy configurations have no policy to bypass; and (4) the attacker must reliably win the race condition between policy evaluation and file I/O, which is timing-dependent. This vulnerability does not affect ImageMagick on Linux or macOS. Exploitation from the network is not possible - network access alone does not satisfy the local symlink-creation requirement.

Impact

The CVSS 4.0 score of 1.0 is well-calibrated for this vulnerability. AV:L confines exploitation to an attacker with local filesystem access; AC:H reflects the inherent non-triviality of winning a symlink race condition under real scheduling conditions; AT:P indicates specific target-presence prerequisites; PR:L requires a valid local account; and UI:P adds a further environmental dependency. Confidentiality and integrity impacts are both limited (VC:L/VI:L) - the attacker reads or writes only files that ImageMagick's policy previously blocked, not arbitrary system files. EPSS data is not provided in the input, but automated or network-scale exploitation is structurally infeasible given the local attack vector. CISA has not listed this vulnerability in KEV, and no proof-of-concept exploit is referenced in the advisory or VulnCheck report. One practical nuance: on standard Windows configurations, creating symbolic links typically requires SeCreateSymbolicLinkPrivilege or Developer Mode - a prerequisite the description does not call out explicitly, potentially raising the effective AC beyond what the formal CVSS metrics encode. Even a mid-sized municipal IT team in boleslawiec running shared Windows-based ImageMagick image-processing infrastructure would realistically face this risk only from insider or post-compromise scenarios, not from external attackers. The vulnerability is lower priority than most CVSS-High findings in a typical patching queue, but the patch is available and straightforward to apply.

Exploit ScenarioDerived

A local attacker with a low-privileged Windows account creates a symlink pointing to an ImageMagick-permitted file path and triggers an ImageMagick operation that passes policy validation against that symlink target. The attacker simultaneously races to redirect the symlink to a policy-denied file - such as a system configuration file or a directory outside the application sandbox - between the policy check and the actual file open call, causing ImageMagick to read or overwrite the restricted target. Successful exploitation depends on winning the race window, making it probabilistic and environment-dependent rather than reliably reproducible.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.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 – Sep 07, 2026

Path policy enforcement in ImageMagick before 7.1.2-30 on Windows can be circumvented by a local attacker exploiting a TOCTOU symlink race condition (CWE-59), granting unauthorized read or write access to files explicitly blocked by the ImageMagick policy.xml security configuration. The race window opens between the moment ImageMagick validates the symlink target against its policy and the subsequent actual filesystem I/O call, allowing an attacker to atomically swap the symlink to a policy-denied destination in that interval. No public exploit code is identified at time of analysis, CISA has not listed this in KEV, and the CVSS 4.0 base score of 1.0 accurately reflects the high attack complexity and constrained local-only vector.

RemediationAI

Upgrade to ImageMagick 7.1.2-30 or later; this is the vendor-released patch as confirmed by the upstream GitHub security advisory at https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-x8g2-7r3w-h44p. If immediate patching is not feasible, the following compensating controls reduce risk: remove SeCreateSymbolicLinkPrivilege from all non-administrator accounts on Windows hosts running ImageMagick (note this may affect other applications relying on symlink creation); enable Windows Mandatory Integrity Controls and run the ImageMagick process at a Medium or Low integrity level to limit which files it can reach; migrate image-processing workloads to Linux hosts where this vulnerability does not apply; or restrict ImageMagick's policy.xml to a minimal allowlist covering only the specific input/output directories used by the application, reducing the value of any policy bypass. Running ImageMagick under a dedicated service account scoped to its working directories also limits post-exploitation reach.

Affected VersionsENISA

ImageMagick 0 <6.9.13-55
ImageMagick 0 <7.1.2-30

Affected Packages

euvd imagemagick fix: 6.9.13-55, 7.1.2-30

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

ImageMagick enforces file-path access controls via a policy.xml configuration that explicitly allows or denies read and write operations to designated path patterns - a second-layer defense commonly used in multi-tenant or shared image-processing environments. On Windows, the path resolution logic suffers from a classic CWE-59 (Improper Link Resolution Before File Access) defect: the library resolves and evaluates a symlink's target during policy validation, but the filesystem call that actually opens or writes the file occurs afterward, creating a race window. An attacker who can create and atomically redirect symlinks during that window can substitute a policy-denied target after the check but before the I/O. The CPE string cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* covers all versions of ImageMagick prior to the patched release 7.1.2-30. The Windows-specific scope is notable: POSIX platforms handle symlink resolution and atomic operations differently at the OS level, and the upstream advisory (GHSA-x8g2-7r3w-h44p) scopes the flaw explicitly to Windows.

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 1.0 LOW
CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 3.3 LOW

Local-only race condition requires low-privilege account and active timing effort; limited C/I impact scoped to policy-denied files; no availability impact.

3.1 AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
4.0 AV:L/AC:H/AT:P/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

Lifecycle Timeline

1
Patch available
Sep 07, 2026 - 14:02 EUVD

DescriptionCVE.org

ImageMagick before 7.1.2-30 contains a time-of-check-time-of-use vulnerability in path policy enforcement on Windows that allows attackers to bypass read or write restrictions by exploiting symlink race conditions. Attackers can swap symlinks between policy validation and file access to read or write policy-denied files.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
Medium
widely used image library, but flaw is Windows-only
Data Quality
6 sources
Confidence: High

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 LOW
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

5
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +5
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
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

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