Skip to main content

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

5
Analysis Updated
Jul 30, 2026 - 21:43 vuln.today
v2 (cvss_changed)
Re-analysis Queued
Jul 30, 2026 - 21:37 vuln.today
cvss_changed
CVSS changed
Jul 30, 2026 - 21:37 NVD
7.8 (HIGH) 7.0 (HIGH)
Analysis Generated
Mar 12, 2026 - 21:54 vuln.today
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.

AnalysisAI

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.

Technical ContextAI

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.

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.

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

Share

CVE-2026-20831 vulnerability details – vuln.today

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