Loading advisory.
Loading advisory.
Craft CMS has a Missing Authorization Check on User Group Removal via save-permissions Action
The actionSavePermissions() endpoint allows a user with only viewUsers permission to remove arbitrary users from all user groups.
Published 2026-04-14 23:34 UTC · Modified 2026-05-05 16:11 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| craftcms/cms | Packagist | >= 5.6.0, < 5.9.15 versions 5.6.0, 5.6.0.1, 5.6.0.2, 5.6.1, 5.6.10, 5.6.10.1, 5.6.10.2, 5.6.11, 5.6.12, 5.6.13, 5.6.14, 5.6.15, 5.6.16, 5.6.17, 5.6.2, 5.6.3, 5.6.4, 5.6.5, 5.6.5.1, 5.6.6 and 64 more | 5.9.15 | composer require 'craftcms/cms:>=5.9.15' |
The actionSavePermissions() endpoint allows a user with only viewUsers permission to remove arbitrary users from all user groups. While _saveUserGroups() enforces per-group authorization for additions, it performs no equivalent authorization check for removals, so submitting an empty groups value removes all existing group memberships.
Craft CMS 5.6.0 through 5.9.14 (latest release at time of report)
Regression introduced in 5.6.0 when the viewUsers permission was added
Prior to 5.6.0, editedUser() required editUsers, which implicitly protected this endpoint
Requires Pro edition or higher (the vulnerable code path is gated by CmsEdition::Pro)
This is a regression introduced in Craft CMS 5.6.0 when the viewUsers permission was added. Before that change, editedUser() required editUsers permission for accessing other users’ data, which implicitly protected actionSavePermissions(). After the change, actionSavePermissions() became reachable for users with read-only access to other users, but the underlying group-saving logic still lacked authorization for group removals.
The vulnerability has two components:
actionSavePermissions() reachable with read-only access: The action only requires a control panel request and delegates to editedUser(), which now only checks viewUsers — a permission explicitly documented as "read-only access to user elements."
Asymmetric authorization in _saveUserGroups(): The method checks assignUserGroup permission only when adding a user to a new group. When the groups parameter is an empty string (resulting in an empty array), the loop is skipped entirely, no authorization checks are run, and all group memberships are removed.
Attacker has a control panel account with accessCp and viewUsers permissions only
Target user belongs to one or more user groups that grant additional permissions
Pro edition or higher
Attacker authenticates to the Control Panel
Attacker sends a POST request to actions/users/save-permissions with:
userId = target user's ID
groups = `` (empty string)
All group memberships for the target user are removed
All permissions inherited from those groups are immediately revoked
Privilege revocation: An attacker can strip group-based permissions from arbitrary users, including accounts whose effective access derives from group membership
Denial of access: Users lose access to sections, volumes, and features that were granted through group membership
Bypass of elevated session requirement: Group removal does not trigger requireElevatedSession() (which is only triggered when new groups are added)
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.002 on 2026-11-24 to 0.004 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.002 | first score | v2026.06.15 |
| 2026-11-26 | 0.004 | 0.002 | v2026.06.15 |