Arbitrary user password reset leading to administrator account takeover


Report #HCKRT-ZDSZJH in Craft CMS Vulnerability Disclosure Program

Disclosed Report
StatusClosed
Resolved
TargetTier 1
craftcms/cms
Severity
High
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 users permission can change any user’s password, including administrators.
Timeline

Reporter

Created.

Wednesday, June 17, 2026 9:40 PM
Tyrell

Changed to Accepted (Open)

Thursday, June 25, 2026 7:25 AM
angrybrad

Changed to Resolved (Closed).Hi! The remediation was deployed, if you can bypass the fix, please let us know.

Friday, July 3, 2026 6:05 PM
angrybrad

Github Security Advisory has been created. GHSA-p8x7-9vfw-p7vc

Friday, July 24, 2026 11:20 PM
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

Checking service status...

Hackrate Ethical Hacking Platform |
2026 ©

CVE Program Numbering Authority