highVulnerability

GHSA-p8x7-9vfw-p7vc

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.

Properties

ghsa_id
GHSA-p8x7-9vfw-p7vc
severity
high
summary
Craft CMS: Arbitrary user password reset leading to administrator account takeover
cve_id
GHSA-p8x7-9vfw-p7vc
is_ghsa_only
true
ghsa_published
2026-08-06T21:04:11Z
source_url
https://github.com/advisories/GHSA-p8x7-9vfw-p7vc
ghsa_updated
2026-08-06T21:04:11Z

Related Entities (4)

VULNERABLE_TO (1)

[Software]composer/craftcms/cms

AFFECTS (1)

[Software]composer/craftcms/cms

HAS_WEAKNESS (1)

[Weakness]Improper Authorization

REPORTED_BY (1)

[Source]GitHub Advisory Database

Explore deeper with Ninja Signal's threat intelligence graph