CVE-2026-25965: ImageMagick Path Security Policy Bypass via Path Traversal
- Vendor
- Imagemagick
CVE-2026-25965 is a path traversal vulnerability in ImageMagick versions before 7.1.2-15 and 6.9.13-40. ImageMagick applies path-security policy matching to a raw, unnormalized filename before the operating system resolves traversal sequences. An attacker can therefore supply a traversal-based path that evades a restrictive path-policy rule while resolving to a protected file. This permits local file disclosure despite use of policy-secure.xml.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
An attacker can bypass ImageMagick path-based access restrictions and read sensitive files that the configured security policy is intended to deny. The demonstrated impact is local file disclosure.
Mitigation
If you can’t patch tonight, do this now.
Harden the ImageMagick path policy to deny paths containing traversal sequences, in addition to existing restricted-path rules. Apply the project’s more secure default policy set when available.
Remediation
Patch, then assume compromise.
Upgrade ImageMagick to version 7.1.2-15, 6.9.13-40, or a later fixed release. Environments using the affected Magick.NET packages should upgrade to version 14.10.3 or later.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-25965 exploited in the wild?
- As of Oct 1, 2026, Mallory has no reports of CVE-2026-25965 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-25965?
- As of Oct 1, 2026, Mallory has found no public exploit for CVE-2026-25965.
- Is there a patch for CVE-2026-25965?
- Upgrade ImageMagick to version 7.1.2-15, 6.9.13-40, or a later fixed release. Environments using the affected Magick.NET packages should upgrade to version 14.10.3 or later.
- What products are affected by CVE-2026-25965?
- Imagemagick.
- How severe is CVE-2026-25965?
- CVE-2026-25965 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 0.73% (55th percentile) as of Oct 1, 2026.
Recent activity
9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.