Skip to content
Path traversal Advisory Intermediate CVE-2025-29803

Visual Studio Tools for Applications and SQL Server Management Studio Elevation of Privilege Vulnerability (CVE-2025-29803)

An uncontrolled search path element in Visual Studio Tools for Applications and SQL Server Management Studio lets an authenticated attacker place a crafted DLL in a local network location. When a victim runs the affected application, it loads the malicious DLL, giving the attacker the victim's privileges.

Sandro Poppi Follow

Originally disclosed on Microsoft

High 7.3 View original

Description

Uncontrolled search path element in Visual Studio Tools for Applications and SQL Server Management Studio allows an authorized attacker to elevate privileges locally.

FAQ

What privileges could be gained by an attacker who successfully exploited the vulnerability? An attacker who successfully exploited this vulnerability could gain the privileges of the authenticated user.

FAQ

According to the CVSS metric, the attack vector is local (AV:L), privileges are low (PR:L), and user interaction is required (UI:R). What is the target context of the remote code execution? This attack requires an authenticated attacker to place a specially crafted .dll file in a local network location. When a victim runs this file, it loads the malicious DLL.

Visual Studio Tools for Applications and SQL Server Management Studio

Visual Studio Tools for Applications and SQL Server Management Studio

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Sandro Poppi. 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 application searches for a DLL in a location an attacker can write to, such as a local network share, instead of a trusted directory.

Impact

An attacker could gain the privileges of the authenticated user, but only locally and only if the victim runs the affected file.

What the attacker needed

Authenticated attacker; write access to a local network location; victim runs the affected file

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.

Some programs look for supporting files in folders they do not fully control. An attacker who can write to one of those folders can leave a fake file there, and the program picks it up and runs it. Here the fake file is a DLL, a library of code that Windows programs load, so the attacker's code runs with the victim's rights.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

More by Sandro Poppi

View all

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

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.