CVE-2026-2144
📋 TL;DR
The Magic Login Mail or QR Code WordPress plugin has a privilege escalation vulnerability that allows unauthenticated attackers to gain access to any user account, including administrators. This occurs due to a race condition where predictable QR code files are temporarily accessible before deletion. All WordPress sites using plugin versions up to 2.05 are affected.
💻 Affected Systems
- Magic Login Mail or QR Code WordPress Plugin
⚠️ Manual Verification Required
This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.
Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).
🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.
- Review the CVE details at NVD
- Check vendor security advisories for your specific version
- Test if the vulnerability is exploitable in your environment
- Consider updating to the latest version as a precaution
⚠️ Risk & Real-World Impact
Worst Case
Complete site takeover with administrative privileges, allowing data theft, defacement, malware injection, and further network compromise.
Likely Case
Attacker gains access to administrator or high-privilege user accounts, leading to data exposure and unauthorized content modifications.
If Mitigated
Attack fails due to proper access controls, monitoring, or the race condition window being too narrow to exploit consistently.
🎯 Exploit Status
Exploitation requires timing the race condition window, but the attack is unauthenticated and predictable.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 2.06 or later
Vendor Advisory: https://plugins.trac.wordpress.org/browser/magic-login-mail/trunk/lib/class-magicloginmail.php
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'Magic Login Mail or QR Code'. 4. Click 'Update Now' if available. 5. Alternatively, download version 2.06+ from WordPress repository and manually update.
🔧 Temporary Workarounds
Disable Plugin
allTemporarily disable the vulnerable plugin until patched.
wp plugin deactivate magic-login-mail
Restrict Uploads Directory Access
linuxAdd .htaccess rules to block direct access to QR_Code.png files.
echo 'Deny from all' > /wp-content/uploads/.htaccess
🧯 If You Can't Patch
- Disable the Magic Login Mail or QR Code plugin immediately.
- Implement web application firewall rules to block requests to QR_Code.png files in uploads directory.
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin → Plugins → Magic Login Mail or QR Code version. If version is 2.05 or lower, you are vulnerable.
Check Version:
wp plugin get magic-login-mail --field=version
Verify Fix Applied:
Verify plugin version is 2.06 or higher in WordPress admin panel.
📡 Detection & Monitoring
Log Indicators:
- Multiple rapid requests to /wp-content/uploads/QR_Code.png
- Unusual login activity from new IP addresses following QR code requests
Network Indicators:
- HTTP requests for QR_Code.png with rapid timing patterns
- Unusual traffic spikes to uploads directory
SIEM Query:
source="web_logs" AND uri="/wp-content/uploads/QR_Code.png" AND count > 5 within 1s
🔗 References
- https://plugins.trac.wordpress.org/browser/magic-login-mail/trunk/lib/class-magicloginmail.php#L250
- https://plugins.trac.wordpress.org/browser/magic-login-mail/trunk/lib/class-magicloginmail.php#L325
- https://www.wordfence.com/threat-intel/vulnerabilities/id/65066a17-653b-4444-9bd0-894ea8c1acb1?source=cve