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-2025-21331

CVE-2025-21331: Windows 10 1507 Privilege Escalation Flaw

CVE-2025-21331 is a privilege escalation vulnerability in Windows Installer affecting Windows 10 1507. Attackers can exploit this flaw to gain elevated system privileges. This article covers technical details, impact, and mitigation.

Updated: January 22, 2026

CVE-2025-21331 Overview

CVE-2025-21331 is a Windows Installer Elevation of Privilege vulnerability affecting a wide range of Microsoft Windows operating systems. This vulnerability stems from an Improper Link Resolution Before File Access issue (CWE-59), commonly known as a symlink attack, within the Windows Installer component. A local attacker with low privileges could exploit this flaw to elevate their privileges on the affected system, potentially gaining high-level access to confidential data, modifying system files, or disrupting system availability.

Critical Impact

Successful exploitation allows local attackers to escalate privileges from a low-privileged user to gain high confidentiality, integrity, and availability impact on the affected Windows system.

Affected Products

  • Microsoft Windows 10 (versions 1507, 1607, 1809, 21H2, 22H2)
  • Microsoft Windows 11 (versions 22H2, 23H2)
  • Microsoft Windows Server 2008, 2012, 2016, 2019, 2022, and 2022 23H2

Discovery Timeline

  • January 14, 2025 - CVE-2025-21331 published to NVD
  • January 21, 2025 - Last updated in NVD database

Technical Details for CVE-2025-21331

Vulnerability Analysis

This elevation of privilege vulnerability exists in the Windows Installer service, a critical component responsible for software installation, maintenance, and removal on Windows systems. The vulnerability is classified under CWE-59 (Improper Link Resolution Before File Access), indicating that the Windows Installer fails to properly validate symbolic links or junction points before accessing files.

When the Windows Installer performs privileged operations during software installation or maintenance, it may follow attacker-controlled symbolic links to unintended locations. This behavior can be weaponized by a local attacker to manipulate the installer into writing to or reading from arbitrary file locations with elevated SYSTEM privileges.

The attack requires local access and user interaction, meaning the attacker must already have a foothold on the system and must convince a user or trigger a condition where the vulnerable code path is executed. Despite these prerequisites, successful exploitation yields significant impact across confidentiality, integrity, and availability.

Root Cause

The root cause of CVE-2025-21331 lies in the Windows Installer's improper handling of symbolic links (symlinks) and junction points during file operations. When the installer service—running with elevated privileges—processes files or directories, it fails to adequately verify whether these paths have been replaced with symlinks pointing to sensitive system locations. This lack of validation allows an attacker to redirect file operations to arbitrary destinations, effectively bypassing access controls.

Attack Vector

The attack vector is local, requiring the attacker to have authenticated access to the target system with low-level privileges. The exploitation scenario typically involves:

  1. The attacker creates a symbolic link or junction point in a location accessible to them, pointing to a privileged file or directory
  2. The attacker triggers or waits for a Windows Installer operation that interacts with the manipulated path
  3. The Windows Installer follows the symlink with its elevated privileges, performing unintended operations on the target location
  4. The attacker leverages the resulting file modifications or access to escalate their privileges

This vulnerability requires user interaction, indicating that an administrative action or user-initiated installation process may be necessary to trigger the vulnerable code path.

Detection Methods for CVE-2025-21331

Indicators of Compromise

  • Unexpected symbolic links or junction points created in Windows Installer temporary directories (e.g., %TEMP%, C:\Windows\Installer)
  • Unusual file modifications in protected system directories that correlate with Windows Installer activity
  • Anomalous msiexec.exe process behavior or unexpected child processes spawned during installation operations

Detection Strategies

  • Monitor for the creation of symbolic links and junction points by non-administrative users, particularly in paths commonly used by Windows Installer
  • Implement behavioral detection rules that alert on msiexec.exe accessing or modifying files outside expected installation directories
  • Deploy endpoint detection solutions capable of identifying TOCTOU (Time-of-Check to Time-of-Use) race condition exploitation patterns

Monitoring Recommendations

  • Enable Windows Security Event logging for file system operations, particularly events related to symbolic link creation (Event ID 4663 with appropriate audit policies)
  • Configure SentinelOne Singularity platform to monitor for privilege escalation attempts via Windows Installer abuse
  • Review Windows Installer logs (%TEMP%\MSI*.log) for anomalous file path references that may indicate exploitation attempts

How to Mitigate CVE-2025-21331

Immediate Actions Required

  • Apply the January 2025 Microsoft security updates immediately across all affected Windows systems
  • Prioritize patching on systems where local users have the ability to create symbolic links or junction points
  • Audit systems for signs of exploitation, particularly focusing on unexpected privilege changes or file modifications
  • Implement least-privilege access policies to limit the number of users with local access to critical systems

Patch Information

Microsoft has released security updates addressing CVE-2025-21331 as part of their January 2025 Patch Tuesday release. Organizations should obtain the appropriate patches from the Microsoft Security Update Guide for CVE-2025-21331. The update applies to all supported versions of Windows 10, Windows 11, and Windows Server listed in the affected products.

Workarounds

  • Restrict the ability of standard users to create symbolic links by configuring the SeCreateSymbolicLinkPrivilege user right via Group Policy
  • Enable Windows Defender Exploit Guard to provide additional protection against exploitation of file-based vulnerabilities
  • Consider implementing application control policies to restrict which applications can invoke Windows Installer operations
  • Limit local access to critical servers and workstations where feasible, reducing the attack surface for local privilege escalation
bash
# PowerShell: Check current symbolic link privilege assignment
secedit /export /cfg C:\temp\secpol.cfg
Select-String -Path C:\temp\secpol.cfg -Pattern "SeCreateSymbolicLinkPrivilege"

# Review and restrict this privilege to administrators only via Group Policy:
# Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignment > Create symbolic links

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

  • SeverityHIGH

  • CVSS Score7.3

  • EPSS Probability0.42%

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

  • NVD-CWE-noinfo
  • Vendor Resources
  • Microsoft CVE-2025-21331 Advisory
  • Related CVEs
  • CVE-2026-33104: Windows Win32K Privilege Escalation Flaw

  • CVE-2026-33101: Windows Print Spooler Privilege Escalation

  • CVE-2026-33099: Windows WinSock Privilege Escalation Flaw

  • CVE-2026-33098: Windows Container Isolation Privilege Escalation
Default Legacy - Prefooter | 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