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