Skip to content
Race condition Advisory Advanced CVE-2025-53788

Windows Subsystem for Linux (WSL2) Kernel Elevation of Privilege Vulnerability (CVE-2025-53788)

A time-of-check time-of-use race condition exists in the Windows Subsystem for Linux, allowing an authorised attacker to elevate privileges locally. Successful exploitation requires winning a race condition and could grant SYSTEM privileges.

Nitesh Surana Follow

Originally disclosed on Microsoft

High 7.0 View original

Description

Time-of-check time-of-use (toctou) race condition in Windows Subsystem for Linux allows an authorized attacker to elevate privileges locally.

FAQ

According to the CVSS metric, the attack complexity is high (AC:H). What does that mean for this vulnerability? Successful exploitation of this vulnerability requires an attacker to win a race condition.

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 Subsystem for Linux

Windows Subsystem for Linux

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Nitesh Surana (niteshsurana.com) and Nelson William Gamazo Sanchez of Trend Research. 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 Windows Subsystem for Linux kernel component, where a resource is checked and then used without protection against concurrent modification.

Impact

An attacker who successfully exploited this vulnerability could gain SYSTEM privileges, but exploitation requires winning a race condition, which is difficult.

What the attacker needed

Local access to run code; win a race condition

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 when two actions happen at almost the same time and the program checks something before using it, but an attacker can change it in between. Here, someone who can already run code on the machine could exploit this timing gap in the Windows Subsystem for Linux to gain the highest level of control, called SYSTEM. The attacker must be able to run code locally and win the timing race.

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 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.