What’s Vulnerable › Vulnerabilities
CVE-2026-25497: Craft has a GraphQL Asset Mutation Privilege Escalation
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-02-09 · updated 2026-06-17
- Weakness: CWE-639
Description
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.
Affected products
- craftcms cms: from 4.0.0 (excl.) before 4.17.0; from 5.0.0 (excl.) before 5.9.0; 4.0.0, 4.0.0-rc1, 4.0.0-rc2, 4.0.0-rc3, 5.0.0, 5.0.0-rc1 — fixed in 4.17.0, 5.9.0
How to fix
Upgrade to a fixed version: craftcms cms 4.17.0, 5.9.0. Check the vendor advisory for mitigations.
References
- https://github.com/craftcms/cms/commit/ac7edf868c1a81fd9c4dc49d3b3edf1cce113409
- https://github.com/craftcms/cms/releases/tag/5.8.22
- https://github.com/craftcms/cms/security/advisories/GHSA-fxp3-g6gw-4r4v
Get alerted when CVE-2026-25497 or the next vulnerability affects your stack