nday
CVE-2021-34527

Windows Print Spooler Remote Code Execution Vulnerability

Microsoft / Windows, Windows 10 Version 1507, Windows 10 Version 1607, Windows 10 Version 1809, Windows 10 Version 20H2, Windows 10 Version 21H2 +18

Added to KEV 124 days after disclosure. nday has no fix record for it yet; that does not mean no patch exists. Listed by 1 of 4 PoC sources: metasploit.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

network
AV:N in CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:F/RL:O/RC:C (CVSS 3.1) from the CNA microsoft
no user interaction
UI:N in CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:F/RL:O/RC:C (CVSS 3.1) from the CNA microsoft
ransomware use
CISA KEV entry: knownRansomwareCampaignUse is Known
Metasploit
Metasploit modules exploit/windows/dcerpc/cve_2021_1675_printnightmare
Windows
affected products in the CVE record: Microsoft · Windows, Microsoft · Windows 10 Version 1507, Microsoft · Windows 10 Version 1607, Microsoft · Windows 10 Version 1809, Microsoft · Windows 10 Version 20H2, Microsoft · Windows 10 Version 21H2, Microsoft · Windows 10 Version 22H2, Microsoft · Windows 11 version 21H2, Microsoft · Windows 11 version 22H2, Microsoft · Windows 8.1CPE names NVD's analysts give as vulnerable: o:microsoft:windows_10_1507, o:microsoft:windows_10_1607, o:microsoft:windows_10_1809, o:microsoft:windows_10_20h2, o:microsoft:windows_10_21h2, o:microsoft:windows_10_22h2, o:microsoft:windows_11_21h2, o:microsoft:windows_11_22h2, o:microsoft:windows_rt_8.1
Windows Server
affected products in the CVE record: Microsoft · Windows Server 2008 R2 Service Pack 1, Microsoft · Windows Server 2008 R2 Service Pack 1 (Server Core installation), Microsoft · Windows Server 2008 Service Pack 2, Microsoft · Windows Server 2008 Service Pack 2 (Server Core installation), Microsoft · Windows Server 2012, Microsoft · Windows Server 2012 (Server Core installation), Microsoft · Windows Server 2012 R2, Microsoft · Windows Server 2012 R2 (Server Core installation), Microsoft · Windows Server 2016, Microsoft · Windows Server 2016 (Server Core installation) and 4 moreCPE names NVD's analysts give as vulnerable: o:microsoft:windows_server_2008, o:microsoft:windows_server_2012, o:microsoft:windows_server_2016, o:microsoft:windows_server_2019, o:microsoft:windows_server_2022, o:microsoft:windows_server_20h2
operating system
affected products in the CVE record: Microsoft · Windows, Microsoft · Windows 10 Version 1507, Microsoft · Windows 10 Version 1607, Microsoft · Windows 10 Version 1809, Microsoft · Windows 10 Version 20H2, Microsoft · Windows 10 Version 21H2, Microsoft · Windows 10 Version 22H2, Microsoft · Windows 11 version 21H2, Microsoft · Windows 11 version 22H2, Microsoft · Windows 8.1 and 14 moreCPE names NVD's analysts give as vulnerable: o:microsoft:windows_10_1507, o:microsoft:windows_10_1607, o:microsoft:windows_10_1809, o:microsoft:windows_10_20h2, o:microsoft:windows_10_21h2, o:microsoft:windows_10_22h2, o:microsoft:windows_11_21h2, o:microsoft:windows_11_22h2, o:microsoft:windows_rt_8.1, o:microsoft:windows_server_2008 and 5 morethe product type of Windows and Windows Server in nday's product registry
stage
KEV
disclosed
disclosure → KEV
T+124d KEV is date-only
cvss
8.8 HIGH v3.1
KEV due date
2022-05-03

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2021-07-02T21:25Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
metasploit
ITWexploited
≤ 2021-11-03, inferred from KEV
KEVKEV
2021-11-03, date only

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:L
Low: ordinary user privileges
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:F/RL:O/RC:C

CVSS 3.1 vector from the CVE record, scored by the CNA microsoft.

Event log

+DISdisclosed

CVE record published by microsoft. CVSS 8.8, high. CISA's SSVC assessment rates exploitation as active.

src cvelist · nday , bulk import · raw
{
  "id": 17023,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2021-34527",
  "occurred_at": "2021-07-02T21:25:11Z",
  "observed_at": "2026-11-12T15:01:53.938848Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "kev": {
      "reference": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-34527",
      "date_added": "2021-11-03"
    },
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:F/RL:O/RC:C",
      "version": "3.1",
      "base_score": 8.8,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2024-01-24T16:04:14.042095Z",
      "automatable": "no",
      "exploitation": "active",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2021-07-02T21:25:11.000Z",
    "assigner_short_name": "microsoft"
  }
}
2021-11-03date only, from source
+KEVadded to KEV

CISA added it to the Known Exploited Vulnerabilities catalog, with a remediation deadline of 2022-05-03. Known to be used in ransomware campaigns.

src kev · nday , bulk import · raw
{
  "id": 1648,
  "type": "kev_added",
  "source": "kev",
  "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
  "occurred_at": "2021-11-03T00:00:00Z",
  "observed_at": "2026-11-12T13:53:00.018191Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cwes": [
      "CWE-269"
    ],
    "notes": "Reference CISA's ED 21-04 (https://www.cisa.gov/news-events/directives/ed-21-04-mitigate-windows-print-spooler-service-vulnerability) for further guidance and requirements. Note: The due date for addressing this vulnerability aligns with the requirements outlined in ED 21-04. https://nvd.nist.gov/vuln/detail/CVE-2021-34527",
    "product": "Windows",
    "due_date": "2022-05-03",
    "precision": "day",
    "date_added": "2021-11-03",
    "vendor_project": "Microsoft",
    "forensic_triage": "No",
    "required_action": "Apply updates per vendor instructions.",
    "vulnerability_name": "Microsoft Windows Print Spooler Remote Code Execution Vulnerability",
    "known_ransomware_campaign_use": "Known"
  }
}
≤ 2021-11-03inferred, no direct source
~ITWexploited in the wild

No source says when exploitation began. A KEV listing means it was already happening, so only an upper bound is known. CISA's SSVC assessment rates exploitation as active.

based on kev and CISA's assessment in cvelist

time unknownsource gave no time
+POCpublic PoC

Metasploit has module exploit/windows/dcerpc/cve_2021_1675_printnightmare (Print Spooler Remote DLL Injection). The source gives no release time for the module.

src metasploit exploit/windows/dcerpc/cve_2021_1675_printnightmare · nday , bulk import · raw
{
  "id": 52156,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/dcerpc/cve_2021_1675_printnightmare.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "exploit/windows/dcerpc/cve_2021_1675_printnightmare",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/dcerpc/cve_2021_1675_printnightmare.rb",
    "kind": "msf_module",
    "path": "/modules/exploits/windows/dcerpc/cve_2021_1675_printnightmare.rb",
    "rank": 300,
    "check": true,
    "title": "Print Spooler Remote DLL Injection",
    "cve_ids": [
      "CVE-2021-1675",
      "CVE-2021-34527"
    ],
    "fullname": "exploit/windows/dcerpc/cve_2021_1675_printnightmare",
    "rank_name": "normal",
    "confidence": "curated",
    "module_type": "exploit",
    "module_last_modified": "2026-03-11 21:31:08 +0000",
    "vuln_disclosure_date": "2021-06-08"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.