Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-25004

CVE-2025-25004: Microsoft PowerShell Privilege Escalation

CVE-2025-25004 is a privilege escalation vulnerability in Microsoft PowerShell caused by improper access control. Authorized attackers can exploit this flaw to elevate privileges locally, compromising system security.

Published: April 15, 2026

CVE-2025-25004 Overview

CVE-2025-25004 is an improper access control vulnerability in Microsoft PowerShell that allows an authorized attacker to elevate privileges locally. This vulnerability affects a wide range of Microsoft Windows operating systems and Windows Server versions, making it a significant concern for enterprise environments relying on PowerShell for system administration and automation tasks.

The vulnerability exists due to insufficient access control mechanisms within PowerShell, which can be exploited by a local attacker with valid credentials to escalate their privileges on the affected system. Successful exploitation could grant an attacker elevated access, potentially leading to complete system compromise.

Critical Impact

An authenticated local attacker can exploit improper access controls in Microsoft PowerShell to escalate privileges, potentially gaining administrative or SYSTEM-level access across affected Windows systems and servers.

Affected Products

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

Discovery Timeline

  • October 14, 2025 - CVE-2025-25004 published to NVD
  • October 20, 2025 - Last updated in NVD database

Technical Details for CVE-2025-25004

Vulnerability Analysis

This vulnerability is classified under CWE-284 (Improper Access Control), indicating that the affected PowerShell component fails to properly restrict access to system resources or functionality. The improper access control flaw allows an attacker who already has a foothold on the system to bypass intended security restrictions and elevate their privileges.

The attack requires local access and user interaction, meaning an attacker must either have physical access to the machine or have already gained initial access through another vector such as phishing or malware. Once the attacker has local access with low privileges, they can exploit this vulnerability to gain higher-level permissions.

The potential impact of successful exploitation is severe, as it could result in complete compromise of confidentiality, integrity, and availability of the affected system. An attacker with elevated privileges could access sensitive data, install persistent malware, modify system configurations, or use the compromised system as a pivot point for lateral movement within the network.

Root Cause

The root cause of CVE-2025-25004 is improper access control within Microsoft PowerShell. The vulnerability stems from insufficient validation or enforcement of access permissions when PowerShell processes certain operations or commands. This allows a low-privileged user to perform actions that should be restricted to administrators or system accounts.

The flaw affects both standalone PowerShell installations and the PowerShell components integrated into Windows operating systems, which explains the extensive list of affected products spanning multiple Windows 10, Windows 11, and Windows Server versions.

Attack Vector

The attack vector for CVE-2025-25004 is local, requiring the attacker to have authenticated access to the target system. The exploitation process involves:

  1. An attacker gains initial access to a Windows system with standard user privileges
  2. The attacker leverages the improper access control vulnerability in PowerShell
  3. Through specifically crafted operations or commands, the attacker bypasses privilege restrictions
  4. The attacker escalates their privileges to a higher level (potentially Administrator or SYSTEM)

The vulnerability requires user interaction, which could involve tricking a user into executing a malicious script or opening a crafted file that triggers the vulnerability. Organizations should be particularly vigilant about social engineering attacks that could facilitate this exploitation path.

Detection Methods for CVE-2025-25004

Indicators of Compromise

  • Unusual PowerShell execution patterns, particularly scripts running with elevated privileges from non-administrative user contexts
  • Unexpected privilege escalation events in Windows Security logs (Event ID 4672, 4673, 4674)
  • PowerShell script block logging showing suspicious commands attempting to access privileged resources
  • Process creation events showing PowerShell spawning child processes with higher privileges than the parent

Detection Strategies

  • Enable PowerShell Script Block Logging and Module Logging to capture detailed command execution
  • Monitor Windows Security Event logs for privilege escalation indicators (Event IDs 4672, 4688)
  • Implement behavioral detection rules for anomalous PowerShell activity using EDR solutions like SentinelOne
  • Configure Windows Defender Application Control (WDAC) policies to restrict unauthorized script execution

Monitoring Recommendations

  • Deploy SentinelOne Singularity Platform for real-time detection of privilege escalation attempts and suspicious PowerShell behavior
  • Establish baseline PowerShell usage patterns and alert on deviations
  • Monitor for lateral movement attempts following potential privilege escalation events
  • Review PowerShell Operational logs (Microsoft-Windows-PowerShell/Operational) for unusual activity patterns

How to Mitigate CVE-2025-25004

Immediate Actions Required

  • Apply the latest Microsoft security updates for all affected Windows systems and PowerShell installations
  • Review user permissions and implement principle of least privilege across all systems
  • Enable PowerShell Constrained Language Mode for non-administrative users where feasible
  • Conduct a security assessment to identify potentially compromised systems

Patch Information

Microsoft has released security updates to address CVE-2025-25004. Organizations should consult the Microsoft Security Update Guide for CVE-2025-25004 for detailed patch information specific to their affected products and versions.

Patches are available through Windows Update, Windows Server Update Services (WSUS), and the Microsoft Update Catalog. Organizations should prioritize patching based on system criticality and exposure, with particular attention to domain controllers, administrative workstations, and other high-value targets.

Workarounds

  • Restrict PowerShell execution to authorized administrators using Group Policy or Windows Defender Application Control
  • Implement AppLocker or WDAC rules to control which scripts and modules can execute
  • Enable PowerShell Constrained Language Mode on systems where full PowerShell functionality is not required
  • Consider temporarily disabling PowerShell remoting on sensitive systems until patches are applied
bash
# Enable PowerShell Constrained Language Mode via registry
# Run in an elevated PowerShell session
Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment' -Name '__PSLockdownPolicy' -Value 4

# Verify PowerShell Script Block Logging is enabled
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging' -Name 'EnableScriptBlockLogging' -Value 1

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechMicrosoft Powershell

  • SeverityHIGH

  • CVSS Score7.3

  • EPSS Probability0.04%

  • 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-284

  • NVD-CWE-noinfo
  • Vendor Resources
  • Microsoft Security Update CVE-2025-25004
  • Related CVEs
  • CVE-2026-26143: Microsoft PowerShell Auth Bypass Flaw

  • CVE-2020-0951: Microsoft PowerShell WDAC Bypass Vulnerability

  • CVE-2024-0057: Microsoft PowerShell Auth Bypass Flaw

  • CVE-2023-36013: Microsoft PowerShell Info Disclosure Flaw
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