CVE-2025-49739 Visual Studio Elevation of Privilege Vulnerability

High 8.8 Published Updated

An attacker can elevate privileges via improper link resolution in Visual Studio, requiring a patch to mitigate the risk.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-49739?

CVE-2025-49739 is a high-severity path traversal vulnerability in Microsoft Visual Studio, published on 8 Jul 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

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

Weakness: CWE-59

Which versions are affected by CVE-2025-49739?

It affects 4 products.

Products include Microsoft Visual Studio, Microsoft Visual Studio 2017, Microsoft Visual Studio 2019, Microsoft Visual Studio 2022.

How do I fix CVE-2025-49739?

No fix has been published for CVE-2025-49739 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2025-49739 being exploited?

There is no known exploitation of CVE-2025-49739 in the wild and no public exploit code.

All Microsoft Visual Studio vulnerabilities

Sources

Also known as GHSA-cf69-g2cj-5w8c.

Is CVE-2025-49739 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free