| CVE ID | CVE-2021-34527 (related to CVE-2021-1675) |
| Affected software | Windows Print Spooler service, nearly all Windows versions |
| Severity | CVSS 8.8 (High) — remote code execution / privilege escalation to SYSTEM |
| Fixed in | Microsoft's July 2021 out-of-band security update, with further hardening updates afterward |
| Disclosed | June 29, 2021 (proof-of-concept accidentally published, then confirmed July 1, 2021) |
What Happened
The Print Spooler service manages printer drivers and runs with SYSTEM-level privileges — the highest level on Windows. It allows installing new printer drivers, which is normally restricted, but a flaw in its permission checks let a low-privileged user (or, in some setups, a remote attacker) install a malicious "driver" that was really just code, which the spooler then ran with its own SYSTEM privileges.
What This Means
This is a privilege escalation bug that could also be triggered remotely in certain configurations, making it especially dangerous: an attacker who already had limited access to a machine, or in some cases network access to a domain controller running the spooler, could jump straight to full administrative control.
Why You Should Care
The Print Spooler runs by default on most Windows installations, including domain controllers, even on machines with no printer attached. PrintNightmare mattered because the affected service was both nearly universal and rarely something administrators thought to lock down, and because proof-of-concept exploit code leaked publicly before an official patch was ready, triggering a scramble across IT teams worldwide.
What You Can Do
- Apply Microsoft's PrintNightmare patches as soon as released; this was treated as an emergency, out-of-band fix for good reason.
- Disable the Print Spooler service entirely on servers that don't need printing, especially domain controllers — the single most effective mitigation.
- Restrict who can install printer drivers via Group Policy, rather than leaving default permissive settings in place.
- Periodically audit which "always on" Windows services are actually needed on each class of server — unused services are unnecessary attack surface.
Security researchers demonstrated full domain-controller takeover using PrintNightmare within days of disclosure, prompting Microsoft to issue patches outside its normal monthly update cycle and many organizations to disable the spooler service network-wide as an emergency measure.
A decades-old, always-running Windows service meant to manage printers turned out to be a path straight to SYSTEM privileges — a reminder that "it's always been there" isn't the same as "it's safe."
Explore More CVEs