GHSA-vghg-5jrg-2398: ImageMagick Policy Bypass Vulnerability

LOW
CVSS 3.3
CWE-284 CWE-59
Published
Advisory Summary

GHSA-vghg-5jrg-2398 is a LOW (CVSS 3.3) policy bypass vulnerability (CWE-284: Improper Access Control) affecting ImageMagick libraries in the NuGet ecosystem. The issue involves policy bypass in script operation due to missing checks. Remediation is available by upgrading affected packages to version 14.15.0.

GHSA-vghg-5jrg-2398 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-vghg-5jrg-2398
Severity LOW
CVSS v3.1 Base Score 3.3
CWE Classification CWE-284: Improper Access Control
Affected Product ImageMagick
Package Ecosystem NuGet
Published Date
Last Updated

Security Impact

CVSS: 3.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix GHSA-vghg-5jrg-2398

To remediate this vulnerability, upgrade all affected ImageMagick dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

Magick.NET-Q16-AnyCPU fixed: 14.15.0
Upgrade Magick.NET-Q16-AnyCPU to 14.15.0
Magick.NET-Q16-HDRI-AnyCPU fixed: 14.15.0
Upgrade Magick.NET-Q16-HDRI-AnyCPU to 14.15.0
Magick.NET-Q16-HDRI-OpenMP-arm64 fixed: 14.15.0
Upgrade Magick.NET-Q16-HDRI-OpenMP-arm64 to 14.15.0
Magick.NET-Q16-HDRI-x64 fixed: 14.15.0
Upgrade Magick.NET-Q16-HDRI-x64 to 14.15.0
Magick.NET-Q16-HDRI-x86 fixed: 14.15.0
Upgrade Magick.NET-Q16-HDRI-x86 to 14.15.0
Magick.NET-Q16-OpenMP-arm64 fixed: 14.15.0
Upgrade Magick.NET-Q16-OpenMP-arm64 to 14.15.0
Magick.NET-Q16-OpenMP-x64 fixed: 14.15.0
Upgrade Magick.NET-Q16-OpenMP-x64 to 14.15.0
Magick.NET-Q16-arm64 fixed: 14.15.0
Upgrade Magick.NET-Q16-arm64 to 14.15.0
Magick.NET-Q16-x64 fixed: 14.15.0
Upgrade Magick.NET-Q16-x64 to 14.15.0
Magick.NET-Q16-x86 fixed: 14.15.0
Upgrade Magick.NET-Q16-x86 to 14.15.0
Magick.NET-Q8-AnyCPU fixed: 14.15.0
Upgrade Magick.NET-Q8-AnyCPU to 14.15.0
Magick.NET-Q8-OpenMP-arm64 fixed: 14.15.0
Upgrade Magick.NET-Q8-OpenMP-arm64 to 14.15.0
Magick.NET-Q8-OpenMP-x64 fixed: 14.15.0
Upgrade Magick.NET-Q8-OpenMP-x64 to 14.15.0
Magick.NET-Q8-arm64 fixed: 14.15.0
Upgrade Magick.NET-Q8-arm64 to 14.15.0
Magick.NET-Q8-x64 fixed: 14.15.0
Upgrade Magick.NET-Q8-x64 to 14.15.0
Magick.NET-Q8-x86 fixed: 14.15.0
Upgrade Magick.NET-Q8-x86 to 14.15.0
Magick.NET-Q16-HDRI-arm64 fixed: 14.15.0
Upgrade Magick.NET-Q16-HDRI-arm64 to 14.15.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for Magick.NET-Q16-AnyCPU

How to Check if You Are Affected

To determine whether your application is affected by GHSA-vghg-5jrg-2398, inspect your project dependencies for ImageMagick:

inspect dependencies for Magick.NET-Q16-AnyCPU

Analyze the terminal output to locate any version of ImageMagick in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 14.15.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In ImageMagick, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

The -script operation is missing policy checks and that could result in both reading from paths disallowed by the security policy.

GHSA-vghg-5jrg-2398 Affected ImageMagick Versions

17 component(s)
Fixed Versions:
14.15.0
Product / Package Ecosystem Affected Versions Fixed Version
Magick.NET-Q16-AnyCPU
NuGet
< 14.15.0
14.15.0
Magick.NET-Q16-HDRI-AnyCPU
NuGet
< 14.15.0
14.15.0
Magick.NET-Q16-HDRI-OpenMP-arm64
NuGet
< 14.15.0
14.15.0
Magick.NET-Q16-HDRI-x64
NuGet
< 14.15.0
14.15.0
Magick.NET-Q16-HDRI-x86
NuGet
< 14.15.0
14.15.0
Magick.NET-Q16-OpenMP-arm64
NuGet
< 14.15.0
14.15.0
Magick.NET-Q16-OpenMP-x64
NuGet
< 14.15.0
14.15.0
Magick.NET-Q16-arm64
NuGet
< 14.15.0
14.15.0
Magick.NET-Q16-x64
NuGet
< 14.15.0
14.15.0
Magick.NET-Q16-x86
NuGet
< 14.15.0
14.15.0
Magick.NET-Q8-AnyCPU
NuGet
< 14.15.0
14.15.0
Magick.NET-Q8-OpenMP-arm64
NuGet
< 14.15.0
14.15.0
Magick.NET-Q8-OpenMP-x64
NuGet
< 14.15.0
14.15.0
Magick.NET-Q8-arm64
NuGet
< 14.15.0
14.15.0
Magick.NET-Q8-x64
NuGet
< 14.15.0
14.15.0
Magick.NET-Q8-x86
NuGet
< 14.15.0
14.15.0
Magick.NET-Q16-HDRI-arm64
NuGet
< 14.15.0
14.15.0

References

Frequently Asked Questions

What is GHSA-vghg-5jrg-2398?
GHSA-vghg-5jrg-2398 is a security vulnerability in ImageMagick involving Policy Bypass in script operation due to missing checks under CWE-284: Improper Access Control.
Which ImageMagick versions are affected?
Affected versions include releases prior to 14.15.0 across affected packages: Magick.NET-Q16-AnyCPU, Magick.NET-Q16-HDRI-AnyCPU, Magick.NET-Q16-HDRI-OpenMP-arm64, Magick.NET-Q16-HDRI-x64, Magick.NET-Q16-HDRI-x86, Magick.NET-Q16-OpenMP-arm64, Magick.NET-Q16-OpenMP-x64, Magick.NET-Q16-arm64, Magick.NET-Q16-x64, Magick.NET-Q16-x86, Magick.NET-Q8-AnyCPU, Magick.NET-Q8-OpenMP-arm64, Magick.NET-Q8-OpenMP-x64, Magick.NET-Q8-arm64, Magick.NET-Q8-x64, Magick.NET-Q8-x86, Magick.NET-Q16-HDRI-arm64.
What version fixes GHSA-vghg-5jrg-2398?
Upgrading to 14.15.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is Magick.NET-Q16-AnyCPU affected?
Yes, Magick.NET-Q16-AnyCPU is affected in releases prior to 14.15.0. Upgrade your dependency to 14.15.0 or later.
Is Magick.NET-Q16-HDRI-AnyCPU affected?
Yes, Magick.NET-Q16-HDRI-AnyCPU is affected in releases prior to 14.15.0. Upgrade your dependency to 14.15.0 or later.
What is the CVSS score of GHSA-vghg-5jrg-2398?
GHSA-vghg-5jrg-2398 has a CVSS v3.1 base score of 3.3 (LOW) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with GHSA-vghg-5jrg-2398?
GHSA-vghg-5jrg-2398 is classified under CWE-284: Improper Access Control (The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.).
How can I check NuGet dependencies for GHSA-vghg-5jrg-2398?
Run the dependency tree command: 'inspect dependencies for Magick.NET-Q16-AnyCPU'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-vghg-5jrg-2398",
  "modified" : "2026-07-24T14:21:49Z",
  "published" : "2026-07-24T14:21:49Z",
  "aliases" : [ ],
  "summary" : "ImageMagick: Policy Bypass in script operation due to missing checks ",
  "details" : "The -script operation is missing policy checks and that could result in both reading from paths disallowed by the security policy.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-AnyCPU"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.15.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-HDRI-AnyCPU"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.15.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-HDRI-OpenMP-arm64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.15.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-HDRI-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.15.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-HDRI-x86"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.15.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-OpenMP-arm64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.15.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-OpenMP-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.15.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-arm64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.15.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.15.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-x86"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.15.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q8-AnyCPU"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.15.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q8-OpenMP-arm64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.15.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q8-OpenMP-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.15.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q8-arm64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.15.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q8-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.15.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q8-x86"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.15.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Magick.NET-Q16-HDRI-arm64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "14.15.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-vghg-5jrg-2398"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ImageMagick/ImageMagick"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/dlemstra/Magick.NET/releases/tag/14.15.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-284", "CWE-59" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-07-24T14:21:49Z",
    "nvd_published_at" : null
  }
}