Skip to main content
CVE Vulnerability Database
Vulnerability Database/CVE-2026-34342

CVE-2026-34342: Windows 10 1607 Privilege Escalation Flaw

CVE-2026-34342 is a race condition privilege escalation flaw in Windows 10 1607 Print Spooler that allows authenticated attackers to gain elevated privileges. This article covers technical details, impact, and mitigations.

Published:

CVE-2026-34342 Overview

CVE-2026-34342 is a race condition vulnerability in Windows Print Spooler Components. The flaw involves concurrent execution using a shared resource with improper synchronization [CWE-362]. An authorized local attacker can exploit the timing window to elevate privileges on affected Windows systems.

Microsoft published the advisory on 2026-05-12. The vulnerability carries a CVSS 3.1 base score of 7.0 (HIGH) with vector AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H. Successful exploitation grants full confidentiality, integrity, and availability impact on the host. The attack complexity is high because the attacker must reliably win the race window, but no user interaction is required.

Critical Impact

A local authenticated attacker who wins the race condition gains elevated privileges on Windows clients and servers, enabling full host compromise.

Affected Products

  • Microsoft Windows 10 (1607, 1809, 21H2, 22H2) across x86, x64, and ARM64
  • Microsoft Windows 11 (23H2, 24H2, 25H2, 26H1) across x64 and ARM64
  • Microsoft Windows Server 2012, 2012 R2, 2016, 2019, 2022, 2022 23H2, and 2025

Discovery Timeline

  • 2026-05-12 - Microsoft publishes security advisory for CVE-2026-34342
  • 2026-05-12 - CVE-2026-34342 published to NVD
  • 2026-05-14 - Last updated in NVD database

Technical Details for CVE-2026-34342

Vulnerability Analysis

The Windows Print Spooler service (spoolsv.exe) handles print jobs as SYSTEM and manages shared resources across multiple concurrent client requests. CVE-2026-34342 stems from improper synchronization when two or more threads access a shared resource within Print Spooler Components. The race window allows an authorized attacker to manipulate object state between a check and a subsequent use.

The vulnerability is classified as a Time-of-Check Time-of-Use (TOCTOU) issue under [CWE-362]. When the attacker wins the race, code paths execute against attacker-controlled state in the security context of the Print Spooler service. Because the Spooler runs with SYSTEM privileges, the result is local privilege escalation from a standard user account.

Root Cause

The root cause is the absence of adequate locking or atomic operations around a shared resource accessed concurrently by Print Spooler threads. A privileged operation validates a property of the shared object, then acts on the object without re-validating after the lock-free window. An attacker running parallel operations can replace, modify, or free the object during the gap.

Attack Vector

Exploitation requires local code execution as a low-privileged authenticated user. The attacker triggers a Print Spooler operation, such as a printer driver installation, port configuration, or print job submission, while concurrently mutating the shared resource. Reliable exploitation typically requires multiple attempts and CPU contention to widen the race window, reflected in the high attack complexity rating.

No public proof-of-concept is available at this time, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. The EPSS score is 0.037%, indicating low predicted exploitation activity in the immediate term. Refer to the Microsoft Security Update Guide for component-level technical details.

Detection Methods for CVE-2026-34342

Indicators of Compromise

  • Unexpected child processes spawned by spoolsv.exe, particularly cmd.exe, powershell.exe, or rundll32.exe running as SYSTEM
  • New or modified files written under C:\Windows\System32\spool\drivers\ by non-administrative users
  • Repeated, rapid invocations of printer management APIs (AddPrinterDriverEx, SetPrinter, AddPort) from a single user session
  • Sudden privilege transitions where a standard user account performs SYSTEM-level actions shortly after Print Spooler activity

Detection Strategies

  • Monitor Windows Event Log channels Microsoft-Windows-PrintService/Admin and Microsoft-Windows-PrintService/Operational for abnormal driver and port operations
  • Correlate Sysmon Event ID 1 (process create) with parent process spoolsv.exe and untrusted child binaries
  • Deploy behavioral detections that flag high-frequency, concurrent print API calls from non-administrative users

Monitoring Recommendations

  • Enable command-line and process-tree logging across all Windows endpoints and servers running the Print Spooler service
  • Forward Print Spooler telemetry to a centralized data lake for cross-host correlation and retrospective hunting
  • Alert on any successful privilege escalation events (Event ID 4672) tied to processes spawned by spoolsv.exe

How to Mitigate CVE-2026-34342

Immediate Actions Required

  • Apply the May 2026 Microsoft security updates to all affected Windows 10, Windows 11, and Windows Server systems
  • Inventory hosts running the Print Spooler service and prioritize patching domain controllers and privileged servers first
  • Disable the Print Spooler service on systems that do not require printing, especially domain controllers
  • Restrict local logon rights to minimize the population of users who could attempt local exploitation

Patch Information

Microsoft has released patches via the Microsoft Security Update Guide for CVE-2026-34342. Updates are distributed through Windows Update, WSUS, and the Microsoft Update Catalog. Verify deployment using update KB numbers referenced in the advisory for each affected Windows build.

Workarounds

  • Stop and disable the Spooler service on servers that do not host print functions: Stop-Service Spooler; Set-Service Spooler -StartupType Disabled
  • Apply the Group Policy Computer Configuration\Administrative Templates\Printers\Allow Print Spooler to accept client connections set to Disabled where remote print is not needed
  • Restrict Point and Print driver installation to administrators via the RestrictDriverInstallationToAdministrators registry value
  • Limit interactive and remote desktop access on servers to reduce the attack surface for local exploitation
bash
# Disable Print Spooler service on hosts that do not require printing
Stop-Service -Name Spooler -Force
Set-Service -Name Spooler -StartupType Disabled

# Enforce administrator-only driver installation (Point and Print hardening)
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.

Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.