# Craft CMS: Arbitrary user password reset leading to administrator account takeover

High severity, published 2026-08-06. Update craftcms/cms to 5.10.8 or later: composer update craftcms/cms.

Canonical URL: https://buzzphp.com/security/ghsa-p8x7-9vfw-p7vc · Data from GitHub as of 2026-11-25.

| | |
| --- | --- |
| Severity | high |
| Published | 2026-08-06 |
| Updated | 2026-08-06 |
| GHSA | [GHSA-p8x7-9vfw-p7vc](https://github.com/advisories/GHSA-p8x7-9vfw-p7vc) |
| Weakness | CWE-285 |

| Package | Affected versions | Fixed in |
| --- | --- | --- |
| craftcms/cms | >= 5.0.0-RC1, < 5.10.8 | 5.10.8 |

## What to do

Update craftcms/cms to 5.10.8 or later: composer update craftcms/cms.

Check which version you run with `composer show craftcms/cms`, and every affected package with `composer audit`.

## About this advisory

The vulnerability allows any authenticated user to change their own password without providing the current password or having an active elevated session. It also allows the attacker to change other users’ passwords if the attacker’s account has edit users permission (which doesn’t allow changing others’ passwords) and lacks Administrate users permission (which is required to change others’ passwords).

The vulnerability exists in the elements/save action when saving a User element. The UserPasswordValidator applies only a safe validator to the newPassword field without an on scenario restriction.

## Links

- [GHSA-p8x7-9vfw-p7vc on GitHub](https://github.com/advisories/GHSA-p8x7-9vfw-p7vc)
- [All Composer security advisories](https://buzzphp.com/security)
