CVE-2021-34527: Microsoft Windows Print Spooler Remote Code Execution Vulnerability
CVE-2021-34527 is a high-severity flaw (CVSS 8.8) affecting windows 10 1507, windows 10 1607, windows 10 1809, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 Wind
Why this priority
- High severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Used in ransomware campaigns
- Public exploit reference
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.8 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 99.8% (top 1%) |
| CISA exploited list | Yes, fix due 2022-05-03, used in ransomware |
| Published | 2021-07-02 |
| Last modified | 2026-08-10 |
Last updated 2026-08-10 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: byt3bl33d3r/ItWasAllADream (802 stars)
- GitHub PoC: JohnHammond/CVE-2021-34527 (326 stars)
- GitHub PoC: nemo-wq/PrintNightmare-CVE-2021-34527 (178 stars)
- Write-up: www.vicarius.io/vsociety/posts/cve-2021-34527-printnightmare-detection-script
- Write-up: www.vicarius.io/vsociety/posts/cve-2021-34527-printnightmare-mitigation-script
- GitHub PoC: AUSK1LL9/CVE-2021-34527
- GitHub PoC: Amaranese/CVE-2021-34527
- Metasploit: Print Spooler Remote DLL Injection
Advisories and coverage
Research and news
- Vulners Bulletins: postEX 2026-11-01
- Vulners Bulletins: CVE-2021-1675 2026-11-01
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-34527?
windows 10 1507: upgrade to 10.0.10240.18969; windows 10 1607: upgrade to 10.0.14393.4470; windows 10 1809: upgrade to 10.0.17763.2029. Exact commands for each OS are on this page.
Is CVE-2021-34527 being exploited?
Yes. CVE-2021-34527 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2021-34527 affect?
CVE-2021-34527 affects windows 10 1507, windows 10 1607, windows 10 1809. Severity is high (CVSS 8.8). 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. A
How urgent is CVE-2021-34527?
Priority 96/100. High severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Used in ransomware campaigns; Public exploit reference; On your watchlist
Software pages
Windows vulnerabilities · Windows Server vulnerabilities
Related CVEs
- CVE-2024-49113 HIGH 7.5 UPGRADE UPGRADE Windows Lightweight Directory Access Protocol (LDAP) Denial of Service Vulnerability
- CVE-2024-49112 CRITICAL 9.8 UPGRADE UPGRADE Windows Lightweight Directory Access Protocol (LDAP) Remote Code Execution Vulnerability
- CVE-2024-30090 HIGH 7.0 UPGRADE UPGRADE Microsoft Streaming Service Elevation of Privilege Vulnerability
- CVE-2024-26230 HIGH 7.8 UPGRADE UPGRADE Windows Telephony Server Elevation of Privilege Vulnerability
- CVE-2023-24908 HIGH 8.1 UPGRADE UPGRADE Remote Procedure Call Runtime Remote Code Execution Vulnerability