CVE-2022-38005 Overview
CVE-2022-38005 is an elevation of privilege vulnerability in the Windows Print Spooler service. The flaw allows a locally authenticated attacker to elevate privileges to SYSTEM, the highest privilege level on a Windows host. Microsoft addressed the issue in the September 2022 Patch Tuesday release.
The vulnerability affects a broad range of supported and legacy Windows operating systems, including Windows 7 through Windows 11 and Windows Server 2008 through Windows Server 2022. The Print Spooler service (spoolsv.exe) has been a recurring target for privilege escalation research since the PrintNightmare disclosures, making this class of issue a priority for defenders to patch promptly.
Critical Impact
A low-privileged local user can abuse the Print Spooler service to execute code as SYSTEM, achieving full compromise of the affected host.
Affected Products
- Microsoft Windows 10 and Windows 11 (x86, x64, ARM64)
- Microsoft Windows 7 SP1 and Windows 8.1 (including RT)
- Microsoft Windows Server 2008, 2012, 2016, 2019, and 2022
Discovery Timeline
- 2022-09-13 - CVE-2022-38005 published to NVD and addressed in Microsoft's September 2022 Patch Tuesday
- 2024-11-21 - Last updated in NVD database
Technical Details for CVE-2022-38005
Vulnerability Analysis
The vulnerability resides in the Windows Print Spooler service, a core Windows component that manages print jobs and printer driver installation. Print Spooler runs as NT AUTHORITY\SYSTEM and exposes RPC and local interfaces that interact with user-controlled inputs such as driver paths, configuration files, and queue metadata.
An attacker with local, low-privileged access can interact with the Spooler service in a way that causes it to perform privileged file or driver operations on the attacker's behalf. Because the service operates as SYSTEM, any abuse of those privileged operations results in code execution at the SYSTEM integrity level. Microsoft classified the CWE as NVD-CWE-noinfo, and detailed root cause information was not published.
The issue requires no user interaction and is exploitable entirely from the local console or any session where the attacker can communicate with the Spooler service.
Root Cause
Microsoft has not publicly disclosed the specific code path or component within Print Spooler that is responsible for the flaw. Based on the impact metrics and the affected component, the underlying defect is consistent with improper validation or insecure handling of privileged operations performed by spoolsv.exe on behalf of unprivileged callers.
Attack Vector
Exploitation requires local access and low privileges. The attacker invokes Print Spooler functionality from a standard user context, then leverages the service's SYSTEM-level operations to write files, load drivers, or execute code outside the attacker's original security boundary. No public proof-of-concept or CISA KEV listing exists for this CVE, though the EPSS score of 1.459% (81st percentile) suggests above-average interest relative to the broader CVE population.
No verified exploit code is available for this CVE. Refer to the Microsoft Security Update CVE-2022-38005 advisory for technical guidance.
Detection Methods for CVE-2022-38005
Indicators of Compromise
- Unexpected child processes spawned by spoolsv.exe, especially cmd.exe, powershell.exe, or rundll32.exe
- New or modified files under C:\Windows\System32\spool\drivers\ written by non-administrative users
- Unsigned or unexpected printer driver DLLs loaded by the Print Spooler process
- Event ID 808 (The print spooler failed to load a plug-in module) or unusual entries in the Microsoft-Windows-PrintService/Admin log
Detection Strategies
- Monitor process creation events where the parent process is spoolsv.exe and the child is an interactive shell or scripting host
- Alert on file writes to printer driver directories that originate from non-SYSTEM, non-administrator security contexts
- Hunt for printer driver installation events (PrintService Event IDs 316, 317, 318) initiated by standard users
- Correlate Print Spooler service restarts with subsequent privilege escalation indicators on the same host
Monitoring Recommendations
- Enable Microsoft-Windows-PrintService/Operational logging on all endpoints and servers
- Forward Sysmon process creation, image load, and file create events to a centralized analytics platform
- Baseline normal printer driver and port activity per host so anomalies surface quickly
- Track Print Spooler service starts and stops for systems where printing is not a business requirement
How to Mitigate CVE-2022-38005
Immediate Actions Required
- Apply the September 2022 Microsoft security update for every affected Windows and Windows Server build in the environment
- Inventory hosts where Print Spooler is running but not required, and disable the service on those systems
- Restrict point-and-print and driver installation to administrators via Group Policy
- Prioritize patching domain controllers and other high-value servers where Spooler is enabled
Patch Information
Microsoft released a security update on September 13, 2022 that remediates CVE-2022-38005. Patch details and download links are available at the Microsoft Security Update CVE-2022-38005 advisory. Administrators should validate that the corresponding KB for each OS build is installed and reboot affected systems.
Workarounds
- Stop and disable the Print Spooler service on systems that do not require local or network printing, particularly servers and domain controllers
- Enforce the RestrictDriverInstallationToAdministrators registry value to block non-administrative driver installation
- Use Group Policy to limit Package Point and Print to a list of approved print servers
- Apply the principle of least privilege so standard users cannot remain logged on to high-value hosts
# Disable Print Spooler on systems that do not need printing
Stop-Service -Name Spooler -Force
Set-Service -Name Spooler -StartupType Disabled
# Restrict printer driver installation to administrators
New-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint" `
-Name "RestrictDriverInstallationToAdministrators" `
-PropertyType DWORD -Value 1 -Force
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

