CVE-2021-34527

Microsoft Windows Print Spooler Remote Code Execution Vulnerability

Actively exploited · CISA KEV Ransomware use: known
8.8 HighCVSS v3.1
99.8%EPSS (30-day exploit probability)
2021-11-03added to KEV
2022-05-03CISA federal due date

Summary

Microsoft Windows. 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.

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.

CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
2021-07-02 (last modified 2026-08-10)

What to do

Apply updates per vendor instructions.

  1. Find every instance of Microsoft Windows in your asset inventory, including internet-facing ones.
  2. Apply the vendor fix or mitigation, or isolate/disconnect the asset until you can.
  3. Hunt for signs of compromise from before you patched; exploitation is already happening in the wild.
  4. Ask critical suppliers whether they are affected and when they will be patched.

FAQ

Is CVE-2021-34527 being exploited?

Yes. CISA added CVE-2021-34527 to its Known Exploited Vulnerabilities catalog on 2021-11-03, which means there is reliable evidence of active exploitation. It is also known to be used in ransomware campaigns.

How do I fix CVE-2021-34527?

CISA required action: Apply updates per vendor instructions.

What is the EPSS score for CVE-2021-34527?

The EPSS score is 99.79%, meaning an estimated 99.79% probability of exploitation activity in the next 30 days (percentile 100).

Other exploited Microsoft vulnerabilities

CVE-2026-124194Microsoft Office Outlook Missing User Interaction for Potentially Unsafe Action Vulnerability2026-11-10
CVE-2026-96951Microsoft Windows Command Injection Vulnerability2026-10-13
CVE-2026-65660Microsoft SharePoint Code Injection Vulnerability2026-09-25
CVE-2026-85880Microsoft Windows Heap-Based Buffer Overflow Vulnerability2026-09-08
CVE-2026-81963Microsoft Windows Link Following Vulnerability2026-09-08
CVE-2019-1068Microsoft SQL Server Remote Code Execution Vulnerability2026-08-26
CVE-2026-55040Microsoft SharePoint Weak Authentication Vulnerability2026-08-18
CVE-2026-33824Microsoft Internet Key Exchange (IKE) Service Extensions Double Free Vulnerability2026-08-18

All Microsoft exploited CVEs →

Triage many CVEs at once

Paste up to 25 CVEs and get KEV, EPSS and CVSS side by side, with CSV export.

Try Pro CVE triage

Sources: CISA KEV, NIST NVD, FIRST EPSS. This page is informational; verify against the vendor advisory before acting. © CyberStrategiX.