Live threats

All CVEs / Microsoft

CVE-2021-34527Microsoft Windows

Remote Code Execution in Windows Print Spooler (PrintNightmare)

High 8.8 KEVRansomware High EPSS

Priority
78
CVSS 3.1
8.8
EPSS
99.8%
probability of exploitation in 30 days · percentile 100
Auth required
Yes
In KEV since
Nov 3, 2021
CISA deadline
May 3, 2022
Ransomware use
Confirmed
Published
Jul 2, 2021
Updated
Aug 10, 2026
Category
Operating system · Windows
SSVC (CISA)
Exploitation: active · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

The Windows Print Spooler service improperly performs privileged file operations, allowing remote code execution with SYSTEM privileges. An authenticated attacker can execute arbitrary code, install programs, modify data, or create accounts with full rights. CISA confirmed this vulnerability as actively exploited.

Show the original NVD text

A remote code execution vulnerability exists when the Windows Print Spooler service improperly performs privileged file operations. An attacker who successfully exploited this vulnerability could run arbitrary code with SYSTEM privileges. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. UPDATE July 7, 2021: The security update for Windows Server 2012, Windows Server 2016 and Windows 10, Version 1607 have been released. Please see the Security Updates table for the applicable update for your system. We recommend that you install these updates immediately. If you are unable to install these updates, see the FAQ and Workaround sections in this CVE for information on how to help protect your system from this vulnerability. In addition to installing the updates, in order to secure your system, you must confirm that the following registry settings are set to 0 (zero) or are not defined (Note: These registry keys do not exist by default, and therefore are already at the secure setting.), also that your Group Policy setting are correct (see FAQ): HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Printers\PointAndPrint NoWarningNoElevationOnInstall = 0 (DWORD) or not defined (default setting) UpdatePromptSettings = 0 (DWORD) or not defined (default setting) Having NoWarningNoElevationOnInstall set to 1 makes your system vulnerable by design. UPDATE July 6, 2021: Microsoft has completed the investigation and has released security updates to address this vulnerability. Please see the Security Updates table for the applicable update for your system. We recommend that you install these updates immediately. If you are unable to install these updates, see the FAQ and Workaround sections in this CVE for information on how to help protect your system from this vulnerability. See also KB5005010: Restricting installation of new printer drivers after applying the July 6, 2021 updates. Note that the security updates released on and after July 6, 2021 contain protections for CVE-2021-1675 and the additional remote code execution exploit in the Windows Print Spooler service known as “PrintNightmare”, documented in CVE-2021-34527.

Source text, unmodified. NVD.

Exploitation confirmed by CISA

Microsoft Windows Print Spooler contains an unspecified vulnerability due to the Windows Print Spooler service improperly performing privileged file operations. Successful exploitation allows an attacker to perform remote code execution with SYSTEM privileges. The vulnerability is also known under the moniker of PrintNightmare.

Action required by CISA: Apply updates per vendor instructions.

Source text, unmodified. CISA KEV.

What to do

Patch available · fixed versions: 10.0.10240.18969, 10.0.14393.4470, 10.0.17763.2029, 10.0.19042.1083, 10.0.19044.1415, 10.0.19045.2251, 10.0.22000.318, 10.0.22621.674

Install Microsoft security updates immediately. Verify that registry keys NoWarningNoElevationOnInstall and UpdatePromptSettings are set to 0 or undefined.

Vendor advisory · msrc.microsoft.com ↗

  1. Apply the vendor's security update for Windows.
  2. CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was May 3, 2022.
  3. Check logs for signs of earlier exploitation.

Affected products (CPE)

VendorProductVersions
microsoftwindows_10_1507< 10.0.10240.18969
microsoftwindows_10_1607< 10.0.14393.4470
microsoftwindows_10_1809< 10.0.17763.2029
microsoftwindows_10_20h2< 10.0.19042.1083
microsoftwindows_10_21h2< 10.0.19044.1415
microsoftwindows_10_22h2< 10.0.19045.2251
microsoftwindows_11_21h2< 10.0.22000.318
microsoftwindows_11_22h2< 10.0.22621.674
microsoftwindows_rt_8.1all
microsoftwindows_server_2008all
microsoftwindows_server_2008r2
microsoftwindows_server_2012all
microsoftwindows_server_2012r2
microsoftwindows_server_2016< 10.0.14393.4470
microsoftwindows_server_2019< 10.0.17763.2029
microsoftwindows_server_2022< 10.0.20348.230
microsoftwindows_server_20h2< 10.0.19042.1083

Official sources

References

Links published by the sources. Open them with care.