CVE-2021-34527: Microsoft Windows Print Spooler Remote Code Execution Vulnerability
CVE-2021-34527 key facts
- CISA KEV
- Listed ; federal due date ; ransomware use known to CISA
- Highest advisory rating
- High
- CVSS vector
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· base score 8.8, scored by microsoftAttack vector: network. Attack complexity: low. Privileges required: low. User interaction: none. Scope: unchanged. Confidentiality impact: high. Integrity impact: high. Availability impact: high.- Weakness
- Remote Code Execution
- EPSS
- 99.8% chance of exploitation in the next 30 days (99th percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: active. Automatable: no. Technical impact: total. CISA, .
- Vendor advisories
- 1 from MS Server
- Assigned by
- microsoft (CNA)
- CVE record published
- Listed by VulniPulse
Ratings, versions and fixes are quoted from the vendor advisories that cover only CVE-2021-34527; each belongs to its advisory, not to every product listed. How records are collected and checked.
Is CVE-2021-34527 exploited?
Yes. CISA lists CVE-2021-34527 in its Known Exploited Vulnerabilities catalog (added ), which means CISA has evidence of exploitation in the wild. CISA also reports known use in ransomware campaigns.
CISA required action: Apply updates per vendor instructions.
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.
Text from the CVE.org record (microsoft).
Vendor advisories for CVE-2021-34527
MS Server
1 advisory- Advisory severityHigh8.8
High [CVE-2021-1675 +1] Windows Print Spooler Remote Code Execution Vulnerability
CVE-2021-34527Source published Source updated
This bulletin covers 2 CVEs. The products, versions, score and guidance below describe the bulletin; check its source for applicability to this specific CVE.
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.…
- Affected products in this advisory
- Windows Server 2008 R2 Service Pack 1 (Server Core installation)
- Windows Server 2008 Service Pack 2 (Server Core installation)
- Windows Server 2012 (Server Core installation)
- Windows Server 2012 R2 (Server Core installation)
6 more entries in the full advisory.
- Source-reported affected versions
- Windows 10 Version 1507 10.0.10240.0 before 10.0.10240.18969
- Windows 10 Version 1607 10.0.14393.0 before 10.0.14393.4470
- Windows 10 Version 1809 10.0.17763.0 before 10.0.17763.2029
- Windows 10 Version 1809 10.0.0 before 10.0.17763.2029
8 more entries in the full advisory.
- Source-reported fixed versions
- 10.0.10240.18969
- 10.0.14393.4470
- 10.0.17763.2029
- 10.0.19042.1083
8 more entries in the full advisory.
- Mitigation guidance
- 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.
1 more entries in the full advisory.
- Workarounds
- 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.
References
- CVE-2021-34527 recordCVE.org
- CVE-2021-34527 detailNVD
- Known Exploited Vulnerabilities catalogCISA
- Windows Print Spooler Remote Code Execution Vulnerabilityvendor-advisory, patch
Timeline
- CVE record published
- Added to CISA KEV
- CVE record last updated
- First vendor advisory listed by VulniPulse
More MS Server advisories
CVE-2026-20940Jan 13, 2026Windows Cloud Files Mini Filter Driver Elevation of Privilege VulnerabilityCVE-2026-20931Jan 13, 2026Windows Telephony Service Elevation of Privilege VulnerabilityCVE-2026-20929Jan 13, 2026Windows HTTP.sys Elevation of Privilege VulnerabilityCVE-2026-20868Jan 13, 2026Windows Routing and Remote Access Service (RRAS) Remote Code Execution VulnerabilityCVE-2026-20849Jan 13, 2026Windows Kerberos Elevation of Privilege VulnerabilityCVE-2026-20843Jan 13, 2026Windows Routing and Remote Access Service (RRAS) Elevation of Privilege Vulnerability
Get an email when Microsoft publishes the next one.
See Microsoft's last 90 days first. Live alerts for one product are free for life; every vendor is US$5 a month with Pro (first month US$1).