PoC Monitor
← All CVEs
CVE-2021-34527published 2 Jul 2021 21:25 UTCData: JSON · API

Microsoft Windows 10

Windows Print Spooler Remote Code Execution Vulnerability

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.

First public PoC 1.4 days beforebefore publication · 1 Jul 2021
Public PoCs1716 on GitHub · 1 Exploit-DB, Metasploit or nuclei · +2 suspicious, not counted
CVSS8.8high · scored by CNA · CWE-noinfo
CISA KEV 3 Nov 2021124 days after publication · ransomware use known

Timeline

Days relative to CVE publication
t=0+30+60+90+120First public PoC1 Jul 2021 · t−1.4dCVE published2 Jul 2021 · t = 0Added to CISA KEV3 Nov 2021 · t+124d

First public PoC 1.4 days before publication; added to CISA KEV 124 days after publication. First PoC: DenizSe/CVE-2021-34527 (created 1 Jul 2021, found by us: backfilled).

PoC repositories

Found on GitHub.

16 PoCs · 6 pending · 13 informational · 2 not a PoC · 16 suspicious or fake

PoCs 16
RepositoryCreatedStarsAssessment
AdamPumphrey/PowerShell 25 Jun 2021 −7.3 d 2 PoC older repo: PoC date unknown, not used for the first PoC
DenizSe/CVE-2021-34527 1 Jul 2021 −1.4 d 0 PoC via PoC Index
byt3bl33d3r/ItWasAllADream 5 Jul 2021 +3 d 803 PoC
vinaysudheer/Disable-Spooler-Service-PrintNightmare-CVE-2021-34527 7 Jul 2021 +4.4 d 0 PoC via PoC Index
powershellpr0mpt/PrintNightmare-CVE-2021-34527 7 Jul 2021 +4.4 d 3 PoC via PoC Index
WidespreadPandemic/CVE-2021-34527_ACL_mitigation 8 Jul 2021 +5.2 d 0 PoC
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

dywhoami/CVE-2021-34527-Scanner-Based-On-cube0x0-POC 9 Jul 2021 +6.5 d 3 PoC
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

synth3sis/PrintNightmare 17 Jul 2021 +15 d 1 PoC via PoC Index
crtaylor315/PrintNightmare-Before-Halloween 19 Oct 2021 +108 d 0 PoC via PoC Index
m8sec/CVE-2021-34527 23 Aug 2022 +1.1 y 119 PoC
hackerhouse-opensource/cve-2021-34527 5 Sep 2022 +1.2 y 23 PoC
Royalboy2000/codeRDPbreaker 3 Aug 2023 +2.1 y 1 PoC via PoC Index
d0rb/CVE-2021-34527 20 Aug 2023 +2.1 y 0 PoC
versatilitydev/r2d2_api 16 Sep 2024 +3.2 y 0 PoC
RaphaelDG/PrintNightmareCPP 3 Mar 2025 +3.7 y 1 PoC via PoC Index
gdrlab/PrintNightmare 30 Apr 2025 +3.8 y 0 PoC
Pending 6
RepositoryCreatedStarsAssessment
TieuLong21Prosper/detect_bruteforce 28 Oct 2023 +2.3 y 0 Pending · repository exceeds size limit
ccordeiro/CVE-2021-1675 19 Nov 2025 +4.4 y 0 Pending
AlDawli/CVE-2021-34527- 27 May 2026 +4.9 y 0 Pending · mkdir /quarantine/AlDawli__CVE-2021-34527--51b49725399f: permission denied
CnOxx1/CVE-2021-34527-1675 unknown 0 Pending · repository unavailable (HTTP 404)
fardinbarashi/Fix-CVE-2021-34527 unknown 0 Pending · repository unavailable (HTTP 404)
fardinbarashi/PsFix-CVE-2021-34527 unknown 0 Pending · repository unavailable (HTTP 404)
Informational 13
RepositoryCreatedFound by usStarsAssessment
twi1ight00/PrintNightmare 3 Jul 2021 +4 h backfilled 0 Informational · detection
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

rdboboia/disable-RegisterSpoolerRemoteRpcEndPoint 5 Jul 2021 +2.8 d backfilled 2 Informational · detection
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

geekbrett/CVE-2021-34527-PrintNightmare-Workaround 5 Jul 2021 +2.9 d backfilled 0 Informational · detection
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

glorisonlai/printnightmare 8 Jul 2021 +5.9 d backfilled 0 Informational · write-up
syntaxbearror/PowerShell-PrintNightmare 9 Jul 2021 +7 d backfilled 0 Informational · list
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

0xirison/PrintNightmare-Patcher 12 Jul 2021 +9.7 d backfilled 2 Informational · detection
Flags · score 45
  • owner account created less than 7 days before the repo
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

fengjixuchui/CVE-2021-34527-1675 13 Jul 2021 +11 d backfilled 0 Informational · write-up
Tomparte/PrintNightmare 28 Jul 2021 +25 d backfilled 3 Informational · detection
Flags · score 45
  • owner account created less than 7 days before the repo
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

Hirusha-N/CVE-2021-34527-CVE-2023-38831-and-CVE-2023-32784 25 Jun 2024 +3.0 y backfilled 0 Informational · write-up
KaritaMW/printnightmare-detection-mitigation-lab 3 Aug 2026 +5.1 y backfilled 0 Informational · detection
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

joertx07/printnightmare-detection-lab 4 Aug 2026 +5.1 y backfilled 0 Informational · detection
Flags · score 35
  • README asks to download a release/binary/archive

Below the suspicion threshold (50); does not change the assessment.

s1kh/Vulnerability-Analysis-and-Mitigation 17 Oct 2026 +5.3 y 14 Nov 2026 0 Informational · list
honouroladosu7-cpu/CVE-2021-34527_PrintNightmare.md 21 Oct 2026 +5.3 y 14 Nov 2026 0 Informational · write-up
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

Not a PoC 2
RepositoryCreatedStarsAssessment
cube0x0/CVE-2021-1675 29 Jun 2021 −3.2 d 2,010 Not a PoC · unrelated
auduongxuan/CVE-2022-26809 14 Apr 2022 +285 d 7 Not a PoC · unrelated
Suspicious or fake 16
RepositoryCreatedStarsAssessment
hlldz/CVE-2021-1675-LPE 1 Jul 2021 −1.5 d 327 Fake
JohnHammond/CVE-2021-34527 2 Jul 2021 −9 h 331 Fake
nemo-wq/PrintNightmare-CVE-2021-34527 3 Jul 2021 +18 h 181 Fake
Eutectico/Printnightmare 9 Jul 2021 +6.5 d 0 Suspicious · score 50
Why suspicious
  • README asks to download a release/binary/archive
  • no network code found (normal for a local exploit)
galoget/PrintNightmare-CVE-2021-1675-CVE-2021-34527 12 Jul 2021 +9.5 d 0 Fake
Amaranese/CVE-2021-34527 13 Dec 2021 +164 d 1 Fake
nathanealm/PrintNightmare-Exploit 4 Jun 2022 +336 d 43 Fake
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

cyb3rpeace/CVE-2021-34527 24 Jun 2022 +357 d 1 Fake
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

d0nkeyk0ng787/PrintNightmare-POC 8 Sep 2023 +2.2 y 1 Fake
whoami-chmod777/CVE-2021-1675-CVE-2021-34527 12 Feb 2024 +2.6 y 1 Fake
0xSs0rZ/Windows_Exploit 5 Jun 2024 +2.9 y 0 Fake
AUSK1LL9/CVE-2021-34527 21 May 2025 +3.9 y 0 Fake
BADR0b0t33/NSFW-Malware 6 Jun 2025 +3.9 y 0 Fake
BADR0b0t33/PrintAttck 7 Jun 2025 +3.9 y 0 Fake
HKenzoKimura/CVE-2021-1675 6 Sep 2026 +5.2 y 0 Suspicious · score 65
Why suspicious
  • README asks to download a release/binary/archive
  • owner account created less than 7 days before the repo
khanmanjo161-hash/Windows-Privilege-Escalation 20 Sep 2026 +5.2 y 0 Fake
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

Only PoCs count toward the first-PoC date and the characteristics below. Suspicious repositories (score ≥ 50) never count. "Backfilled" means we found the repository more than 30 days after it was created. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.

PoC characteristics

What to hunt for in your logs · from 16 PoC repos

GET /data/v1/epss

Query
cve=
Seen in
1 repo: versatilitydev/r2d2_api
Evidence
versatilitydev/r2d2_api/epss_fetch.py:32

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /data/v1/epss
(?i)^/data/v1/epss\?(?:.*&)?cve=

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /data/v1/epss
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2021-34527 Microsoft Windows 10 Version 1507 exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/data/v1/epss"; http.uri; content:"cve="; reference:url,poc.griffinguard.io/cve/CVE-2021-34527; classtype:web-application-attack; sid:9265214; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /data/v1/epss
title: Microsoft Windows 10 Version 1507 exploit attempt (CVE-2021-34527)
id: gg-pocmon-cve-2021-34527-9265214
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-34527. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2021-34527
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/data/v1/epss'
    cs-uri-query|contains|all:
      - 'cve='
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2021.34527