Craft CMS: Arbitrary user password reset leading to administrator account takeover
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-285.
Summary
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. This makes `newPassword` mass-assignable during the generic element save flow, completely bypassing the dedicated `users/set-password` action that enforces elevated session verification. An attacker with any authenticated session (whether it’s hijacked or a normal / low-privileged user) can change their own password, and potentially take over administrator accounts. ## Required Permissions - Access the control panel - Edit users (needed for the account takeover attack scenario) ## Impact - Any authenticated user can change their own password without providing their current password. - Users with Edit users permission can change any user’s password, including administrators.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | craftcms/cms (Packagist) | 5.0.0-RC1 to before 5.10.8 | 5.10.8 | Patch available | GHSA-p8x7-9vfw-p7vc |
- craftcms/cms (Packagist) Vendor— Affected 5.0.0-RC1 to before 5.10.8 Fixed in 5.10.8 Patch available GHSA-p8x7-9vfw-p7vc
Remediation
- Fix · GHSA-p8x7-9vfw-p7vc craftcms/cms (Packagist) Fixed in 5.10.8 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-p8x7-9vfw-p7vc
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences