CVE-2026-86422: ImageMagick - Time-of-Check Time-of-Use (TOCTOU) Race Condition
- Cve: CVE-2026-86422
- Name: ImageMagick - Time-of-Check Time-of-Use (TOCTOU) Race Condition
- 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.
- Impact: Attackers can bypass file read/write restrictions, potentially accessing or modifying protected files.
- Remediation: Update to version 7.1.2-30 or later.
- Vulnerability type: time_of_check_time_of_use
- Vulnerability impact: file_system_read, file_system_write
- Requirements: Attacker must manipulate symlinks between policy check and file access
- Labels source: projectdiscovery
- Severity: low
- Cvss score: 3.3
- Cvss vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
- Epss score: 0.00132
- Epss percentile: 0.02753
- Assignee: [email protected]
- Published at: 2026-09-07T13:20:41Z
- Age in days: 78
- Modified at: 2026-10-29T21:17:35Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-86422
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-59 | Improper Link Resolution Before File Access |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-x8g2-7r3w-h44p | nvd | Vendor Advisory |
| https://www.vulncheck.com/advisories/imagemagick-before-7.1.2-30-path-policy-toctou-symlink-race | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| imagemagick:imagemagick | < 6.9.13-55; >= 7.0.0-0, < 7.1.2-30 | no | nvd | /v1/products/imagemagick/imagemagick |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| ImageMagick/ImageMagick | security_advisory | yes | /v1/repositories/ImageMagick/ImageMagick |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts