Intel

AIKIDO-2026-10050

craftcms/cms is vulnerable to Improper Authorization

Improper AuthorizationGHSA-fxp3-g6gw-4r4v

50

Medium Risk

This Affects:

PHPcraftcms/cms
3.5.0 - 4.16.17
Fixed in 4.16.18
5.0.0 - 5.8.21
Fixed in 5.8.22

TL;DR

Affected versions of this package are vulnerable to permission escalation because certain GraphQL asset mutation logic did not enforce correct ownership checks, allowing a user with privileges to save or create assets to potentially act on volumes they shouldn’t have access to. The referenced commit adds explicit checks to ensure the asset’s volume ID matches the expected volume and requires the appropriate schema action for unauthorized attempts, preventing attackers from exploiting the mutation to escalate privileges or modify resources outside their permitted scope.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

craftcms/cms is vulnerable to Improper Authorization in versions 3.5.0 - 4.16.17 and 5.0.0 - 5.8.21.

How to fix this

Upgrade the craftcms/cms library to the patch version.