The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-2144

CVE-2026-2144: WordPress Magic Login Privilege Escalation

CVE-2026-2144 is a privilege escalation flaw in the Magic Login Mail or QR Code WordPress plugin that exploits a race condition to hijack admin accounts. This article covers technical details, affected versions, and mitigation.

Published: February 20, 2026

CVE-2026-2144 Overview

The Magic Login Mail or QR Code plugin for WordPress contains a critical privilege escalation vulnerability affecting all versions up to and including 2.05. The vulnerability arises from insecure handling of magic login QR code images, which are stored with a predictable, static filename (QR_Code.png) in the publicly accessible WordPress uploads directory during the email sending process.

This race condition vulnerability allows unauthenticated attackers to hijack user accounts, including administrator accounts, by exploiting the brief window between QR code file creation and deletion. An attacker can trigger a login link request for any user and then rapidly access the publicly predictable file path to extract the login URL encoded within the QR code.

Critical Impact

Unauthenticated attackers can gain unauthorized access to any WordPress user account, including administrators, by exploiting a race condition in the QR code login functionality. This could lead to complete site compromise.

Affected Products

  • Magic Login Mail or QR Code plugin for WordPress versions up to and including 2.05

Discovery Timeline

  • 2026-02-14 - CVE CVE-2026-2144 published to NVD
  • 2026-02-18 - Last updated in NVD database

Technical Details for CVE-2026-2144

Vulnerability Analysis

This vulnerability is classified as CWE-269 (Improper Privilege Management) and manifests as a race condition combined with insecure file storage practices. The core issue stems from the plugin's QR code generation workflow, which creates a temporary image file containing sensitive authentication data in a predictable, publicly accessible location.

When a user requests a magic login link, the plugin generates a QR code image containing the authentication URL and saves it to the WordPress uploads directory with a static filename. The file is intended to be temporary—deleted after the wp_mail() function completes sending the email. However, this creates an exploitable time window where the file exists and is accessible to anyone who knows or can guess the file path.

The attack requires network access but no authentication, making it exploitable by any remote attacker. While the attack complexity is considered high due to the race condition timing requirements, successful exploitation results in complete account compromise with full confidentiality, integrity, and availability impact on the targeted account.

Root Cause

The root cause of this vulnerability is twofold:

  1. Predictable Static Filename: The plugin uses a hardcoded filename (QR_Code.png) rather than generating unique, unpredictable filenames for each QR code. This allows attackers to know exactly where to look for the authentication token.

  2. Insecure File Location: The QR code is stored in the publicly accessible WordPress uploads directory (wp-content/uploads/) rather than a protected location outside the web root or in a non-publicly accessible directory.

  3. Insufficient File Lifecycle Management: The time between file creation and deletion (the wp_mail() execution window) creates an exploitable race condition. The file should either never be written to disk or should be protected from public access during its existence.

Attack Vector

The attack follows this general sequence:

  1. The attacker identifies a WordPress site using the vulnerable Magic Login Mail or QR Code plugin
  2. The attacker triggers a magic login request for a target user (e.g., administrator)
  3. While the email is being sent, the attacker rapidly polls the predictable file path (/wp-content/uploads/QR_Code.png)
  4. If successful, the attacker retrieves the QR code image before it is deleted
  5. The attacker decodes the QR code to extract the magic login URL
  6. The attacker uses the extracted URL to authenticate as the target user

The attack can be automated to continuously monitor for QR code file creation, increasing the success rate despite the race condition timing challenges. For additional technical details, refer to the WordPress Plugin Code Reference and the Wordfence Vulnerability Report.

Detection Methods for CVE-2026-2144

Indicators of Compromise

  • Unusual or repeated HTTP GET requests to /wp-content/uploads/QR_Code.png from external IP addresses
  • Multiple magic login requests generated for administrator or privileged user accounts in rapid succession
  • Unexpected administrator logins from unfamiliar IP addresses or geographic locations
  • Web server access logs showing high-frequency polling of the uploads directory

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and alert on rapid, repeated requests to the QR_Code.png file path
  • Monitor WordPress authentication logs for login events that occur via magic links, especially for privileged accounts
  • Deploy file integrity monitoring on the WordPress uploads directory to detect unusual file creation patterns
  • Review access logs for automated scanning behavior targeting predictable file paths

Monitoring Recommendations

  • Enable detailed logging for the Magic Login Mail plugin if available, tracking login link generation events
  • Configure SIEM alerts for authentication anomalies, particularly magic link logins from new IP addresses
  • Implement rate limiting on magic login request endpoints to slow automated exploitation attempts
  • Monitor for reconnaissance activity targeting WordPress plugin directories

How to Mitigate CVE-2026-2144

Immediate Actions Required

  • Update the Magic Login Mail or QR Code plugin to a patched version immediately (version newer than 2.05)
  • If an update is not available, disable the plugin until a patch is released
  • Review WordPress user accounts for any unauthorized administrator accounts or suspicious privilege changes
  • Audit recent login activity for signs of compromise, especially magic link authentications from unknown sources

Patch Information

Organizations should check for and apply the latest version of the Magic Login Mail or QR Code plugin that addresses this vulnerability. The vendor fix should implement unique, unpredictable filenames for QR code generation and either store files outside the web root or use in-memory QR code generation without writing to disk. Monitor the WordPress Plugin Repository for update availability.

Workarounds

  • Disable the QR code login feature if the plugin allows, using email-only magic links as an alternative
  • Implement .htaccess rules to deny direct access to QR code images in the uploads directory
  • Use a reverse proxy or WAF to block external access to the QR_Code.png file path
  • Consider switching to an alternative passwordless authentication plugin that does not store sensitive tokens in publicly accessible locations
bash
# Example .htaccess rule to block access to QR code files
# Place in wp-content/uploads/.htaccess

<Files "QR_Code.png">
    Order Allow,Deny
    Deny from all
</Files>

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechWordpress

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-269
  • Technical References
  • WordPress Plugin Code Reference

  • WordPress Plugin Code Reference

  • Wordfence Vulnerability Report
  • Related CVEs
  • CVE-2026-5130: WordPress Debugger Plugin Escalation Flaw

  • CVE-2026-4261: Expire Users Plugin Privilege Escalation

  • CVE-2026-2941: Linksy WordPress Privilege Escalation Flaw

  • CVE-2026-2375: App Builder WordPress Privilege Escalation
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English