CVE Watchtower

CVE-2026-126721katsushi-kawamori Magic Login Mail or QR Code Improper Privilege Management

NVDCVSS scored by security@wordfence.com

Vulnerability Summary

The Magic Login Mail or QR Code plugin for WordPress is vulnerable to Privilege Escalation via Administrator Account Takeover in versions up to, and including, 2.07. This is due to the `curpageurl()` function falling back to the raw `$_SERVER['HTTP_HOST']` value — with no validation against the site's configured origin via `home_url()` or `site_url()` — when `get_the_permalink()` returns empty or false, allowing an attacker-controlled Host header to become the URL origin of the magic-login link generated by `generate_url()` and delivered to the target via `wp_mail()`. This makes it possible for unauthenticated attackers to intercept the one-time uid and token pair sent to a targeted Administrator's email and replay them against the real site, causing `autologin_via_url()` to call `wp_set_auth_cookie()` and establish a full Administrator session on the targeted account. Exploitation requires the `[magic_login]` shortcode to render on a path where `get_the_permalink()` returns empty or false (such as a 404 page or a block-theme header template part), the web server to forward non-canonical Host headers, the attacker to know the target administrator's email address, and the administrator to click the attacker-originated magic-login link. Successful exploitation gives the attacker control of a distinct, already-privileged Administrator account; it does not promote the attacker's original account. Successful exploitation additionally requires an action by an administrator — the attacker cannot trigger the vulnerability on their own.
Severity Level
HIGH(7.5)
Published Date
Nov 18, 2026
Last Modified
Nov 18, 2026
Exploitation Status
No confirmed exploitation yet
CVE Record Status
Published
EPSS Score (30-Day)
0.35%Probability
Root Weakness (CWE)
The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control.
CVSS v3.1 Base Metrics — Score 7.5 (HIGH)
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

Affected & Patched Versions

Affected Versions
  • katsushi-kawamori Magic Login Mail or QR Code <= 2.07
Patched Versions
  • katsushi-kawamori Magic Login Mail or QR Code 2.07

What to do

Plan remediation soon. No exploitation is confirmed yet, but the severity is high.

  1. Check whether you run katsushi-kawamori Magic Login Mail or QR Code and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Nov 18, 2026Published
  • Nov 18, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new katsushi-kawamori Magic Login Mail or QR Code CVEsYou are reading CVE-2026-126721. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 18, 2026 17:01 UTC