CVE-2026-2144

Magic Login Mail or QR Code <= 2.05 - Unauthenticated Privilege Escalation via Insecure QR Code File Storage

Published Feb 14, 2026 CVSS 3.1 · 8.1 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

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
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'}

Weaknesses
  • CWE-269

    Improper Privilege Management

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 4:57 PM
Reserved
Feb 7, 2026, 12:47 AM
Status
Deferred
Published
Feb 14, 2026, 5:16 AM
Modified
Jun 17, 2026, 10:30 AM