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-2021-1675

CVE-2021-1675: Windows Print Spooler RCE Vulnerability

CVE-2021-1675 is a remote code execution vulnerability in Windows Print Spooler that enables attackers to execute arbitrary code with system privileges. This article covers technical details, affected versions, and mitigation.

Published: March 4, 2026

CVE-2021-1675 Overview

CVE-2021-1675, commonly known as "PrintNightmare," is a critical Windows Print Spooler Remote Code Execution vulnerability that affects virtually all versions of Microsoft Windows. This vulnerability allows attackers to execute arbitrary code with SYSTEM-level privileges by exploiting flaws in the Windows Print Spooler service, which handles print job management and printer driver installation across Windows systems.

The vulnerability is particularly dangerous because the Print Spooler service runs by default on most Windows systems, including domain controllers, making it an attractive target for attackers seeking to gain elevated privileges or move laterally within enterprise environments.

Critical Impact

This vulnerability is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog and has been actively exploited in the wild. Successful exploitation grants attackers SYSTEM-level access, enabling complete compromise of affected systems including domain controllers.

Affected Products

  • Microsoft Windows 10 (versions 1507, 1607, 1809, 1909, 2004, 20H2, 21H1)
  • Microsoft Windows 7 SP1
  • Microsoft Windows 8.1 and 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 2004

Discovery Timeline

  • June 8, 2021 - CVE-2021-1675 published to NVD
  • October 30, 2025 - Last updated in NVD database

Technical Details for CVE-2021-1675

Vulnerability Analysis

The Windows Print Spooler Remote Code Execution vulnerability exists due to improper privilege handling within the Print Spooler service (spoolsv.exe). The vulnerability allows authenticated users to install malicious printer drivers, which are then executed with SYSTEM privileges. This creates a direct path from low-privileged user access to complete system compromise.

The Print Spooler service is responsible for managing print jobs and handling the installation of printer drivers. In vulnerable configurations, the service fails to properly validate driver installations and does not adequately restrict which users can add new printer drivers to the system. This architectural flaw means that any authenticated domain user can potentially exploit this vulnerability to gain SYSTEM-level access on any machine running the vulnerable Print Spooler service.

Root Cause

The root cause of CVE-2021-1675 lies in the RpcAddPrinterDriverEx() function within the Print Spooler service. This function allows users to install printer drivers remotely without proper access control validation. The vulnerable code path fails to:

  1. Properly validate the source of printer driver files
  2. Enforce appropriate privilege restrictions on driver installation
  3. Verify the authenticity and integrity of driver DLLs being loaded

When a malicious DLL is placed in a location accessible to the target system and the RpcAddPrinterDriverEx() function is called with appropriate parameters, the Print Spooler service loads and executes the attacker-controlled DLL with SYSTEM privileges.

Attack Vector

The attack leverages the Windows print system's architecture, which was designed to allow flexible driver installation for print management convenience. An attacker with valid domain credentials can exploit this vulnerability through the following mechanism:

  1. The attacker hosts a malicious DLL file on an SMB share accessible to the target system
  2. Using the RpcAddPrinterDriverEx() RPC call, the attacker instructs the target's Print Spooler to load the malicious DLL as a printer driver
  3. The Print Spooler service, running as SYSTEM, loads and executes the malicious DLL
  4. The attacker gains SYSTEM-level code execution on the target machine

This attack is particularly effective against domain controllers, as compromising a DC allows attackers to access domain credentials and establish persistent access across the entire Active Directory environment. Multiple proof-of-concept exploits are publicly available, including those documented on Packet Storm Security.

Detection Methods for CVE-2021-1675

Indicators of Compromise

  • Suspicious DLL files appearing in the C:\Windows\System32\spool\drivers\ directory
  • Unusual outbound SMB connections (port 445) from servers, particularly domain controllers
  • New or modified printer drivers installed through non-standard administrative processes
  • Spoolsv.exe spawning unexpected child processes such as cmd.exe, powershell.exe, or other shells

Detection Strategies

  • Monitor Windows Event Logs for Event ID 316 (Print Spooler driver installation) with non-administrative source users
  • Implement behavioral detection rules for spoolsv.exe process anomalies including unusual child processes
  • Deploy network detection for RPC calls to the Print Spooler service from unexpected sources
  • Use EDR solutions to track DLL loading events within the Print Spooler process

Monitoring Recommendations

  • Enable enhanced Print Spooler logging by configuring Group Policy for detailed operational logs
  • Monitor SMB traffic patterns for connections to suspicious external shares from internal servers
  • Implement file integrity monitoring on the %WINDIR%\System32\spool\drivers\ directory
  • Configure alerts for any printer driver installation events on critical servers and domain controllers

How to Mitigate CVE-2021-1675

Immediate Actions Required

  • Apply the latest Microsoft security patches from the Microsoft Security Advisory
  • Disable the Print Spooler service on servers that do not require printing functionality, especially domain controllers
  • Restrict Point and Print to approved servers only via Group Policy
  • Verify that the RestrictDriverInstallationToAdministrators registry value is set to 1

Patch Information

Microsoft has released security updates to address CVE-2021-1675. Organizations should apply the latest cumulative updates for their specific Windows versions. The patches address the improper privilege validation in the RpcAddPrinterDriverEx() function and implement proper access control checks for printer driver installation.

For detailed patch information and download links, refer to the Microsoft Security Advisory for CVE-2021-1675. Additional technical details are available from the CERT Vulnerability Report.

Workarounds

  • Disable the Print Spooler service entirely on systems that do not require print functionality
  • Block inbound connections to the Print Spooler service using Windows Firewall rules
  • Implement network segmentation to limit SMB traffic from workstations to servers
  • Configure Point and Print restrictions via Group Policy to require administrator approval
powershell
# Disable Print Spooler service on systems that don't require printing
Stop-Service -Name Spooler -Force
Set-Service -Name Spooler -StartupType Disabled

# Restrict driver installation to administrators only (requires KB5005010 or later)
$regPath = "HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Printers\PointAndPrint"
New-Item -Path $regPath -Force | Out-Null
Set-ItemProperty -Path $regPath -Name "RestrictDriverInstallationToAdministrators" -Value 1 -Type DWord

# Verify the setting
Get-ItemProperty -Path $regPath -Name "RestrictDriverInstallationToAdministrators"

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechWindows

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability94.31%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CISA KEV Information
  • In CISA KEVYes
  • CWE References
  • NVD-CWE-Other
  • Technical References
  • Packet Storm PoC

  • Packet Storm RCE Exploit

  • Packet Storm DLL Injection

  • CERT Vulnerability Report

  • CISA Exploited Vulnerabilities Catalog
  • Vendor Resources
  • Microsoft Security Advisory
  • Related CVEs
  • CVE-2026-31995: Openclaw Command Injection Vulnerability

  • CVE-2026-25190: Windows GDI RCE Vulnerability

  • CVE-2026-25166: Windows System Image Manager RCE Flaw

  • CVE-2026-25173: Windows RRAS RCE Vulnerability
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