CVE Professor
›
Back
CVE-2026-126721

CVE-2026-126721 — Katsushi-kawamori Magic Login Mail Or QR Code (2.07) — CWE-269

HIGH CVSS 7.5 CVE.org

CVE-2026-126721 is a HIGH severity Privilege Escalation vulnerability (CWE-269) (CVSS 7.5/10) affecting Katsushi-kawamori Magic Login Mail Or QR Code (2.07). Technical vector analysis shows that an attacker can exploit this flaw remotely over the network without authentication (PR:N) requiring user interaction, resulting in complete compromise of system confidentiality and integrity (C:H/I:H).

📄 Official NVD / MITRE Original Record Text

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.

Published 18.11.2026
ISO Date 2026-11-18
CVSS Version v3.1
Source CVE.org
CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector Network AV:N
Attack Complexity High AC:H
Privileges Req. None PR:N
User Interaction Required UI:R
Scope Unchanged S:U
Confidentiality High C:H
Integrity High I:H
Availability High A:H
AI Security Analysis & Remediation
🤖 Generating Deep AI Security Analysis…
Analyzing CVSS vector & CWE weakness structure…

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-126721
CVSS 7.5/10 · HIGH · 18.11.2026
CWE: CWE-269
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
Authentication Bypass
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 em…
Affected: katsushi-kawamori:Magic Login Mail or QR Code

⚡ ATTACK CHAIN
1. JWT: change alg to none, remove signature.
2. SQL bypass: ' OR '1'='1'-- in login form.
3. Direct API endpoint access without auth headers.
4. Password reset token prediction or race condition.
5. Credential stuffing with default creds.

🔧 Tools: jwt_tool, Burp Suite, Hydra, sqlmap --forms
🗺️ MITRE ATT&CK: T1078 (Valid Accounts), T1110 (Brute Force)

🌍 REAL WORLD IMPACT
All confidential data readable/stealable; data can be modified or deleted; service can be completely taken down.

🛡️ REMEDIATION
→ Apply vendor security update for katsushi-kawamori:Magic Login Mail or QR Code.
→ Add MFA, strengthen sessions, implement rate limiting.
→ Pre-patch: put service behind VPN or apply IP allowlist.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
⚠️ This week (7 days) — High risk, anonymous remote.

────────────────────────────────────────
[Kural Tabanlı Otomatik Güvenlik Analizi]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="WordPress" && body="/wp-content/plugins/magic-login-mail-or-qr-code"
CVSS Score
7.5 / 10 · CVSS HIGH
Weakness Types (CWE)
CWE-269
Affected Products (1)
katsushi-kawamori:Magic Login Mail or QR Code (2.07)
Related CVEs
10.0
CVE-2026-95787
Vulnerabilities in the PAPI protocol of AOS-10 could allow an unauthenticated remote attacker to circumvent ex
8.8
CVE-2026-107515
Dell PowerStore contains an Improper Privilege Management vulnerability. An authenticated attacker could explo
8.8
CVE-2026-130774
Incus before 7.6.0 contains a privilege escalation vulnerability: rebuilding a never-started unprivileged cont
8.6
CVE-2026-130738
Grav from 2.0.0 before 2.2.18 contains a privilege escalation vulnerability that allows user managers with adm
8.1
CVE-2026-130751
OpenWrt LuCI luci-app-travelmate on master before 3.0.0-1 and on openwrt-25.12 before 2.4.9-6 grants file exec
7.2
CVE-2026-107739
The Search & Replace WordPress plugin before 3.2.4 does not correctly restrict which database tables an admini