Skip to content
Race condition Advisory Advanced CVE-2026-20831

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.

Angelboy Follow

Originally disclosed on Microsoft

High 7.8 View original

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

The original report as published on the Microsoft Security Response Center, by Angelboy (@scwuaptx) with DEVCORE. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

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.

More by Angelboy

View all

69 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Race conditions

The lesson behind this report.

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.