Vulnerability · CVE-2021-34527
Microsoft Windows Print Spooler Remote Code Execution Vulnerability
Published Jul 2, 2021 · catalog updated Aug 10, 2026 · Microsoft Windows
Patch now
CVE-2021-34527 is in the CISA known-exploited catalog, due May 3, 2022. Confirm Microsoft Windows against the vendor advisory and apply that fix. The CVSS score does not change the priority.
Gaps on this record
- No version range is stored. A customer cannot check an installed version against this record.
- Severity
- High8.8
- Known exploitation
- CISA KEV and VulnCheck KEV
- EPSS
- 99.79%
- Remediation
- Remediation guidance
- Affected products
- cpe microsoft/windows 10 1507 · cpe microsoft/windows 10 1607 · cpe microsoft/windows 10 1809 · cpe microsoft/windows 10 20h2 · cpe microsoft/windows 10 21h2 · cpe microsoft/windows 10 22h2
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 upd
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- cpe microsoft/windows 10 1507version unspecified
- cpe microsoft/windows 10 1607version unspecified
- cpe microsoft/windows 10 1809version unspecified
- cpe microsoft/windows 10 20h2version unspecified
- cpe microsoft/windows 10 21h2version unspecified
- cpe microsoft/windows 10 22h2version unspecified
- cpe microsoft/windows 11 21h2version unspecified
- cpe microsoft/windows 11 22h2version unspecified
- vendor Microsoft Windowsversion unspecified
How to fix CVE-2021-34527
Recommended remediation
Apply updates per vendor instructions. CISA due date May 3, 2022.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
CVE-2021-34527 is in the CISA known-exploited catalog, due May 3, 2022. Confirm Microsoft Windows against the vendor advisory and apply that fix. The CVSS score does not change the priority.
Which versions are affected?
Affected version ranges are not on this record. Apply updates per vendor instructions.
What should an analyst verify?
CWE-269: Improper Privilege Management. EPSS 99.79%. The CISA KEV listing is the exploitation evidence. A public exploit reference is linked in Sources. That is not the same as confirmed exploitation. Use the source links for the original advisory.
Technology hubs
Code
The project this record applies to. Exploit listings stay in References.
No public source repository is identified for this product.
Timeline
Detection, updates, and resolution for this record.
Jul 2, 2021 · Catalog
Detected
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
Nov 3, 2021 · CISA KEV
Known exploited
Apply updates per vendor instructions.
May 3, 2022 · CISA KEV
Remediation due
Apply updates per vendor instructions.
Aug 10, 2026 · Catalog
Updated
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
Sources
- CISA KEVConfirmed exploitationCVE-2021-34527
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.
cisa.gov - CVE.orgVulnerability recordCVE-2021-34527
Official CVE identifier
cve.org - FIRST EPSSExploitation probabilityCVE-2021-34527
30-day exploitation probability 99.8%
first.org - Metasploit ModulesPublic exploit moduleexploit_windows/dcerpc/cve_2021_1675_printnightmare
Public module reference (normal). Module source is not copied into this catalog.
rapid7.com - NIST NVDVulnerability recordCVE-2021-34527
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;
nvd.nist.gov - Packet Storm SecurityCited referencehttp://packetstormsecurity.com/files/167261/Print-Spooler-Remote-DLL-Injection.html
Packet Storm link already published on the finding.
packetstormsecurity.com - VulnCheck KEVConfirmed exploitationCVE-2021-34527
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 i
vulncheck.com
References
- Exploit · packetstormsecurity.com
- VulnCheck exploitation evidence · api.msrc.microsoft.com
- VulnCheck exploitation evidence · blog.talosintelligence.com
- Patch · msrc.microsoft.com
- CISA note · nvd.nist.gov
- Mitigation · portal.msrc.microsoft.com
- VulnCheck exploitation evidence · us-cert.cisa.gov
- US Government Resource · cisa.gov
- CISA note · cisa.gov
- VulnCheck exploitation evidence · crowdstrike.com
- VulnCheck exploitation evidence · cybereason.com
- VulnCheck exploitation evidence · fortinet.com
- Third Party Advisory · kb.cert.org
- Exploit · vicarius.io
- Exploit · vicarius.io
Freshness
Last verified in this catalog Oct 17, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.