Skip to content
Access control Advisory Intermediate CVE-2025-21206

Visual Studio Installer Elevation of Privilege Vulnerability (CVE-2025-21206)

The Visual Studio Installer has an elevation of privilege vulnerability that allows a local authenticated attacker to gain SYSTEM privileges by executing the installer.

Karan Bamal Follow

Originally disclosed on Microsoft

High 7.3 View original

FAQ

According to the CVSS metric, user interaction is required (UI:R). What interaction would the user have to do? Exploitation of this vulnerability requires that a local user executes the Visual Studio installer

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, privileges required is low (PR:L). What does that mean for this vulnerability? Any authenticated attacker could trigger this vulnerability. It does not require admin or other elevated privileges.

Visual Studio

Visual Studio

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Karan Bamal with Sentinel One. 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 the installer runs with higher privileges than needed and does not properly check who is invoking it, allowing a local user to escalate to SYSTEM.

What the attacker needed

Local access to the machine; low-privilege authenticated account; ability to run the Visual Studio installer

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.

This is a flaw in the Visual Studio Installer that lets a normal user on the same computer become the all-powerful SYSTEM account. The attacker must already have a low-privilege account and must run the installer themselves.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.