Windows Ancillary Function Driver for WinSock Elevation of Privilege Vulnerability (CVE-2026-20831)
A time-of-check time-of-use race condition exists in the Windows Ancillary Function Driver for WinSock. An attacker with local access and low privileges could exploit this to gain SYSTEM privileges.
Description
Time-of-check time-of-use (toctou) race condition in Windows Ancillary Function Driver for WinSock allows an authorized attacker to elevate privileges locally.
FAQ
What privileges could be gained by an attacker who successfully exploited this vulnerability? An attacker who successfully exploited this vulnerability could gain SYSTEM privileges.
Windows Ancillary Function Driver for WinSock
Windows Ancillary Function Driver for WinSock
Microsoft
Microsoft
Customer Action Required
Yes
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a time-of-check time-of-use race condition in the driver's handling of shared resources.
Impact
An attacker who successfully exploited this vulnerability could gain SYSTEM privileges.
What the attacker needed
Local access to the system; low privileges
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A race condition is a flaw where a program checks something and then uses it, but an attacker can change it in between. Here, the Windows driver for network sockets has this flaw, so someone already on the computer with limited rights could become the all-powerful SYSTEM user.
What is Race condition?
Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.