Skip to main content
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-privileged local code execution
  2. Delivery
    Issue concurrent WinSock/afd.sys operations
  3. Exploit
    Flip resource state to win TOCTOU race
  4. Execution
    Kernel acts on attacker-controlled data
  5. Impact
    Elevate to SYSTEM

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2021 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture TOCTOU prevention
Exploitation Conditions

The attacker must already have local, authenticated access with low privileges (PR:L) and the ability to execute code on the target - this is a post-compromise escalation, not a remote entry point. Exploitation further depends on reliably winning the time-of-check-to-time-of-use race in afd.sys, which the CVSS AC:H rating flags as a meaningful limiter: the window is narrow and success is probabilistic, typically requiring multi-threaded, repeated attempts. No user interaction is required (UI:N) and no special non-default Windows configuration is needed since afd.sys is present and reachable on default installations, but the practical bar is the timing reliability plus needing an existing local account/process on the machine.

Impact

The signals are consistent and point to a real-but-not-urgent local EoP. The CVSS 3.1 vector (AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H, base 7.0) requires local access and already-held low privileges, and importantly rates attack complexity High - reflecting the inherent unreliability of winning a TOCTOU race - while granting full C/I/A impact (SYSTEM) on success. EPSS is 0.03% (6th percentile) and there is no KEV listing and no identified public POC, so this is not a mass-exploitation candidate. There is no material conflict in the data: a low EPSS and High-complexity local race align, and the Microsoft-assigned CVSS matches the description. One minor inconsistency to note: the input Tags include 'Information Disclosure', but the description and CWE-367 describe privilege elevation - treat the primary impact as local EoP and verify the disclosure angle against the MSRC advisory. Prioritize as a routine but important Patch-Tuesday kernel EoP: high value to an attacker for post-compromise escalation, low likelihood of opportunistic mass use.

Exploit ScenarioDerived

An attacker who already has a foothold as a standard user - for example via phishing, a compromised service account, or a low-privileged web/app process - runs a purpose-built program that repeatedly issues WinSock/afd.sys operations while a second thread flips the underlying resource state to win the check-to-use race. On a successful race, the kernel acts on attacker-controlled data and the attacker gains SYSTEM, enabling credential theft, tampering, and persistence. No public exploit code has been identified, and the High attack complexity means many attempts may be needed to hit the timing window.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Jul 30, 2026

Local privilege escalation in the Windows Ancillary Function Driver for WinSock (afd.sys) lets an authorized low-privileged user win a time-of-check-to-time-of-use race to elevate to SYSTEM across a broad range of Windows client and server releases (Windows 10 1607 through Windows 11 25H2, Server 2008 SP2 through Server 2025). Exploitation requires local code execution and reliably winning a narrow timing window, and no public exploit has been identified at time of analysis. EPSS is very low (0.03%, 6th percentile) and the CVE is not in CISA KEV, indicating no evidence of active exploitation.

Earlier versions of this analysis (1)
v1 Mar 12, 2026 - 21:54 CVSS 7.8

Time-of-check time-of-use (toctou) race condition in Windows Ancillary Function Driver for WinSock allows an authorized attacker to elevate privileges locally. [CVSS 7.8 HIGH]

RemediationAI

Apply the Microsoft security update for the affected build; a patch is available from the vendor and the fixed KB numbers per Windows release are listed in the MSRC advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-20831 (exact patched version was not provided in the input and should be taken from that advisory for your specific build). No official workaround is documented; because exploitation requires local code execution as an authenticated user, the most effective compensating control until patching is to limit who can run code on affected hosts - enforce least privilege, restrict interactive and remote logon rights, and apply application allowlisting (e.g. WDAC/AppLocker) to block untrusted binaries, accepting the operational overhead of maintaining allowlists. These controls reduce, but do not eliminate, the local attack surface, so patching remains the primary fix.

Affected Packages

microsoft windows_10_version_1607_10_0_14393_8783 fix: Windows 10 Version 1607 for 32-bit Systems 10.0.14393.8783, Windows 10 Version 1607 for x64-based Systems 10.0.14393.8783
microsoft windows_10_version_1809_10_0_17763_8276 fix: Windows 10 Version 1809 for 32-bit Systems 10.0.17763.8276, Windows 10 Version 1809 for x64-based Systems 10.0.17763.8276
microsoft windows_10_version_21h2_10_0_19044_6809 fix: Windows 10 Version 21H2 for 32-bit Systems 10.0.19044.6809, Windows 10 Version 21H2 for ARM64-based Systems 10.0.19044.6809, Windows 10 Version 21H2 for x64-based Systems 10.0.19044.6809
microsoft windows_10_version_22h2_10_0_19045_6809 fix: Windows 10 Version 22H2 for 32-bit Systems 10.0.19045.6809, Windows 10 Version 22H2 for ARM64-based Systems 10.0.19045.6809, Windows 10 Version 22H2 for x64-based Systems 10.0.19045.6809
microsoft windows_11_version_23h2_10_0_22631_6491 fix: Windows 11 Version 23H2 for ARM64-based Systems 10.0.22631.6491, Windows 11 Version 23H2 for x64-based Systems 10.0.22631.6491
microsoft windows_11_version_24h2_10_0_26100_7623 fix: Windows 11 Version 24H2 for ARM64-based Systems 10.0.26100.7623, Windows 11 Version 24H2 for x64-based Systems 10.0.26100.7623
microsoft windows_11_version_25h2_10_0_26200_7623 fix: Windows 11 Version 25H2 for ARM64-based Systems 10.0.26200.7623, Windows 11 Version 25H2 for x64-based Systems 10.0.26200.7623
microsoft windows_server_2008_6_0_6003_23717 fix: Windows Server 2008 for 32-bit Systems Service Pack 2 6.0.6003.23717, Windows Server 2008 for 32-bit Systems Service Pack 2 (Server Core installation) 6.0.6003.23717, Windows Server 2008 for x64-based Systems Service Pack 2 6.0.6003.23717, Windows Server 2008 for x64-based Systems Service Pack 2 (Server Core installation) 6.0.6003.23717
microsoft windows_server_2008_r2_6_1_7601_28117 fix: Windows Server 2008 R2 for x64-based Systems Service Pack 1 6.1.7601.28117, Windows Server 2008 R2 for x64-based Systems Service Pack 1 (Server Core installation) 6.1.7601.28117
microsoft windows_server_2012_6_2_9200_25868 fix: Windows Server 2012 6.2.9200.25868, Windows Server 2012 (Server Core installation) 6.2.9200.25868
microsoft windows_server_2012_r2_6_3_9600_22968 fix: Windows Server 2012 R2 6.3.9600.22968, Windows Server 2012 R2 (Server Core installation) 6.3.9600.22968
microsoft windows_server_2016_10_0_14393_8783 fix: Windows Server 2016 10.0.14393.8783, Windows Server 2016 (Server Core installation) 10.0.14393.8783
microsoft windows_server_2019_10_0_17763_8276 fix: Windows Server 2019 10.0.17763.8276, Windows Server 2019 (Server Core installation) 10.0.17763.8276
microsoft windows_server_2022_10_0_20348_4648 fix: Windows Server 2022 10.0.20348.4648, Windows Server 2022 (Server Core installation) 10.0.20348.4648
microsoft windows_server_2022_23h2_edition_10_0_25398_2092 fix: Windows Server 2022, 23H2 Edition (Server Core installation) 10.0.25398.2092
microsoft windows_server_2025_10_0_26100_32230 fix: Windows Server 2025 10.0.26100.32230, Windows Server 2025 (Server Core installation) 10.0.26100.32230

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 16 packages in microsoft

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The Ancillary Function Driver for WinSock (afd.sys) is the kernel-mode transport component that backs the user-mode Winsock API, mediating socket operations for essentially every network-using process on Windows; because it is reachable from unprivileged user context and runs in kernel space, it is a recurring local-privilege-escalation target. This issue is a CWE-367 time-of-check-time-of-use race condition: the driver validates a resource or buffer state and then acts on it, but an attacker running a concurrent thread can mutate that state in the interval between the check and the use, causing the kernel to operate on attacker-controlled or inconsistent data. The CPE set confirms the flaw is in the OS kernel component (cpe:2.3:o:microsoft:...) rather than an application, spanning x86 and x64 Windows 10/11 and Windows Server builds.

Know when Windows 10 1607 gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.0 HIGH
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.0 HIGH

Local low-privileged attacker (AV:L/PR:L) must win a narrow TOCTOU race (AC:H); success yields SYSTEM, giving full C/I/A on the same host (S:U).

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Analysis Updated
Jul 30, 2026 - 21:43 vuln.today
v2 - CVSS changed
CVSS changed
Jul 30, 2026 - 21:37 NVD
7.8 (HIGH) 7.0 (HIGH)
CVE Published
Jan 13, 2026 - 18:16 nvd
HIGH 7.8

DescriptionNVD

Time-of-check time-of-use (toctou) race condition in Windows Ancillary Function Driver for WinSock allows an authorized attacker to elevate privileges locally.

Executive ViewAI

Why It Matters

A local privilege escalation vulnerability in Windows Ancillary Function Driver (afd.sys) affects Windows 10, 11, and Server versions 2008-2025 across your entire Windows estate, enabling low-privileged users or attackers with initial local access to gain full SYSTEM control. Current exploitation risk is minimal (0.03% EPSS, no active exploitation reported), but the vulnerability's presence across all Windows deployments and its complete system compromise potential warrant expedited patching.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 94% exploitable
Prevalence
Ubiquitous
core Windows kernel driver present on virtually all Windows systems
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +35
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)NVD

cpe:2.3:o:microsoft:windows_10_1607:*:*:*:*:*:*:x64:*
cpe:2.3:o:microsoft:windows_10_1607:*:*:*:*:*:*:x86:*
cpe:2.3:o:microsoft:windows_10_1809:*:*:*:*:*:*:x64:*
cpe:2.3:o:microsoft:windows_10_1809:*:*:*:*:*:*:x86:*
cpe:2.3:o:microsoft:windows_10_21h2:*:*:*:*:*:*:*:*
cpe:2.3:o:microsoft:windows_10_22h2:*:*:*:*:*:*:*:*
cpe:2.3:o:microsoft:windows_11_23h2:*:*:*:*:*:*:*:*
cpe:2.3:o:microsoft:windows_11_24h2:*:*:*:*:*:*:*:*
cpe:2.3:o:microsoft:windows_11_25h2:*:*:*:*:*:*:*:*
cpe:2.3:o:microsoft:windows_server_2008:-:sp2:*:*:*:*:x64:*
cpe:2.3:o:microsoft:windows_server_2008:-:sp2:*:*:*:*:x86:*
cpe:2.3:o:microsoft:windows_server_2008:r2:sp1:*:*:*:*:x64:*
cpe:2.3:o:microsoft:windows_server_2012:-:*:*:*:*:*:*:*
cpe:2.3:o:microsoft:windows_server_2012:r2:*:*:*:*:*:*:*
cpe:2.3:o:microsoft:windows_server_2016:*:*:*:*:*:*:*:*
cpe:2.3:o:microsoft:windows_server_2019:*:*:*:*:*:*:*:*
cpe:2.3:o:microsoft:windows_server_2022:*:*:*:*:*:*:*:*
cpe:2.3:o:microsoft:windows_server_2022_23h2:*:*:*:*:*:*:*:*
cpe:2.3:o:microsoft:windows_server_2025:*:*:*:*:*:*:*:*
CVE-2021-40444 HIGH POC
8.8 Sep 15

Windows MSHTML component contains a remote code execution vulnerability that allows attackers to craft malicious ActiveX

CVE-2021-34527 HIGH POC
8.8 Jul 02

<p>A remote code execution vulnerability exists when the Windows Print Spooler service improperly performs privileged fi

CVE-2022-30190 HIGH POC
7.8 Jun 01

Windows MSDT (Microsoft Support Diagnostic Tool) allows remote code execution when called via the ms-msdt URL protocol f

CVE-2017-0147 HIGH POC
7.5 Mar 17

The SMBv1 server in Microsoft Windows Vista SP2; Windows Server 2008 SP2 and R2 SP1; Windows 7 SP1; Windows 8.1; Windows

CVE-2018-8174 HIGH POC
7.5 May 09

The Windows VBScript engine contains a remote code execution vulnerability in object handling that allows full system co

CVE-2021-1675 HIGH POC
7.8 Jun 08

Windows Print Spooler Remote Code Execution Vulnerability. Rated high severity (CVSS 7.8), this vulnerability is no auth

CVE-2016-7255 HIGH POC
7.8 Nov 10

The Win32k kernel-mode driver in Windows Vista through Windows Server 2016 allows local privilege escalation, exploited

CVE-2023-36884 HIGH POC
7.5 Jul 11

Windows Search Remote Code Execution Vulnerability. Rated high severity (CVSS 7.5), this vulnerability is remotely explo

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2024-30088 HIGH POC
7.0 Jun 11

Windows Kernel contains a TOCTOU race condition vulnerability allowing local privilege escalation, exploited by the OilR

CVE-2019-1458 HIGH POC
7.8 Dec 10

An elevation of privilege vulnerability exists in Windows when the Win32k component fails to properly handle objects in

CVE-2018-8453 HIGH POC
7.8 Oct 10

An elevation of privilege vulnerability exists in Windows when the Win32k component fails to properly handle objects in

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy