CVE-2021-31956
High · 7.8 CISA KEVCVSS
7.8
EPSS
22.3%
Published
Jun 8, 2021
CISA due date
Nov 17, 2021
Cloudanix analysis
An attacker who already gets a basic foothold on an unpatched Windows computer can use this flaw to take full control of it.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Privilege Gain
- Component
- OS kernel
- Class
- Privilege Escalation
- Remediation
- Patch
- Effort
- Low
- Patch risk
- Low
What it actually does
CVE-2021-31956 is a local elevation-of-privilege vulnerability in Microsoft Windows NTFS. An attacker who already has low-privileged code execution on a vulnerable Windows system can abuse the flaw to execute code with kernel-level or highly privileged system rights, resulting in full compromise of confidentiality, integrity, and availability on the affected host. The vulnerability requires local access, low privileges, and no user interaction, and it has been exploited in the wild.
Why it matters to the business
Successful exploitation can turn an initial foothold into complete control of a Windows endpoint or server, allowing attackers to disable security tools, steal credentials, move laterally, deploy persistence, tamper with data, or stage additional payloads. Because this vulnerability is listed in CISA KEV with a remediation due date of 2021-11-17 and has active in-the-wild exploitation history, unpatched systems should be treated as high-priority legacy exposure even though the vulnerability is several years old. The supplied affected-product metadata references WordPress packages, which is inconsistent with this Windows NTFS vulnerability; remediation decisions should be based on Microsoft Windows patch applicability, not WordPress package versions.
How an attack unfolds
An attacker first gains low-privileged local code execution on a vulnerable Windows system through phishing, malware, stolen credentials, exploitation of another service, or interactive access. They then run exploit code that triggers the NTFS flaw and manipulates kernel memory or privileged NTFS behavior to escalate from a normal user context to SYSTEM or equivalent high integrity execution. Once elevated, the attacker can spawn privileged processes, dump credentials, modify security settings, install drivers or services, create persistence, and use the host as a launch point for lateral movement. Public reporting tied this vulnerability to active exploitation campaigns, including chaining with other Windows vulnerabilities, so exploitation should be considered plausible where June 2021 or later Windows security updates are missing.
How to fix it
Apply the applicable Microsoft security updates that address CVE-2021-31956, beginning with the June 2021 Windows security updates or any later cumulative update for the affected Windows version. Prioritize internet-facing, user-accessible, high-value, and shared Windows systems where local footholds are more likely to be obtained. If immediate patching is not possible, reduce risk by restricting local logon rights, removing unnecessary users from privileged groups, enforcing least privilege, enabling tamper protection and endpoint detection, limiting execution from user-writable directories, and monitoring for suspicious local privilege escalation activity. Do not use the provided WordPress fixed versions as remediation for this CVE; they do not correspond to the Windows NTFS vulnerability.
How to confirm the fix worked
Confirm that each Windows asset has installed the Microsoft security update level from June 2021 or later, or a vendor-supported cumulative update that supersedes it. Validate by checking Windows Update history, installed hotfixes, OS build numbers, enterprise patch-management records, or authenticated vulnerability scanner results for CVE-2021-31956. Re-scan after patch deployment and verify that no systems remain flagged as vulnerable. Where patch validation relies on KBs, use the KB appropriate to each Windows edition and build rather than a single universal package. For exposure reduction, also verify that standard users cannot create or run arbitrary tools in sensitive locations and that EDR telemetry is active on previously vulnerable systems.
Typical attack path
- Obtain initial low-privileged access to a vulnerable Windows workstation or server.
- Determine the host OS build and whether the relevant Microsoft security updates are missing.
- Execute a local exploit targeting the Windows NTFS privilege-escalation flaw.
- Gain SYSTEM, kernel-level, or otherwise elevated execution on the host.
- Disable or evade endpoint protections and logging where possible.
- Dump credentials, access protected files, install persistence, or move laterally to other systems.
- Deploy follow-on tooling such as remote access malware, credential theft utilities, or additional privilege-escalation exploits.
How to detect it
Because this is a local Windows privilege-escalation vulnerability, exploitation may not produce a distinctive network indicator. Detection should focus on evidence that a low-privileged account rapidly obtained SYSTEM or administrator-level execution, especially on hosts that were missing June 2021 or later Windows security updates. Review Windows Security logs, Sysmon, EDR telemetry, PowerShell logs, service-control events, scheduled-task events, driver-load events, crash dumps, and endpoint alerts around the time of suspicious activity. Useful event sources include Security Event ID 4688 for process creation, 4672 for special privileges assigned, 4624 for logons, 7045 in the System log for new service installation, Sysmon Event ID 1 for process creation, Sysmon Event ID 6 for driver loads, Sysmon Event ID 7 for image loads, Sysmon Event ID 10 for process access, and Sysmon Event ID 11 for suspicious file creation. Hunt for unusual parent-child relationships where a user-writable executable launches privileged shells, service binaries, credential tools, or security-control modifications. Also review EDR alerts for local privilege escalation, token manipulation, kernel exploit behavior, unexpected SYSTEM shells, LSASS access, Defender tampering, and suspicious use of built-in administration tools after a low-privilege process executed. If historical telemetry exists, prioritize systems that were vulnerable before the KEV due date or remained unpatched afterward.
What your security team should do
- Treat any unpatched Windows host as urgent because the vulnerability is in CISA KEV, has known in-the-wild exploitation, and the federal remediation due date has long passed.
- Patch or retire unsupported Windows systems that cannot receive the relevant cumulative security update.
- Run authenticated vulnerability scans or patch-compliance queries to identify systems missing June 2021 or later Windows security updates.
- Prioritize investigation of systems where low-privileged users had interactive access before patching, especially endpoints with suspicious process creation, service creation, credential-dumping, or security-tool tampering.
- Hunt for privilege-escalation behavior rather than relying on a single static IOC, because local kernel exploit activity often leaves few unique artifacts.
- Correlate any suspected exploitation with initial-access indicators, post-exploitation commands, new services, scheduled tasks, driver loads, credential access, and lateral movement.
- Ignore the supplied WordPress package fixed versions for this vulnerability and validate remediation against Microsoft Windows advisories and patch levels.
The record
Windows NTFS Elevation of Privilege Vulnerability
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-88833 A flaw was found in BusyBox's udhcpc DHCP client. CWE-191
- CVE-2026-44235 rabbitmq-c is a C-language AMQP client library for RabbitMQ. CWE-191
- CVE-2026-81977 Acrobat Reader is affected by an Integer Underflow (Wrap or Wraparound) vulnerability… CWE-191
- CVE-2026-66767 SAP NetWeaver Application Server for ABAP and ABAP Platform allows an unauthenticated… CWE-191
- CVE-2026-18341 IBM i 7.6, 7.5, 7.4, and 7.3 could allow a remote authenticated attacker to corrupt… CWE-191
- CVE-2026-9624 A denial-of-service security issue exists within RSLinx® Classic. CWE-191
- CVE-2026-9622 A denial-of-service security issue exists within RSLinx® Classic. CWE-191
- CVE-2026-82480 A security flaw has been discovered in NASA cFS up to 7.0.1. CWE-191