CVE-2021-34527: PrintNightmare
- Vendor
- Microsoft Corporation
PrintNightmare (CVE-2021-34527) is a remote code execution vulnerability in the Windows Print Spooler service caused by improper handling of privileged file operations during printer-driver installation. An authenticated attacker can cause the service to load attacker-controlled code and execute it with SYSTEM privileges. Windows clients, member servers, and domain controllers are affected when the vulnerable service is enabled. The vulnerability is distinct from CVE-2021-1675 and was not addressed by the June 2021 fix for that issue. Microsoft released protections on July 6 and 7, 2021; insecure Point and Print configurations can leave updated systems exposed.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation compromises the confidentiality, integrity, and availability of the affected host by granting SYSTEM-level code execution. An attacker can install software, access or alter sensitive data, delete files, and create privileged accounts. Compromised hosts can subsequently support credential theft, lateral movement, and ransomware deployment. Exploitation has been associated with ransomware operations including Conti, Vice Society, and Black Basta.
Mitigation
If you can’t patch tonight, do this now.
Stop and disable the Print Spooler service on systems that do not require printing, particularly domain controllers; this prevents exploitation through the service but disables local and remote printing. Where the service must remain operational, disable inbound remote printing through Group Policy to reduce remote exposure, recognizing that this does not eliminate local exploitation risk. Restrict access to Print Spooler RPC and SMB interfaces using host and network firewalls. Enforce administrator-only driver installation and retain Point and Print warning and elevation prompts as defense-in-depth controls.
Remediation
Patch, then assume compromise.
Install the latest applicable Windows cumulative security updates incorporating the protections first released on July 6 and 7, 2021. The July 13, 2021 cumulative updates included these fixes and did not require prior installation of the out-of-band updates. Verify that the Point and Print policy values NoWarningNoElevationOnInstall and UpdatePromptSettings are both 0 or undefined. Enable Point and Print Restrictions and require warning and elevation prompts for both new driver installations and driver updates. Set RestrictDriverInstallationToAdministrators to 1 to enforce administrator-only printer-driver installation; this became the default with updates released on or after August 10, 2021.
Exploits
16 exploits validated by Mallory's analysis. Hidden: 21 rejected by Mallory's analysis as not a working exploit; 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2021-34527 exploited in the wild?
- Yes. As of Nov 25, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Nov 3, 2021.
- Is there a public exploit for CVE-2021-34527?
- Yes. Mallory tracks 16 public exploits or proofs of concept for CVE-2021-34527, the earliest disclosed Jun 8, 2021.
- Is there a patch for CVE-2021-34527?
- Install the latest applicable Windows cumulative security updates incorporating the protections first released on July 6 and 7, 2021. The July 13, 2021 cumulative updates included these fixes and did not require prior installation of the out-of-band updates.
- What products are affected by CVE-2021-34527?
- Microsoft Corporation Windows 10 1507, Microsoft Corporation Windows 10 1607, Microsoft Corporation Windows 10 1809, Microsoft Corporation Windows 10 1909, Microsoft Corporation Windows 10 2004, and at least 19 more.
- How severe is CVE-2021-34527?
- CVE-2021-34527 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 99.8% (100th percentile) as of Nov 25, 2026.
Recent activity
94 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.