{
  "id": "CVE-2026-25966",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-25966",
  "published_at": "2026-02-24T01:27:53.943Z",
  "title": "ImageMagick's Security Policy Bypass through config/policy-secure.xml via \"fd handler\" leads to stdin/stdout access",
  "vendor": "ImageMagick",
  "product": "ImageMagick",
  "cvss": {
    "score": 7.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "ImageMagick is free and open-source software used for editing and manipulating digital images. The shipped \"secure\" security policy includes a rule intended to prevent reading/writing from standard streams. However, ImageMagick also supports fd:\u003cn\u003e pseudo-filenames (e.g., fd:0, fd:1). Prior to versions 7.1.2-15 and 6.9.13-40, this path form is not blocked by the secure policy templates, and therefore bypasses the protection goal of \"no stdin/stdout.\" Versions 7.1.2-15 and 6.9.13-40 contain a patch by including a change to the more secure policies by default. As a workaround, add the change to one's security policy manually.",
  "cwe": "CWE-284",
  "cpes": [
    "cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 5.9,
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "ImageMagick",
        "product": "ImageMagick",
        "ranges": [
          "\u003e= 7.0.0, \u003c 7.1.2-15",
          "\u003c 6.9.13-40"
        ],
        "fixed_in": [
          "7.1.2-15",
          "6.9.13-40"
        ]
      }
    ],
    "upgrade": [
      "Upgrade ImageMagick to 7.1.2-15 or 6.9.13-40 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-xwc6-v6g8-pw2h"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
