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-2024-38047

CVE-2024-38047: Windows PowerShell Privilege Escalation

CVE-2024-38047 is a privilege escalation vulnerability in Microsoft Windows PowerShell that allows attackers to elevate privileges. This article covers technical details, affected versions, impact, and mitigation.

Updated: January 22, 2026

CVE-2024-38047 Overview

CVE-2024-38047 is a privilege escalation vulnerability affecting Windows PowerShell across multiple versions of Microsoft Windows operating systems. This vulnerability allows a local attacker with low-level privileges to elevate their access and gain high-level control over an affected system, potentially compromising confidentiality, integrity, and availability of critical data and system resources.

Critical Impact

Successful exploitation enables an authenticated local attacker to escalate privileges from a standard user to a higher privilege level, potentially gaining SYSTEM-level access and full control over the affected Windows system.

Affected Products

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

Discovery Timeline

  • 2024-07-09 - CVE-2024-38047 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-38047

Vulnerability Analysis

This elevation of privilege vulnerability exists in Windows PowerShell due to improper input validation (CWE-20). PowerShell is a task automation framework consisting of a command-line shell and associated scripting language built on the .NET framework. The vulnerability allows an authenticated attacker who has local access to the system to execute malicious operations that bypass normal security constraints.

The attack requires local access and low privileges to initiate, but successful exploitation yields high impact across all three security pillars—confidentiality, integrity, and availability. No user interaction is required for exploitation, making this vulnerability particularly concerning for enterprise environments where attackers may already have a foothold through compromised user accounts.

Root Cause

The underlying cause of CVE-2024-38047 is improper input validation (CWE-20) within the PowerShell component. When certain inputs are processed by PowerShell, the lack of proper validation allows an attacker to craft malicious inputs that manipulate the execution context, resulting in elevated privileges. This input validation flaw enables the bypass of intended security boundaries within the Windows operating system.

Attack Vector

The attack vector is local, meaning an attacker must have authenticated access to the target system to exploit this vulnerability. The attack complexity is low, requiring no specialized conditions or additional information gathering. A typical attack scenario involves:

  1. An attacker gains initial access to a Windows system with standard user credentials
  2. The attacker leverages the PowerShell vulnerability by providing crafted inputs
  3. The improper input validation allows the attacker to escape the intended privilege boundary
  4. The attacker achieves elevated privileges, potentially gaining SYSTEM-level access

No public proof-of-concept or exploit code has been identified for this vulnerability at this time.

Detection Methods for CVE-2024-38047

Indicators of Compromise

  • Unusual PowerShell execution patterns from non-administrative accounts attempting privileged operations
  • PowerShell processes spawning unexpected child processes with elevated privileges
  • Anomalous Windows Event Log entries showing privilege escalation attempts (Event IDs 4672, 4673)
  • Unexpected modifications to system files or registry keys originating from PowerShell processes

Detection Strategies

  • Enable and monitor PowerShell Script Block Logging (Event ID 4104) to capture executed commands
  • Configure Windows Defender ATP or SentinelOne to alert on suspicious PowerShell privilege escalation patterns
  • Implement behavioral detection rules for PowerShell processes that spawn elevated child processes
  • Deploy endpoint detection and response (EDR) solutions to monitor for anomalous privilege transitions

Monitoring Recommendations

  • Enable PowerShell transcription and module logging across all Windows endpoints
  • Configure SIEM correlation rules to detect privilege escalation patterns involving PowerShell
  • Monitor for PowerShell executions from unexpected directories or with obfuscated command lines
  • Implement Just Enough Administration (JEA) to restrict PowerShell capabilities for standard users

How to Mitigate CVE-2024-38047

Immediate Actions Required

  • Apply the Microsoft security updates released in July 2024 Patch Tuesday immediately
  • Prioritize patching domain controllers and servers with critical roles
  • Conduct an inventory of all Windows systems to identify unpatched instances
  • Implement network segmentation to limit lateral movement if exploitation occurs

Patch Information

Microsoft has released security updates to address CVE-2024-38047 as part of the July 2024 security updates. Detailed patch information and affected KB articles are available in the Microsoft Security Update Guide. Organizations should deploy these updates through their standard patch management processes, prioritizing internet-facing systems and critical infrastructure.

Workarounds

  • Restrict PowerShell execution policies using Set-ExecutionPolicy to limit script execution
  • Implement PowerShell Constrained Language Mode on high-value systems to restrict functionality
  • Use AppLocker or Windows Defender Application Control (WDAC) to restrict PowerShell execution to authorized users
  • Disable PowerShell v2 engine which may bypass modern security controls
bash
# Disable PowerShell v2 Engine (recommended security hardening)
Disable-WindowsOptionalFeature -Online -FeatureName MicrosoftWindowsPowerShellV2Root

# Enable Constrained Language Mode via environment variable
[Environment]::SetEnvironmentVariable('__PSLockdownPolicy', '4', 'Machine')

# Verify PowerShell logging is enabled via Group Policy
# Computer Configuration > Administrative Templates > Windows Components > Windows PowerShell
# Enable "Turn on Script Block Logging"
# Enable "Turn on Module Logging"

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

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.50%

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

  • NVD-CWE-noinfo
  • Vendor Resources
  • Microsoft Security Update CVE-2024-38047
  • Related CVEs
  • CVE-2026-32219: Microsoft Brokering File System Vulnerability

  • CVE-2026-32184: Microsoft HPC Privilege Escalation Flaw

  • CVE-2026-32150: Function Discovery Service Race Condition

  • CVE-2026-32091: Microsoft Brokering File System 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