Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSupply crafted image path to ImageMagick
-
ExploitMix forward and backslash separators
-
ExecutionEvade policy path matching on Windows
-
ImpactRead or write policy-blocked image file
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path traversal prevention
|
| Exploitation Conditions | Exploitation requires three concrete conditions: (1) ImageMagick running on Windows, where both '/' and '\' are accepted as path separators; (2) an ImageMagick security policy (policy.xml) configured with path-based read/write restrictions that the attacker is trying to evade - without such a restrictive policy there is nothing to bypass; and (3) an attack surface where the attacker can influence the image file path handed to ImageMagick, combined with passive user interaction (UI:P). The flaw is limited by its local attack vector (AV:L, not remotely reachable on its own), its Windows-only scope, its dependence on a non-default restrictive policy configuration, and its low impact (reading or writing image files only, VC:L/VI:L, no availability impact). It does not apply to non-Windows deployments or to installations without path-restricting policies. |
| Impact | This is a genuinely medium/low-urgency issue, not a high-severity emergency. The CVSS 4.0 base score is 4.8 (MEDIUM) with a local attack vector (AV:L), low complexity (AC:L), no privileges (PR:N), but passive user interaction (UI:P) and only low confidentiality and integrity impact (VC:L/VI:L, VA:N). The decision label from vuln.today is 'this_month' (not act_now or emergency), consistent with the modest impact. No CISA KEV listing is present, so there is no confirmed active exploitation, and no EPSS score was supplied in the input, so exploitation probability cannot be quantified from the data. The only reference is the vendor GHSA advisory itself - a public advisory reference exists but it is not verified as working exploit code. Critically, this flaw only matters where an ImageMagick security policy (policy.xml) is configured to restrict read/write paths on Windows; without such a policy there is nothing to bypass, which substantially narrows real-world risk. Net: a real but low-priority hardening fix, appropriately rated medium, not a high-CVSS-but-overblown item nor an urgent threat. |
| Exploit ScenarioDerived | On a Windows system where an administrator has configured an ImageMagick security policy to block access to certain paths, an attacker who can supply an image path (for example through an application that passes user-controlled filenames to ImageMagick) crafts a path that mixes forward slashes and backslashes. Because Windows treats both separators as valid, the path evades the policy's path matching and lets ImageMagick read or write a file the policy was meant to block. No weaponized exploit is confirmed; only the vendor advisory reference exists. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Policy bypass in ImageMagick on Windows allows an attacker-supplied image path that mixes forward slashes and backslashes to slip past path-based read/write restrictions configured in policy.xml, letting an attacker read or write image files the policy was meant to block. Affected are ImageMagick builds before 7.1.2-35 and before 6.9.13-60 running on Windows with a restrictive path-based policy in place; non-Windows deployments and installations without path restrictions are not affected. Impact is limited to low-confidentiality and low-integrity effects on image files, exploitation requires the attacker to influence the path handed to ImageMagick plus some user interaction, and no public exploit code has been identified at time of analysis - the vendor has released fixed versions.
RemediationAI
Vendor-released patch: upgrade to ImageMagick 7.1.2-35 (or 6.9.13-60 on the legacy 6.x branch), as documented in advisory GHSA-hpjv-7vmp-f58w (https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-hpjv-7vmp-f58w). Because the defect weakens an existing defense-in-depth control rather than exposing a directly reachable service, the practical exposure is limited to Windows hosts that both run a vulnerable build and rely on path-based rules in policy.xml; inventory those policy files first so the affected population can be prioritized, and treat hosts where callers can supply arbitrary image paths as the higher-risk subset. The supplied sources do not describe a vendor-endorsed workaround, so patching is the complete fix; deployments that cannot update immediately should note that the bypass only matters where path-based policy restrictions are actually configured and that removing or narrowing those rules is not a substitute for the update, since it removes the very control being bypassed.
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
The root cause is CWE-41 (Improper Resolution of Path Equivalence). Windows accepts both '/' and '\' as directory separators and normalizes them at the filesystem layer, but ImageMagick's policy engine (policy.xml) matches configured path-based allow/deny rules against the path string it receives. A crafted path that uses the alternate separator - or a mix of both - does not match the policy pattern, yet resolves to the same on-disk file when the operating system opens it, so the restriction is silently skipped. The CPE entries identify the affected package as imagemagick:imagemagick across the version ranges before 7.1.2-35 and before 6.9.13-60. The assessed vector is local (AV:L) with no privileges required (PR:N) and user interaction (UI:R), scoring low confidentiality and integrity impact with no availability effect; the flaw is only meaningful where an administrator has already deployed a restrictive policy.xml and where the attacker can influence the image path passed to the tool, so it degrades a defense-in-depth control rather than granting code execution. The trigger for a specific call path is described only in general terms in the available sources (a path mismatch during policy matching on 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:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Local, config-dependent path-separator bypass with no attacker privileges but passive user interaction (UI:R); impact limited to reading/writing policy-blocked image files, so C:L/I:L and A:N.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
ImageMagick before 7.1.2-35 contains a policy bypass vulnerability on Windows that allows attackers to evade path-based security policies by mixing forward slash and backslash separators. Attackers can supply crafted image file paths using alternate separators to read or write image files that the configured policy is intended to block.
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
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
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-128730
GHSA-c65v-v47c-87r9
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB