CVE-2021-34481: Windows Print Spooler privileged file operations vulnerability
- Vendor
- Microsoft Corporation
CVE-2021-34481 is a vulnerability in the Windows Print Spooler service caused by improper privileged file operations. Exploitation permits arbitrary code execution with SYSTEM privileges. A documented exploitation path allows a low-privilege user to install vulnerable printer drivers and elevate privileges. Although classified as remote code execution, the vulnerability was initially described as local privilege escalation. Microsoft released security updates on August 10, 2021, changing the default Point and Print driver installation behavior.
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 affected Windows system with SYSTEM-level code execution. An attacker can install programs, view, modify, or delete data, and create accounts with full user rights. Exploits associated with CVE-2021-34481 have been used for privilege escalation in ransomware operations.
Mitigation
If you can’t patch tonight, do this now.
Disable the Windows Print Spooler service where printing is unnecessary. Where the service must remain enabled, restrict printer driver installation to administrators by setting RestrictDriverInstallationToAdministrators to 1. This administrator-only restriction became the default with updates released on or after August 10, 2021.
Remediation
Patch, then assume compromise.
Install the applicable Microsoft security updates released on August 10, 2021, or subsequent updates containing the fix, on affected Windows systems. Review KB5005652 for the accompanying Point and Print behavior changes and retain the administrator requirement for printer driver installation and updates.
Exploits
No validated public exploits yet. Hidden: 1 rejected by Mallory's analysis as not a working exploit.
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-34481 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2021-34481?
- As of Oct 16, 2026, Mallory has found no public exploit for CVE-2021-34481.
- Is there a patch for CVE-2021-34481?
- Install the applicable Microsoft security updates released on August 10, 2021, or subsequent updates containing the fix, on affected Windows systems. Review KB5005652 for the accompanying Point and Print behavior changes and retain the administrator requirement for printer driver installation and updates.
- What products are affected by CVE-2021-34481?
- Microsoft Corporation Windows 10, Microsoft Corporation Windows 7, Microsoft Corporation Windows 8.1, Microsoft Corporation Windows Rt 8.1, Microsoft Corporation Windows Server 2008, and 3 more.
- How severe is CVE-2021-34481?
- CVE-2021-34481 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 47.7% (99th percentile) as of Oct 16, 2026.
Recent activity
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.