CVE-2026-79989
JSON

8.7high

Arbitrary user password reset leading to administrator account takeover

Severity
8.7high CVSS:4.0 by Hackrate
Exploit likelihood
0.31% (higher than 26% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Hackrate
Also known as
GHSA-p8x7-9vfw-p7vc

Description

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).

Affected

Product or packageVersionsReported by
craftcms/cmsfrom 5.0.0-RC1 before 5.10.8CVE List
craftcms/cms (Packagist)from 5.0.0-RC1 before 5.10.8GitHub Advisory Database

All scores

Hackrate8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
GitHubhigh rating

Classification

CWE-285

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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).

GitHub Advisory Database

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.

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2026-79989 changed 2026-09-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-p8x7-9vfw-p7vc changed 2026-09-03CC-BY-4.0
NVDCVE-2026-79989 changed 2026-09-09Public domain