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-2022-21997

CVE-2022-21997: Windows Print Spooler Privilege Escalation

CVE-2022-21997 is a privilege escalation vulnerability in Windows Print Spooler that allows attackers to gain elevated system privileges. This article covers the technical details, affected Windows 10 versions, and mitigation.

Published: February 11, 2026

CVE-2022-21997 Overview

CVE-2022-21997 is an elevation of privilege vulnerability affecting the Windows Print Spooler service across a wide range of Microsoft Windows operating systems. This vulnerability is classified as CWE-59 (Improper Link Resolution Before File Access), commonly known as a symlink attack vulnerability. An authenticated attacker with low privileges can exploit improper handling of symbolic links within the Print Spooler service to elevate their privileges on the affected system, potentially gaining the ability to modify or delete critical files.

Critical Impact

Successful exploitation allows a low-privileged local attacker to achieve high-impact integrity and availability compromise, enabling unauthorized file manipulation and potential system disruption.

Affected Products

  • Microsoft Windows 10 (all versions including 1607, 1809, 1909, 20H2, 21H1, 21H2)
  • Microsoft Windows 11 (x64 and ARM64)
  • Microsoft Windows 7 SP1
  • Microsoft Windows 8.1
  • Microsoft Windows RT 8.1
  • Microsoft Windows Server 2008 SP2 and R2 SP1
  • Microsoft Windows Server 2012 and R2
  • Microsoft Windows Server 2016
  • Microsoft Windows Server 2019
  • Microsoft Windows Server 2022 and 20H2

Discovery Timeline

  • 2022-02-09 - CVE-2022-21997 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-21997

Vulnerability Analysis

The Windows Print Spooler service is a critical component responsible for managing print jobs and printer communications. This vulnerability stems from improper handling of symbolic links (symlinks) during file operations performed by the Print Spooler service. When the Print Spooler processes certain file operations, it fails to properly validate and resolve symbolic links, allowing an attacker to redirect file operations to arbitrary locations on the file system.

The attack requires local access and low-level privileges, meaning an attacker must first gain initial access to the target system. However, no user interaction is required to trigger the vulnerability once the attacker has established a foothold. The vulnerability does not allow the attacker to read confidential information, but it provides the ability to manipulate files with elevated privileges, potentially leading to system integrity compromise or denial of service through file deletion or corruption.

Root Cause

The root cause is classified as CWE-59: Improper Link Resolution Before File Access (also known as "Link Following"). The Print Spooler service performs privileged file operations without adequately verifying whether the target paths contain symbolic links pointing to sensitive system locations. This allows an attacker to create carefully crafted symbolic links that cause the Print Spooler to write to or delete files outside the intended directory scope, effectively performing actions with SYSTEM-level privileges.

Attack Vector

The attack is performed locally on the target system. An attacker with low-privilege access creates a symbolic link in a location accessible by the Print Spooler service. When the Print Spooler performs its normal file operations, it follows the symlink and performs the privileged operation on the attacker-specified target. This can be leveraged to:

  1. Overwrite critical system files
  2. Delete files that should be protected
  3. Potentially achieve further privilege escalation by manipulating configuration files or scheduled tasks

The vulnerability mechanism involves the attacker creating a junction point or symbolic link in the spool directory or a related location. When the Print Spooler service attempts to write or delete temporary files, it inadvertently follows the symlink and operates on the attacker's chosen target with SYSTEM privileges.

Detection Methods for CVE-2022-21997

Indicators of Compromise

  • Unusual symbolic links or junction points created in the C:\Windows\System32\spool\ directory hierarchy
  • Unexpected file modifications in system directories attributed to the spoolsv.exe process
  • Print Spooler service creating or deleting files outside of standard spool locations
  • Security event logs showing file operations by SYSTEM account in unexpected directories

Detection Strategies

  • Monitor for symbolic link creation events in spool-related directories using Sysmon Event ID 11 (File Create) with target path analysis
  • Implement file integrity monitoring on critical system directories to detect unauthorized modifications
  • Deploy behavioral detection rules that alert on the Print Spooler process accessing unusual file system paths
  • Use endpoint detection and response (EDR) solutions to correlate low-privilege user activity with subsequent privileged file operations

Monitoring Recommendations

  • Enable Windows Security Auditing for file system object access on sensitive directories
  • Configure Sysmon to log process creation and file system activity for spoolsv.exe
  • Establish baseline behavior for Print Spooler file operations and alert on deviations
  • Monitor for rapid creation/deletion cycles of symbolic links that may indicate exploitation attempts

How to Mitigate CVE-2022-21997

Immediate Actions Required

  • Apply the Microsoft security update from the February 2022 Patch Tuesday release immediately
  • Prioritize patching on systems where the Print Spooler service is actively required
  • If patching is not immediately possible, consider temporarily disabling the Print Spooler service on systems that do not require print functionality
  • Audit user accounts with local access and ensure principle of least privilege is enforced

Patch Information

Microsoft has released security updates to address this vulnerability as part of the February 2022 security updates. The patch corrects how the Windows Print Spooler service validates and resolves symbolic links during file operations. Organizations should obtain the appropriate update for their Windows version from the Microsoft Security Update Guide for CVE-2022-21997.

Workarounds

  • Disable the Print Spooler service on systems where printing is not required using Stop-Service -Name Spooler -Force; Set-Service -Name Spooler -StartupType Disabled
  • Remove the Print Spooler service from domain controllers and other critical servers that do not need print functionality
  • Implement application whitelisting to prevent unauthorized executables from running in spool directories
  • Apply strict access controls to the spool directory hierarchy to limit which users can create files or symbolic links
bash
# Disable Print Spooler service as a workaround
# PowerShell commands to stop and disable the service
Stop-Service -Name Spooler -Force
Set-Service -Name Spooler -StartupType Disabled

# Verify service is stopped and disabled
Get-Service -Name Spooler | Select-Object Name, Status, StartType

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.1

  • EPSS Probability0.29%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-59
  • Technical References
  • Microsoft Security Update CVE-2022-21997
  • Related CVEs
  • CVE-2026-23672: Windows UDFS Privilege Escalation Flaw

  • CVE-2026-25178: Windows WinSock Driver Privilege Escalation

  • CVE-2026-24283: Windows File Server Privilege Escalation

  • CVE-2026-24294: Windows SMB Server 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