.NET VSTest Elevation of Privilege Vulnerability (CVE-2026-105544)
The .NET VSTest command-line tool has an improper access control flaw that lets an authorised local attacker elevate their privileges. By winning a race condition, the attacker could gain the rights of the user running the affected application.
Description
Improper access control in .NET VSTest CLI allows an authorized attacker to elevate privileges locally.
FAQ
What privileges could be gained by an attacker who successfully exploited the vulnerability? The attacker would gain the rights of the user that is running the affected application.
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.
.NET
.NET
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 to time-of-use flaw in how VSTest handles files or resources, allowing a local attacker to swap something between the permission check and its use.
Impact
An attacker who wins the race could gain the rights of the user running the affected application, which may be higher than their own.
What the attacker needed
Local access to the machine; ability to run the VSTest CLI; 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.
VSTest is a command-line tool used to run tests for .NET applications. A race condition means two actions happen at almost the same time, and the attacker tries to slip in their own action before the program checks permissions. If they succeed, their code runs with the same rights as the person who started the tool, which may be a more powerful 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.