← All security briefings

Attention

Magic Login Mail or QR Code 2.07 and earlier: Host header can shape the emailed login link (CVE-2026-126721)

Identifiers: CVE-2026-126721

Published
Last substantive change
Last verified

Last verified: . Attention items are due for re-verification within 72 hours.

Summary

Wordfence Intelligence reports that the plugin builds its magic-login link from the raw Host header when the current page has no permalink. An attacker-controlled hostname can then appear in the link emailed to an administrator. Version 2.08, dated 12 November 2026 in the vendor changelog, fixes link generation.

Classification reason: Wordfence Intelligence notice retrieved 18 November 2026. The vendor readme dates 2.08 to 12 November 2026 with a note about fixing a security vulnerability in login URL generation. No independent CNA corroboration because the endpoint returned 404. No exploitation reports found.

Impact

If the whole chain works, an attacker who captures the one-time login values from the tampered link could sign in to the targeted administrator account. The attacker's own account is not promoted. This is takeover of one existing privileged account and it depends on a human click.

Who is affected

All of these must be true at once: the magic_login shortcode renders on a path with no permalink, such as a 404 page or a block theme header part; the web server forwards non-canonical Host headers; the attacker knows the administrator's email address; and the administrator clicks the tampered link. A fully automatic takeover without administrator interaction is not established by the source.

Products and versions

Products and versionsAffectedFixed
Magic Login Mail or QR Code <= 2.07 2.08

Exploitation evidence

Exploitation not established. No exploitation in the wild is established in the sources we checked. Absence of reports is not proof of absence.

Sources: Wordfence Intelligence

Actions

  1. Update the plugin to 2.08 or later.
  2. Confirm your web server only answers for your real hostnames and rejects or redirects any other Host value.
  3. Keep the login shortcode on a normal page with its own permalink rather than in global template parts or 404 templates.
  4. Remind administrators to check that a login email points at your real domain before clicking it.

Unknowns

  • Whether a given hosting setup forwards arbitrary Host headers varies and was not assessed here.
  • The CNA record was not reachable on 18 November 2026.

Sources

  • Wordfence Intelligence · retrieved https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/magic-login-mail/magic-login-mail-or-qr-code-207-unauthenticated-privilege-escalation-via-account-takeover-to-host-header-injection-in-curpageurl-magic-login-url
  • Plugin vendor / WordPress SVN · retrieved https://plugins.svn.wordpress.org/magic-login-mail/trunk/readme.txt

Change history

  1. — Published: Published 18 November 2026 from the Wordfence Intelligence notice and the vendor readme.

Subscribe: RSS feed · JSON Feed · Feed format and fields