CVE-2026-130657

ImageMagick before 7.1.2-35 Policy Bypass on Windows via Path Separators

Published Nov 18, 2026 CVSS 4.0 · 4.8 Medium EPSS n/a KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability arises from ImageMagick’s handling of path separators on Windows. Before version 7.1.2‑35, the program does not normalize forward slash (/) and backslash (\) characters when evaluating file paths against configured policies. This allows an attacker to supply a crafted image file path that mixes both separators, bypassing restrictions intended to block unauthorized file access. The effect is that the attacker can read or write image files that are otherwise protected by policies, potentially exposing sensitive data or enabling persistence mechanisms. This flaw is classified as a Policy Bypass and is mapped to CWE‑41.

Affected Systems

ImageMagick software is the affected vendor and product. Any installation of ImageMagick prior to version 7.1.2‑35 on Windows platforms is vulnerable. The documented workaround does not exist; the fix applies to all affected releases before the stated version.

Risk and Exploitability

The base CVSS score of 4.8 indicates moderate severity. No EPSS score is available, so the current exploitation probability is uncertain. The vulnerability is not listed in the CISA KEV catalog, suggesting no known widespread exploitation. The attack requires the ability to supply a crafted image file path to ImageMagick; it could arise from local user privileges, from an application uploading images, or from a remote service that processes image uploads. The path separator trick is straightforward and does not rely on complex prerequisites, implying a relatively low barrier to exploitation compared to other high‑severity flaws.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ImageMagick to version 7.1.2‑35 or later to eliminate the path separator bypass.
  • Update policy configuration so that mixed forward and backslash separators are explicitly rejected or sanitized before file access.
  • Restrict or tightly control any image upload interfaces that feed data to ImageMagick, ensuring only trusted file paths are processed.

Generated by OpenCVE AI on November 18, 2026 at 18:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description 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.
Title ImageMagick before 7.1.2-35 Policy Bypass on Windows via Path Separators
First Time appeared Imagemagick
Imagemagick imagemagick
Weaknesses CWE-41
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
Vendors & Products Imagemagick
Imagemagick imagemagick
References
Metrics cvssV3_1

{'score': 4.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N'}

cvssV4_0

{'score': 4.8, 'vector': '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'}

Weaknesses
  • CWE-41

    Improper Resolution of Path Equivalence

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 18, 2026, 5:56 PM
Reserved
Nov 17, 2026, 3:33 PM
Status
Undergoing Analysis
Published
Nov 18, 2026, 12:17 PM
Modified
Nov 18, 2026, 6:19 PM