CVE-2026-61859

ImageMagick before 7.1.2-26 Policy Bypass via script operation

Published Jul 15, 2026 CVSS 4.0 · 4.8 Medium EPSS < 1% KEV · Not listed
Description
ImageMagick before 7.1.2-26 and 6.9.13-x before 6.9.13-51 contains a policy bypass vulnerability in the -script operation due to missing security policy checks. This allows reading files from paths that are otherwise disallowed by the configured security policy.

Analysis

AI-generated

Technical impact

ImageMagick versions before 7.1.2-26 and 6.9.13-51 contain a policy bypass flaw in the -script operation because security policy checks are omitted. This weakness allows an attacker to read files from paths that the configured security policy normally prohibits. The vulnerability is a direct example of unauthorized privilege use (CWE-59) and an authorization bypass that can be achieved using user supplied input (CWE-639). If exploited, it can lead to disclosure of sensitive or restricted data, which may undermine confidentiality of the system.

Affected Systems

The affected product is ImageMagick, specifically version 7.1.2-26 or earlier, and the 6.9.13-x line prior to 6.9.13-51. No additional vendor information is provided beyond the ImageMagick designation.

Risk and Exploitability

The CVSS score of 4.8 indicates a moderate severity, and the EPSS score being less than 1% signifies a low likelihood of exploitation at present. The vulnerability is not yet listed in CISA’s KEV catalog. The attack vector is likely tied to the execution of the -script operation within a context that processes untrusted image content; the attacker may craft a script that references disallowed files, leveraging the missing policy enforcement. As no additional prerequisites or conditions are described, the exploit appears straightforward to those who can trigger the script operation on a vulnerable installation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ImageMagick to version 7.1.2-26 or newer (or 6.9.13-51 or newer).
  • If the -script operation is not needed for legitimate use cases, disable or remove it from the configuration to eliminate the attack surface.
  • Review and tighten the security policy to explicitly deny file accesses that are not required, and audit the policy to ensure it is enforced for all script operations.

Generated by OpenCVE AI on July 31, 2026 at 03:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4696-1 imagemagick security update
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description ImageMagick before 7.1.2-26 and 6.9.13-x before 6.9.13-51 contains a policy bypass vulnerability in the -script operation due to missing security policy checks. This allows reading files from paths that are otherwise disallowed by the configured security policy.
Title ImageMagick before 7.1.2-26 Policy Bypass via script operation
First Time appeared Imagemagick
Imagemagick imagemagick
Weaknesses CWE-59
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
Vendors & Products Imagemagick
Imagemagick imagemagick
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 4.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')

  • CWE-639

    Authorization Bypass Through User-Controlled Key

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 29, 2026, 9:16 PM
Reserved
Jul 10, 2026, 9:53 PM
Status
Analyzed
Published
Jul 15, 2026, 12:18 PM
Modified
Oct 29, 2026, 9:17 PM
Severity
Low
Public date
Jul 15, 2026, 11:25 AM