/Vulnerability Library

Theme My Login <= 7.2.1 - Privilege Escalation

CVE-2026-89079
Verified

Description

Theme My Login (TML) <= 7.2.1 for WordPress is vulnerable to unauthenticated account takeover on multisite installations. The multisite-only filter tml_ms_filter_pre_insert_user_data(), hooked on wp_pre_insert_user_data, hashes and injects $_POST['user_pass1'] into the user record whenever the tml_user_passwords network option is enabled, WITHOUT checking the $update flag. During a lost password request (wp-login.php?action=lostpassword -> retrieve_password() -> wp_update_user()), this filter fires on the EXISTING target user, overwriting their password with an attacker-chosen value. An unauthenticated attacker can therefore take over any account, including a network administrator, by sending user_pass1 in the lost-password POST. Fixed in 7.2.2 (changeset 3696081 / commit 06b76231) by adding the $update guard and only applying the password during activation.

Severity

Critical

CVSS Score

9.8

Exploit Probability

2%

Affected Product

theme-my-login

Published Date

October 20, 2026

Template Author

dhiyaneshdk

CVE-2026-89079.yaml
9.8Score

CVSS Metrics

CVSS Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVE ID:
cve-2026-89079
CWE ID:
cwe-269

References

https://patchstack.com/database/wordpress/plugin/theme-my-login/vulnerability/wordpress-theme-my-login-plugin-7-2-1-unauthenticated-privilege-escalation-vulnerabilityhttps://plugins.trac.wordpress.org/changeset/3696081/theme-my-loginhttps://github.com/theme-my-login/theme-my-login/commit/06b76231b86150eed932db52646734486ecd0781https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-89079

Remediation Steps

Update Theme My Login to 7.2.2 or later. As mitigation, disable the tml_user_passwords network option until patched.