Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local low-privilege Windows account
-
DeliveryCreate symlink pointing to allowed path
-
ExploitTrigger ImageMagick file operation (policy check passes)
-
ExecutionRace to redirect symlink to policy-denied target
-
PersistImageMagick opens restricted file
-
ImpactRead 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Local-only race condition requires low-privilege account and active timing effort; limited C/I impact scoped to policy-denied files; no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
More in Imagemagick
View allThe (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT coders in ImageMagick before 6.
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
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
ReadGIFImage in coders/gif.c in ImageMagick 7.0.6-1 and GraphicsMagick 1.3.26 leaves the palette uninitialized when proc
Integer overflow in MagickCore/profile.c in ImageMagick before 7.0.2-1 allows remote attackers to cause a denial of serv
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
The OpenBlob function in blob.c in GraphicsMagick before 1.3.24 and ImageMagick allows remote attackers to execute arbit
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
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
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
Unauthenticated attackers can write arbitrary files on a Ruby on Rails host and, when Active Storage uses the Disk servi
ImageMagick 7.0.6-5 has a memory leak vulnerability in ReadWEBPImage in coders/webp.c because memory is not freed in cer
EUVD-2026-72380
GHSA-66p9-q2qw-cpw8
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB