CVE-2026-25497

Source
https://cve.org/CVERecord?id=CVE-2026-25497
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-25497.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-25497
Aliases
Published
2026-02-09T19:50:08Z
Modified
2026-10-24T10:50:10Z
Severity
  • 8.6 (High) CVSS_V4 - 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 CVSS Calculator
Summary
Craft has a GraphQL Asset Mutation Privilege Escalation
Details

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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-639"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25497.json"
}
References

Affected packages

Git / github.com/craftcms/cms

Affected ranges

Type
GIT
Repo
https://github.com/craftcms/cms
Events
Database specific
Show details
{
    "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"
        },
        {
            "original_tag":  "5.8.22",
            "range":  [
                {
                    "fixed":  "8e23a7a14d50f169c10a487348c993384d479e06"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}
Type
GIT
Repo
https://github.com/nystudio107/craft-seomatic
Events
Database specific
Show details
{
    "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"
        }
    ]
}

Affected versions

4.*
4.0.0
4.0.0-NA
4.0.0-rc1
4.0.0-rc2
4.0.0-rc3
5.*
5.0.0-NA
5.0.0-rc1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-25497.json"