CVE-2025-30399

published 10 Jun 2025 · updated 20 Feb 2026

.NET and Visual Studio Remote Code Execution Vulnerability

7.5HighCVSS 7.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in .NET 8.0.17, .NET 9.0.6, PowerShell 7.4.11 and 5 more.

Untrusted search path in .NET and Visual Studio allows an unauthorized attacker to execute code over a network.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Microsoft.NET>=8.0.0 <8.0.17, >=9.0.0 <9.0.68.0.17, 9.0.6
Microsoft.NET 8.0 installed on Windows
Microsoft.NET 9.0 installed on Linux
MicrosoftPowerShell>=7.4.0 <7.4.11, >=7.5.0 <7.5.27.4.11, 7.5.2
MicrosoftVisual Studio>=17.12.0 <17.12.9, >=17.14.0 <17.14.5, >=17.8.0 <17.8.22, >=17.10.0 <17.10.1617.12.9, 17.14.5, 17.8.22, 17.10.16

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Microsoft, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-30399 severity on Zeptric[![CVE-2025-30399](https://zeptric.io/badge/cve/CVE-2025-30399.svg)](https://zeptric.io/cve/CVE-2025-30399)