Skip to content
Heist/ feed
Back to feed
High

Craft has a GraphQL Asset Mutation Privilege Escalation

Type: advisorySources: OSV

Craft is a platform for creating digital experiences. In Craft versions from 4.0.0-RC1 to before 4.17.0-beta.1 and 5.9.0-beta.1, there is a Privilege Escalation vulnerability in Craft CMS’s GraphQL API that allows an authenticated user with write access to one asset volume to escalate their privileges and modify/transfer assets belonging to any other volume, including restricted or private volumes to which they should not have access. The saveAsset GraphQL mutation validates authorization against the schema-resolved volume but fetches the target asset by ID without verifying that the asset belongs to the authorized volume. This allows unauthorized cross-volume asset modification and transfer. This vulnerability is fixed in 4.17.0-beta.1 and 5.9.0-beta.1.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-25497
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 19:33 UTC · Revision 1

Source evidence

Craft has a GraphQL Asset Mutation Privilege Escalation

core-osv · Original source

Published 9 Feb 2026, 19:50 UTC

Craft is a platform for creating digital experiences. In Craft versions from 4.0.0-RC1 to before 4.17.0-beta.1 and 5.9.0-beta.1, there is a Privilege Escalation vulnerability in Craft CMS’s GraphQL API that allows an authenticated user with write access to one asset volume to escalate their privileges and modify/transfer assets belonging to any other volume, including restricted or private volumes to which they should not have access. The saveAsset GraphQL mutation validates authorization against the schema-resolved volume but fetches the target asset by ID without verifying that the asset belongs to the authorized volume. This allows unauthorized cross-volume asset modification and transfer. This vulnerability is fixed in 4.17.0-beta.1 and 5.9.0-beta.1.

osv:CVE-2026-25497
Complete source record
{
  "id": "83a884fc23c94b602e994cb76fd883a9d17b0768cac399ba4445122535d91b33",
  "url": "https://osv.dev/vulnerability/CVE-2026-25497",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Craft has a GraphQL Asset Mutation Privilege Escalation",
    "summary": "Craft is a platform for creating digital experiences. In Craft versions from 4.0.0-RC1 to before 4.17.0-beta.1 and 5.9.0-beta.1, there is a Privilege Escalation vulnerability in Craft CMS’s GraphQL API that allows an authenticated user with write access to one asset volume to escalate their privileges and modify/transfer assets belonging to any other volume, including restricted or private volumes to which they should not have access. The saveAsset GraphQL mutation validates authorization against the schema-resolved volume but fetches the target asset by ID without verifying that the asset belongs to the authorized volume. This allows unauthorized cross-volume asset modification and transfer. This vulnerability is fixed in 4.17.0-beta.1 and 5.9.0-beta.1.",
    "evidence": "osv:CVE-2026-25497",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-25497",
      "aliases": [
        "CVE-2026-25497",
        "GHSA-fxp3-g6gw-4r4v"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/craftcms/cms",
              "type": "GIT",
              "events": [
                {
                  "introduced": "04755d93f86d07cc183db47db8a0eee106892e30"
                },
                {
                  "fixed": "8e23a7a14d50f169c10a487348c993384d479e06"
                },
                {
                  "introduced": "daac7c1da2f701f2e9ddee1da1457ce61660b581"
                },
                {
                  "fixed": "42cef196d68dd8d48ceaab89b2c9e2edd2cecbe8"
                },
                {
                  "fixed": "ac7edf868c1a81fd9c4dc49d3b3edf1cce113409"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "5.0.0-RC1"
                      },
                      {
                        "fixed": "5.8.22"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "introduced": "4.0.0-RC1"
                      },
                      {
                        "fixed": "4.17.0-beta.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "ac7edf868c1a81fd9c4dc49d3b3edf1cce113409"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "8e23a7a14d50f169c10a487348c993384d479e06"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "5.8.22"
                  }
                ]
              }
            },
            {
              "repo": "https://github.com/nystudio107/craft-seomatic",
              "type": "GIT",
              "events": [
                {
                  "introduced": "a31f7d211b52d55d274c66a291310ceec64c733f"
                },
                {
                  "last_affected": "a31f7d211b52d55d274c66a291310ceec64c733f"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:craftcms:craft_cms:4.0.0:-:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.0.0-NA"
                      },
                      {
                        "last_affected": "4.0.0-NA"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.0.0-NA",
            "4.0.0-rc1",
            "4.0.0-rc2",
            "4.0.0-rc3",
            "5.0.0-NA",
            "5.0.0-rc1",
            "4.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-25497.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:22.640497215Z",
      "provider": "osv",
      "references": [
        "https://github.com/craftcms/cms/releases/tag/5.8.22",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25497.json",
        "https://github.com/craftcms/cms/security/advisories/GHSA-fxp3-g6gw-4r4v",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-25497",
        "https://github.com/craftcms/cms/commit/ac7edf868c1a81fd9c4dc49d3b3edf1cce113409"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-639"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25497.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-25497",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 489216,
  "published_at": "2026-02-09T19:50:08.543+00:00"
}