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

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

Ky0toFu Follow

Originally disclosed on Microsoft

High 7.5 View original

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

The original report as published on the Microsoft Security Response Center, by Ky0toFu. 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 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.

More by Ky0toFu

View all

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