HomeWordPress vulnerabilitiesMagic Login Mail or QR Code
Magic Login Mail or QR Code vulnerabilities
Magic Login Mail or QR Code has 2 known vulnerabilities in this database. The most recent published record is dated 18 Nov 2026.
- Known vulnerabilities
- 2
- Active installs
- 100+
- Latest version
- 2.07
- Last updated
- 16 Aug 2026
- Most recent
- 18 Nov 2026
No fixed version has been published yet, so consider disabling, removing or replacing the plugin until a safe release is available.
Find it in your WordPress dashboard under Plugins. Severity is based on the CVSS score published with the CVE where one is available.
| Vulnerability | Severity | Affected | Fix | Published |
|---|---|---|---|---|
| Privilege escalation CVE-2026-126721 | High 7.5 | Up to 2.07 | No fixed version yet | 4 d ago |
| Privilege escalation CVE-2026-2144 | High 8.1 | Up to 2.05 | Fixed in a later version (latest 2.07) | 14 Feb 2026 |
Read the published descriptions
- CVE-2026-126721, 18 Nov 2026
- 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. CVE record
- CVE-2026-2144, 14 Feb 2026
- The Magic Login Mail or QR Code plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 2.05. This is due to the plugin storing the magic login QR code image with a predictable, static filename (QR_Code.png) in the publicly accessible WordPress uploads directory during the email sending process. The file is only deleted after wp_mail() completes, creating an exploitable race condition window. This makes it possible for unauthenticated attackers to trigger a login link request for any user, including administrators, and then exploit the race condition between QR code file creation and deletion to obtain the login URL encoded in the QR code, thereby gaining unauthorized access to the targeted user's account. CVE record
What to do if you run Magic Login Mail or QR Code
If you run Magic Login Mail or QR Code, open WordPress and check the installed version in Plugins. Compare it with the affected versions in the vulnerability record. If a fixed version is available, take a current backup and update to that version or the latest supported release.
If no fixed version exists, consider disabling and removing the plugin or replacing it with a maintained alternative. After dealing with the affected software, check administrator users, unexpected file changes, redirects, unfamiliar pages and security logs for signs that the site may already have been altered.
Email me about new Magic Login Mail or QR Code vulnerabilities
Free. We email you when a new vulnerability is published for Magic Login Mail or QR Code, usually within minutes. Confirm by email; unsubscribe any time.
Focus on your business. We’ll take care of your website.
From everyday updates to ongoing care, we keep your website working.