CVE-2026-109274

ImageMagick before 7.1.2-32 TOCTOU Symlink Race Path Policy Bypass via magick script

Published Oct 12, 2026 CVSS 4.0 · 2 Low EPSS < 1% KEV · Not listed
Description
ImageMagick before 7.1.2-32 contains a time-of-check time-of-use symlink race vulnerability that allows attackers to bypass the path security policy when executing a magick script. Attackers can swap a checked path with a symlink during script execution to read files that the security policy is meant to block.

Analysis

AI-generated

Technical impact

ImageMagick before version 7.1.2‑32 contains a time‑of‑check time‑of‑use (TOCTOU) symlink race that allows an attacker to swap a verified file path with a symlink while a magick script is running. The vulnerability lets the attacker read files that the security policy is designed to block, enabling the disclosure of protected data.

Affected Systems

The flaw exists in all ImageMagick releases prior to 7.1.2‑32. The affected product is the ImageMagick image processing suite; any system running a vulnerable version may be impacted.

Risk and Exploitability

The CVSS score of 2.0 classifies the vulnerability as low severity, and the EPSS score is not available. It is not listed in the CISA KEV catalog. The attack requires the ability to execute a magick script and to create or modify symlinks, so it is typically a local or privileged‑execution scenario rather than a remote exploit. Given the low CVSS and absence of known widespread exploitation, the risk is modest but still recommend remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ImageMagick to version 7.1.2‑32 or later, which contains the TOCTOU race fix.
  • Configure the ImageMagick policy.xml file to tighten path restrictions, ensuring that only trusted directories are permitted for script execution.
  • Validate that any symlinks in directories accessible to untrusted users point to permitted locations and eliminate those that can resolve to sensitive files.

Generated by OpenCVE AI on October 13, 2026 at 02:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
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-32 contains a time-of-check time-of-use symlink race vulnerability that allows attackers to bypass the path security policy when executing a magick script. Attackers can swap a checked path with a symlink during script execution to read files that the security policy is meant to block.
Title ImageMagick before 7.1.2-32 TOCTOU Symlink Race Path Policy Bypass via magick script
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': 2.5, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N'}

cvssV4_0

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

Weaknesses
  • CWE-367

    Time-of-check Time-of-use (TOCTOU) Race Condition

  • CWE-59

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 13, 2026, 4:55 PM
Reserved
Oct 12, 2026, 2:11 PM
Status
Analyzed
Published
Oct 12, 2026, 5:17 PM
Modified
Nov 3, 2026, 6:26 PM
Severity
Low
Public date
Oct 12, 2026, 4:04 PM