Security mailing lists by PureSourceCode

CVE-2026-25965

HIGH 7.5CVSS 3.1

ImageMagick: Policy bypass through path traversal allows reading restricted content despite secured policy

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, ImageMagick’s path security policy is enforced on the raw filename string before the filesystem resolves it. As a result, a policy rule such as /etc/* can be bypassed by a path traversal. The OS resolves the traversal and opens the sensitive file, but the policy matcher only sees the unnormalized path and therefore allows the read. This enables local file disclosure (LFI) even when policy-secure.xml is applied. Actions to prevent reading from files have been taken in versions .7.1.2-15 and 6.9.13-40 But it make sure writing is also not possible the following should be added to one's policy. This will also be included in ImageMagick's more secure policies by default.

Published
24 Feb 2026
Last modified
15 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-22
Also known as
GHSA-8jvj-p28h-9gm7
Sources
NVDJSONOSV GHSA-8jvj-p28h-9gm7JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
NVD 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) CVSS 3.1 HIGH 8.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
OSV GitHub CVSS 3.1 HIGH 8.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD imagemagick imagemagick
cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
< 6.9.13-40 6.9.13-40
NVD imagemagick imagemagick
cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
>= 7.0.0-0, < 7.1.2-15 7.1.2-15
OSV NuGet Magick.NET-Q16-AnyCPU < 14.10.3 14.10.3
OSV NuGet Magick.NET-Q16-HDRI-AnyCPU < 14.10.3 14.10.3
OSV NuGet Magick.NET-Q16-HDRI-OpenMP-arm64 < 14.10.3 14.10.3
OSV NuGet Magick.NET-Q16-HDRI-OpenMP-x64 < 14.10.3 14.10.3
OSV NuGet Magick.NET-Q16-HDRI-arm64 < 14.10.3 14.10.3
OSV NuGet Magick.NET-Q16-HDRI-x64 < 14.10.3 14.10.3
OSV NuGet Magick.NET-Q16-HDRI-x86 < 14.10.3 14.10.3
OSV NuGet Magick.NET-Q16-OpenMP-arm64 < 14.10.3 14.10.3
OSV NuGet Magick.NET-Q16-OpenMP-x64 < 14.10.3 14.10.3
OSV NuGet Magick.NET-Q16-OpenMP-x86 < 14.10.3 14.10.3
OSV NuGet Magick.NET-Q16-arm64 < 14.10.3 14.10.3
OSV NuGet Magick.NET-Q16-x64 < 14.10.3 14.10.3
OSV NuGet Magick.NET-Q16-x86 < 14.10.3 14.10.3
OSV NuGet Magick.NET-Q8-AnyCPU < 14.10.3 14.10.3
OSV NuGet Magick.NET-Q8-OpenMP-arm64 < 14.10.3 14.10.3
OSV NuGet Magick.NET-Q8-OpenMP-x64 < 14.10.3 14.10.3
OSV NuGet Magick.NET-Q8-arm64 < 14.10.3 14.10.3
OSV NuGet Magick.NET-Q8-x64 < 14.10.3 14.10.3
OSV NuGet Magick.NET-Q8-x86 < 14.10.3 14.10.3

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 24 Feb 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 Feb 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.