Intel

AIKIDO-2026-10117

craftcms/cms is vulnerable to Improper Access Control

Improper Access ControlGHSA-234q-vvw3-mrfq Published Feb 5, 2026

80

High Risk

This Affects:

PHPcraftcms/cms
3.5.0 - 4.16.19
Fixed in 4.17.0
5.0.0 - 5.8.23
Fixed in 5.9.0
Are you affected? Scan for Free

TL;DR

Affected versions of this package had insufficient access control on several user-related controller actions in UsersController, allowing certain user management operations (such as impersonation, sending activation or password reset emails, enabling/disabling accounts, etc.) to be invoked without enforcing the appropriate permission and context checks. The patched version centralizes and strengthens these checks (userActionChecks), requiring proper post requests, control-panel context, edition, and editUsers permission before performing sensitive user actions, preventing unauthorized access and privilege escalation.

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 Access Control in versions 3.5.0 - 4.16.19 and 5.0.0 - 5.8.23.

How to fix this

Upgrade the craftcms/cms library to the patch version.