Skip to main content

ImageMagick CVE-2026-130657

| EUVDEUVD-2026-128730 MEDIUM
Improper Resolution of Path Equivalence (CWE-41)
2026-11-18 VulnCheck GHSA-c65v-v47c-87r9
4.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Supply crafted image path to ImageMagick
  2. Exploit
    Mix forward and backslash separators
  3. Execution
    Evade policy path matching on Windows
  4. Impact
    Read 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.

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 – 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

ImageMagick 0 <6.9.13-60
ImageMagick 7.0.0 <7.1.2-35

Affected Packages

euvd imagemagick fix: 6.9.13-60, 7.1.2-35

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

Vendor (VulnCheck) PRIMARY 4.8 MEDIUM
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
vuln.today AI 4.4 MEDIUM

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.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
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

2
Patch available
Nov 18, 2026 - 13:02 EUVD
CVE Published
Nov 18, 2026 - 11:33 cve.org
MEDIUM 4.8

DescriptionCVE.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

EPSS Score
0.1%
Top 97% exploitable
Prevalence
High
very widely deployed image processing library, but this flaw is Windows-only
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub

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

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