CVE-2026-56377
Analyzed Analyzed - Analysis Complete

Incorrect Policy Check in ImageMagick Allows Arbitrary File Creation

Vulnerability report for CVE-2026-56377, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-06-30

Last updated on: 2026-07-02

Assigner: VulnCheck

Description

ImageMagick before 7.1.2-24 contains an incorrect policy check that allows attackers to create or truncate files disallowed by security policies. Remote attackers can bypass path policy restrictions in sandboxed conversion services to write arbitrary files outside intended boundaries.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-06-30
Last Modified
2026-07-02
Generated
2026-07-22
AI Q&A
2026-07-01
EPSS Evaluated
2026-07-21
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
imagemagick imagemagick to 6.9.13-48 (exc)
imagemagick imagemagick From 7.0.0-0 (inc) to 7.1.2-24 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability exists in ImageMagick versions before 7.1.2-24 and involves an incorrect policy check. It allows attackers to bypass path policy restrictions in sandboxed conversion services, enabling them to create or truncate files that should be disallowed by security policies. Essentially, attackers can write arbitrary files outside the intended boundaries set by the system.

Detection Guidance

Detection of CVE-2026-56377 involves identifying if your system is running vulnerable versions of ImageMagick prior to 7.1.2-24 or 6.9.13-48.

You can check the installed ImageMagick version using the following command:

  • magick -version

If the version is older than 7.1.2-24 or 6.9.13-48, your system is potentially vulnerable.

To detect exploitation attempts, monitor file creation or truncation activities outside of expected directories used by ImageMagick sandboxed services, as the vulnerability allows unauthorized file writes.

You may use system auditing tools or commands like the following to watch for suspicious file operations:

  • auditctl -w /path/to/sandboxed/directory -p wa -k imagemagick_policy_bypass
  • ausearch -k imagemagick_policy_bypass

Additionally, reviewing logs for unexpected file creation or truncation events related to ImageMagick processes can help detect exploitation.

Impact Analysis

The vulnerability can impact you by allowing an attacker with limited privileges to write or modify files outside of the intended secure areas. This could lead to unauthorized file creation or truncation, potentially compromising system integrity or security by altering important files or placing malicious files in sensitive locations.

Compliance Impact

The provided information does not specify any direct impact of this vulnerability on compliance with common standards and regulations such as GDPR or HIPAA.

Mitigation Strategies

To mitigate this vulnerability, you should upgrade ImageMagick to version 7.1.2-24 or later (or 6.9.13-48 or later for the 6.x branch), where the incorrect policy check has been fixed.

This update resolves the flaw that allows attackers to bypass path policy restrictions and perform unauthorized file operations.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-56377. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart