Arbitrary user password reset leading to administrator account takeover
Report #HCKRT-ZDSZJH in Craft CMS Vulnerability Disclosure Program
Disclosed Report
StatusClosed
TargetTier 1
Severity
Details
- Program
- Craft CMS Vulnerability Disclosure Program
- Target
- craftcms/cms
- Creation Date
- 6/17/2026 9:40:48 PM
- Severity
- High
- CVSS Score
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVE Number
- CVE-2026-79989
- Affected versions
- >= 5.0.0-RC1, < 5.10.8
- Visibility
- Disclosed
- Disclosed at
- 9/1/2026 9:43:06 PM
- Author
- @he4am
- Status
- Resolved (Closed)
- Vulnerability Type (CAPEC™)
- Weakness (CWE)
- (CWE-285) Improper Authorization
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).
Description
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 userspermission can change any user’s password, including administrators.
Timeline
Hackrate
Our platform helps companies to identify software vulnerabilities in a cost-efficient way. It provides a secure and centralized view of ethical hacking projects for your company.
US Patent Applied for HackGATE #63/645,845
Products
From the Blog
-
Hackrate Ranked 1st in Hungary and 22nd Globally at Hack The Box’s Global Cyber Skills Benchmark 2026
May 29 • 13 min read
-
Press release: Hackrate becomes Hungary’s first CVE Numbering Authority
Jan 13 • 5 min read ★
-
Let 2026 be the year bug bounty becomes part of how you build and operate
Jan 05 • 4 min read