Windows Subsystem for Linux Elevation of Privilege Vulnerability (CVE-2026-21242)
A use-after-free flaw exists in the Windows Subsystem for Linux, which lets an already authorised local attacker raise their privileges. Successful exploitation could give the attacker SYSTEM-level privileges on the machine.
Description
Use after free in Windows Subsystem for Linux 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.
FAQ
According to the CVSS metric, the attack complexity is high (AC:H). What does that mean for this vulnerability? For an attacker to exploit this vulnerability, they would need to have knowledge of a specific operation that triggers a memory allocation failure, specifically a use after free.
Windows Subsystem for Linux
Windows Subsystem for Linux
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 use-after-free in the Windows Subsystem for Linux, where memory is still referenced after being freed, and triggering it requires knowledge of a specific operation that causes a memory allocation failure.
Impact
An authorised local attacker who knows the triggering operation could gain SYSTEM privileges, though the high attack complexity means the exploit is not straightforward.
What the attacker needed
Local access to the machine; an authorised account; knowledge of the triggering operation
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 use-after-free is a memory bug where a program keeps using a chunk of memory after it has been freed, so an attacker can influence what sits there. Here the affected component is the Windows Subsystem for Linux, a feature that runs Linux inside Windows. Someone who already has an account on the machine could abuse this to become the most powerful user (SYSTEM), but they need to know a specific way to trigger a memory allocation failure first.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.