CVE-2021-34527

Description

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.

Severity
HIGH
CVSS v3
8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:F/RL:O/RC:C · source cna
Exploit chance (EPSS)
99.792%
chance of exploitation in the next 30 days
among the highest of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2021-11-03 · known ransomware use
Public exploit code
Yes
Exploit references (NVD and CNA): 3
Metasploit modules: 1
Nuclei templates: 0

CISA Known Exploited Vulnerabilities entry

Vulnerability nameMicrosoft Windows Print Spooler Remote Code Execution Vulnerability
Vendor / productMicrosoft / Windows
Date added2021-11-03
Federal remediation due date2022-05-03
Required actionApply updates per vendor instructions.
Known ransomware campaign useKnown

CISA SSVC decision points

Exploitationactive
Automatableno
Technical impacttotal
Scored2024-01-24

Timeline

  1. 2021-07-02Published by the CNA21:25 UTC
  2. 2021-11-03Added to the CISA KEV catalog124 days after publication
  3. 2024-01-24CISA SSVC decision recorded936 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
microsoft windows_server_2012from 6.2.9200.0 before 6.2.9200.23383fixed in 6.2.9200.233836.2.9200.23383
microsoft windows_server_2016from 10.0.14393.0 before 10.0.14393.4470fixed in 10.0.14393.4470before 10.0.14393.4470fixed in 10.0.14393.447010.0.14393.447010.0.14393.4470
microsoft windows_10_1507from 10.0.10240.0 before 10.0.10240.18969fixed in 10.0.10240.18969before 10.0.10240.18969fixed in 10.0.10240.1896910.0.10240.1896910.0.10240.18969
microsoft windows_10_1607from 10.0.14393.0 before 10.0.14393.4470fixed in 10.0.14393.4470before 10.0.14393.4470fixed in 10.0.14393.447010.0.14393.447010.0.14393.4470
microsoft windows_10_1809from 10.0.0 before 10.0.17763.2029fixed in 10.0.17763.2029from 10.0.17763.0 before 10.0.17763.2029fixed in 10.0.17763.2029before 10.0.17763.2029fixed in 10.0.17763.202910.0.17763.202910.0.17763.202910.0.17763.2029
microsoft windows_10_20h2from 10.0.0 before 10.0.19042.1083fixed in 10.0.19042.1083before 10.0.19042.1083fixed in 10.0.19042.108310.0.19042.108310.0.19042.1083
microsoft windows_10_21h2from 10.0.19044.0 before 10.0.19044.1415fixed in 10.0.19044.1415before 10.0.19044.1415fixed in 10.0.19044.141510.0.19044.141510.0.19044.1415
microsoft windows_10_22h2from 10.0.19045.0 before 10.0.19045.2251fixed in 10.0.19045.2251before 10.0.19045.2251fixed in 10.0.19045.225110.0.19045.225110.0.19045.2251
microsoft windows_11_21h2from 10.0.22000.0 before 10.0.22000.318fixed in 10.0.22000.318before 10.0.22000.318fixed in 10.0.22000.31810.0.22000.31810.0.22000.318
microsoft windows_11_22h2from 10.0.22621.0 before 10.0.22621.674fixed in 10.0.22621.674before 10.0.22621.674fixed in 10.0.22621.67410.0.22621.67410.0.22621.674
microsoft windows_rt_8.1from 6.3.0 before 6.3.9600.20046fixed in 6.3.9600.200466.3.9600.20046
microsoft windows_server_2008
microsoft windows_server_2008_r2from 6.1.7601.0 before 6.1.7601.25633fixed in 6.1.7601.256336.1.7601.25633
microsoft windows_server_2008_sp2from 6.0.6003.0 before 6.0.6003.21138fixed in 6.0.6003.211386.0.6003.21138
microsoft windows_server_2012_r2from 6.3.9600.0 before 6.3.9600.20046fixed in 6.3.9600.200466.3.9600.20046
microsoft windows_server_2019from 10.0.17763.0 before 10.0.17763.2029fixed in 10.0.17763.2029before 10.0.17763.2029fixed in 10.0.17763.202910.0.17763.202910.0.17763.2029
microsoft windows_server_2022from 10.0.20348.0 before 10.0.20348.230fixed in 10.0.20348.230before 10.0.20348.230fixed in 10.0.20348.23010.0.20348.23010.0.20348.230
microsoft windows_server_20h2from 10.0.0 before 10.0.19042.1083fixed in 10.0.19042.1083before 10.0.19042.1083fixed in 10.0.19042.108310.0.19042.108310.0.19042.1083

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources