Skip to content
Access control Advisory Advanced CVE-2025-49739

Visual Studio Elevation of Privilege Vulnerability (CVE-2025-49739)

Visual Studio has an improper link resolution before file access (link following) flaw. An attacker who exploits it over a network could gain SYSTEM privileges.

Simon Follow

Originally disclosed on Microsoft

High 8.8 View original

Description

Improper link resolution before file access ('link following') in Visual Studio allows an unauthorized attacker to elevate privileges over a network.

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.

Visual Studio

Visual Studio

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Simon (@sim0nsecurity). 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, Visual Studio resolves a link before checking access, allowing an attacker to redirect a file operation to a privileged location.

Impact

An attacker who successfully exploited this vulnerability could gain SYSTEM privileges over a network.

What the attacker needed

Network access to the target

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 security flaw in Microsoft Visual Studio, a program for writing code. The program follows a link (like a shortcut) without checking where it really points, so an attacker could trick it into opening or changing the wrong file. If that works, the attacker could get the highest level of control on the computer, called SYSTEM.

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 by Simon

View all

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

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.