Craft has a GraphQL Asset Mutation Privilege Escalation
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
craftcms/cmsPackagist | >= 5.0.0-RC1, < 5.9.0-beta.1 | 5.9.0-beta.1 |
craftcms/cmsPackagist | >= 4.0.0-RC1, < 4.17.0-beta.1 | 4.17.0-beta.1 |
Affected products
2Patches
Vulnerability mechanics
References
7- github.com/advisories/GHSA-fxp3-g6gw-4r4vghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-25497ghsaADVISORY
- github.com/craftcms/cms/commit/ac7edf868c1a81fd9c4dc49d3b3edf1cce113409ghsax_refsource_MISCWEB
- github.com/craftcms/cms/releases/tag/4.17.0-beta.1ghsaWEB
- github.com/craftcms/cms/releases/tag/5.8.22ghsax_refsource_MISCWEB
- github.com/craftcms/cms/releases/tag/5.9.0-beta.1ghsaWEB
- github.com/craftcms/cms/security/advisories/GHSA-fxp3-g6gw-4r4vghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.