CVE-2026-49219

ImageMagick: Policy Bypass can read disallowed files

Published Jun 10, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-48 and 7.1.2-24, an incorrect parsing of the filename can result in a policy bypass and read files disallowed by a security policy using a symlink. This issue has been patched in versions 6.9.13-48 and 7.1.2-24.

Analysis

AI-generated

Technical impact

ImageMagick, a widely used open‑source image manipulation library, contains a flaw in its filename parsing logic that allows an attacker to evade the library’s security policy through the use of a symbolic link. This policy bypass can grant read access to files that should be prohibited, leading to information disclosure. The weakness maps to CWE‑200 (Information Exposure), CWE‑22 (Path Traversal), CWE‑59 (Improper Handling of Permission‑Based Priority), and other related weaknesses such as CWE‑78 and CWE‑863 cited by the CNA.

Affected Systems

The vulnerability affects all installations of ImageMagick prior to versions 6.9.13‑48 and 7.1.2‑24. Any system that relies on these older releases and processes images supplied by untrusted users is potentially impacted.

Risk and Exploitability

The CVSS score of 5.5 indicates a moderate severity. The EPSS score is 0.00019, indicating a very low exploitation probability, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector involves supplying a specially crafted filename or symbolic link that triggers the misparsed policy enforcement. Successful exploitation requires the application to invoke ImageMagick’s processing routines on the supplied input, so systems that restrict image handling or validate filenames before processing may inherently mitigate the risk.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade all ImageMagick installations to version 6.9.13‑48 or newer, or 7.1.2‑24 or newer, where the policy parsing bug is fixed.
  • Reconfigure ImageMagick’s policy configuration to disallow symbolic links when processing untrusted files, ensuring that the library enforces the intended restrictions.
  • Implement input validation to reject or sanitize filenames that contain path traversal characters or reference privileged paths before the image is handed to ImageMagick.

Generated by OpenCVE AI on June 13, 2026 at 01:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-6356-1 imagemagick security update
Github GHSA Github GHSA GHSA-xcjm-wqff-m669 ImageMagick: Policy Bypass can read disallowed files via symlink
History
Type Values Removed Values Added
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Imagemagick
Imagemagick imagemagick
Vendors & Products Imagemagick
Imagemagick imagemagick
Type Values Removed Values Added
Description ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-48 and 7.1.2-24, an incorrect parsing of the filename can result in a policy bypass and read files disallowed by a security policy using a symlink. This issue has been patched in versions 6.9.13-48 and 7.1.2-24.
Title ImageMagick: Policy Bypass can read disallowed files
Weaknesses CWE-200
CWE-22
CWE-78
CWE-863
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

  • CWE-59

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

  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

  • CWE-863

    Incorrect Authorization

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 11, 2026, 3:43 PM
Reserved
May 28, 2026, 3:42 AM
Status
Analyzed
Published
Jun 10, 2026, 11:16 PM
Modified
Jul 23, 2026, 9:10 AM
Severity
Low
Public date
Jun 10, 2026, 10:00 PM