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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-2023-21725

CVE-2023-21725: Windows MSRT Privilege Escalation Flaw

CVE-2023-21725 is a privilege escalation vulnerability in Microsoft Windows Malicious Software Removal Tool allowing attackers to gain elevated privileges. This article covers technical details, affected systems, and remediation.

Updated: May 15, 2026

CVE-2023-21725 Overview

CVE-2023-21725 is an elevation of privilege vulnerability in the Microsoft Windows Malicious Software Removal Tool (MSRT). The flaw combines a link-following weakness [CWE-59] with a race condition [CWE-362], allowing a local authenticated attacker to manipulate file system operations performed by the privileged tool. Successful exploitation lets the attacker write to or modify resources outside the intended scope, leading to integrity and availability compromise on the affected host. Microsoft published the advisory on January 10, 2023, and addressed the issue through an updated MSRT release.

Critical Impact

A local low-privileged user can escalate privileges by winning a race against MSRT file operations and redirecting them through symbolic links, resulting in high impact to integrity and availability.

Affected Products

  • Microsoft Windows Malicious Software Removal Tool (versions prior to the January 2023 update)
  • Windows hosts running MSRT delivered via Windows Update
  • Systems where MSRT executes with elevated privileges during scheduled or on-demand scans

Discovery Timeline

  • 2023-01-10 - CVE-2023-21725 published to NVD
  • 2023-01-10 - Microsoft released the security update addressing the vulnerability
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-21725

Vulnerability Analysis

The vulnerability resides in how MSRT handles file system objects during its scanning and remediation routines. MSRT runs with elevated privileges to inspect and remove malicious files. The tool performs sequential checks and operations on file paths without atomically validating that the target object has not been substituted between checks. A local attacker who can predict or influence the paths accessed by MSRT can manipulate the file system state during this window.

The weakness is classified under two Common Weakness Enumerations. [CWE-59] covers improper link resolution before file access, commonly known as link following. [CWE-362] covers concurrent execution using shared resources without proper synchronization, the classic race condition pattern. Together they describe a Time-of-Check Time-of-Use (TOCTOU) exploitation pattern.

Root Cause

MSRT validates a file or directory at one point in time and operates on the same path later without enforcing that the underlying object remains unchanged. An unprivileged user with write access to a parent directory can swap a legitimate file for a symbolic link, junction, or hard link between the check and the use. The tool then performs its privileged operation against the attacker-controlled target.

Attack Vector

Exploitation requires local access and low privileges on the target system. The attacker must also win a timing race against MSRT, which raises attack complexity. Once the race is won, MSRT can be coerced into writing, deleting, or modifying files the attacker could not otherwise reach. The confidentiality impact is none, but integrity and availability impact are high because attacker-influenced operations execute under MSRT's privileged context.

No public proof-of-concept or exploit code is listed in the enriched data, and the vulnerability is not present on the CISA Known Exploited Vulnerabilities catalog. Refer to the Microsoft Security Update CVE-2023-21725 advisory for vendor technical details.

Detection Methods for CVE-2023-21725

Indicators of Compromise

  • Creation of symbolic links, junctions, or hard links in directories accessed by MRT.exe or related MSRT working paths shortly before scheduled scans
  • Unexpected file modifications or deletions on system files coincident with MSRT execution events
  • MSRT log entries in %WINDIR%\debug\mrt.log showing operations against paths outside expected scan targets

Detection Strategies

  • Monitor process creation events for MRT.exe and correlate with file system reparse point creation by non-administrative users
  • Audit file system activity using Windows Security event ID 4663 for SYSTEM-context writes that follow recent reparse point creation by low-privileged users
  • Hunt for repeated, rapid file rename or link operations in user-writable directories that overlap with MSRT scan windows

Monitoring Recommendations

  • Enable object access auditing on directories where MSRT stages files and review for symbolic link creation events
  • Track installed MSRT version through the registry key HKLM\SOFTWARE\Microsoft\RemovalTools\MRT to confirm hosts are running the patched build
  • Alert on local accounts performing high-frequency file system operations during MSRT execution intervals

How to Mitigate CVE-2023-21725

Immediate Actions Required

  • Install the latest version of the Windows Malicious Software Removal Tool through Windows Update or the Microsoft Update Catalog
  • Verify the MSRT version on all managed endpoints and confirm it postdates the January 2023 release
  • Restrict interactive logon rights on servers and shared workstations to limit which accounts can stage a local race condition

Patch Information

Microsoft addressed CVE-2023-21725 by releasing an updated Windows Malicious Software Removal Tool on January 10, 2023. The update is distributed automatically through Windows Update on supported systems. Administrators managing offline or air-gapped fleets should retrieve the updated MSRT package from the Microsoft Update Catalog and deploy it via existing patch management workflows. Full details are available in the Microsoft Security Update CVE-2023-21725 advisory.

Workarounds

  • No vendor-supplied workaround replaces the patch; apply the updated MSRT build as the primary remediation
  • Enforce the principle of least privilege so that standard users cannot create reparse points in sensitive directories by removing the SeCreateSymbolicLinkPrivilege from non-administrative accounts
  • Disable or remove MSRT execution on systems where it is not required, and rely on the endpoint protection platform already in place
bash
# Verify installed MSRT version on a Windows host
reg query "HKLM\SOFTWARE\Microsoft\RemovalTools\MRT" /v Version

# Review MSRT execution log for unexpected operations
type %WINDIR%\debug\mrt.log

# Audit symbolic link privilege assignment
whoami /priv | findstr SeCreateSymbolicLinkPrivilege

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechWindows

  • SeverityMEDIUM

  • CVSS Score6.3

  • EPSS Probability0.19%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-59

  • CWE-362
  • Technical References
  • Microsoft Security Update CVE-2023-21725
  • Related CVEs
  • CVE-2026-41088: Windows 10 21h2 Privilege Escalation Flaw

  • CVE-2026-41095: Windows Server 2012 Privilege Escalation

  • CVE-2026-40382: Windows 10 1607 Privilege Escalation Flaw

  • CVE-2026-40397: Windows 10 1607 Privilege Escalation Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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