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.
Originally disclosed on Microsoft
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
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.