Description
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.
Published: 2026-02-14
Score: 8.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Privilege Escalation via Unauthenticated QR Code Race Condition
Action: Patch or Upgrade
AI Analysis

Impact

The Magic Login Mail or QR Code WordPress plugin uses a predictable filename for the QR code image (QR_Code.png) that is stored in the publicly accessible uploads directory during the email sending process. Because the file is only removed after wp_mail() finishes, a race condition exists that allows an unauthenticated attacker to capture the file before deletion. By triggering a login link request for any user—including administrators—the attacker can read the temporary QR code file, decode the embedded login URL, and gain unauthorized access to the targeted account. This flaw is a classic example of CWE‑269, an authentication weakness that permits privilege escalation.

Affected Systems

Vendors: katsushi‑kawamori’s Magic Login Mail or QR Code. Versions up to and including 2.05 are affected. No other version information is provided.

Risk and Exploitability

The CVSS v3 score is 8.1, indicating high severity. The EPSS score is below 1%, suggesting a low likelihood of exploitation at the moment, and the flaw is not yet listed in the CISA KEV catalog. The attack vector is unauthenticated, relying on the plugin’s public QR code storage race condition; an attacker need only send a magic‑login‑mail request for a target user and cleanse the race window, which can be done remotely without additional credentials.

Generated by OpenCVE AI on April 15, 2026 at 18:32 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Magic Login Mail or QR Code plugin to a version newer than 2.05, where the filename generation and file deletion sequence has been corrected.
  • If an upgrade is not immediately possible, block external read access to the WordPress uploads directory (or the subdirectory where the plugin stores QR codes) using web‑server rules such as .htaccess directives or iptables, so that only the plugin can delete the file.
  • Restrict the magic‑login‑mail feature to authenticated users or add an additional confirmation step before the email is sent, thereby preventing unauthenticated users from triggering the vulnerable flow.

Generated by OpenCVE AI on April 15, 2026 at 18:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 08 Apr 2026 17:45:00 +0000

Type Values Removed Values Added
References

Tue, 17 Feb 2026 21:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 16 Feb 2026 12:15:00 +0000

Type Values Removed Values Added
First Time appeared Katsushi-kawamori
Katsushi-kawamori magic Login Mail Or Qr Code
Wordpress
Wordpress wordpress
Vendors & Products Katsushi-kawamori
Katsushi-kawamori magic Login Mail Or Qr Code
Wordpress
Wordpress wordpress

Sat, 14 Feb 2026 04:45:00 +0000

Type Values Removed Values Added
Description 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.
Title Magic Login Mail or QR Code <= 2.05 - Unauthenticated Privilege Escalation via Insecure QR Code File Storage
Weaknesses CWE-269
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Katsushi-kawamori Magic Login Mail Or Qr Code
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T16:57:42.720Z

Reserved: 2026-02-07T00:47:48.353Z

Link: CVE-2026-2144

cve-icon Vulnrichment

Updated: 2026-02-17T20:38:27.572Z

cve-icon NVD

Status : Deferred

Published: 2026-02-14T05:16:21.973

Modified: 2026-04-15T00:35:42.020

Link: CVE-2026-2144

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-15T18:45:11Z

Weaknesses