CVE-2025-30399

High

Description

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

SeverityHigh
CVSS7.5
Exploit probability—
ProductMicrosoft Visual Studio
PublishedJun 13, 2025
First seenJun 13, 2025
Weakness typeCWE-426CWE-426

How to fix

Update
  • microsoft visual_studio_202217.8.22, 17.10.16, 17.12.9, 17.14.5 or later
  • microsoft .net9.0.6, 8.0.17 or later
  • microsoft powershell7.4.11, 7.5.2 or later
  • Microsoft.NetCore.App.Runtime.linux-arm9.0.6, 8.0.17 or later
  • Microsoft.NetCore.App.Runtime.linux-arm649.0.6, 8.0.17 or later
  • Microsoft.NetCore.App.Runtime.linux-musl-arm9.0.6, 8.0.17 or later
  • Microsoft.NetCore.App.Runtime.linux-musl-arm649.0.6, 8.0.17 or later
  • Microsoft.NetCore.App.Runtime.linux-musl-x649.0.6, 8.0.17 or later
  • Microsoft.NetCore.App.Runtime.linux-x649.0.6, 8.0.17 or later
  • Microsoft.NetCore.App.Runtime.osx-arm649.0.6, 8.0.17 or later
  • Microsoft.NetCore.App.Runtime.osx-x649.0.6, 8.0.17 or later
  • Microsoft.NetCore.App.Runtime.win-arm9.0.6, 8.0.17 or later

Affected products

ProductAffected versionsFixed in
microsoft visual_studio_202217.8.0 ≤ v < 17.8.22, 17.10.0 ≤ v < 17.10.16, 17.12.0 ≤ v < 17.12.9, 17.14.0 ≤ v < 17.14.517.8.22, 17.10.16, 17.12.9, 17.14.5
microsoft .net9.0.0 ≤ v < 9.0.6, 8.0.0 ≤ v < 8.0.179.0.6, 8.0.17
microsoft powershell7.4 ≤ v < 7.4.11, 7.5 ≤ v < 7.5.27.4.11, 7.5.2
Microsoft.NetCore.App.Runtime.linux-armNuGet9.0.0 ≤ v < 9.0.6, 8.0.0 ≤ v < 8.0.179.0.6, 8.0.17
Microsoft.NetCore.App.Runtime.linux-arm64NuGet9.0.0 ≤ v < 9.0.6, 8.0.0 ≤ v < 8.0.179.0.6, 8.0.17
Microsoft.NetCore.App.Runtime.linux-musl-armNuGet9.0.0 ≤ v < 9.0.6, 8.0.0 ≤ v < 8.0.179.0.6, 8.0.17
Microsoft.NetCore.App.Runtime.linux-musl-arm64NuGet9.0.0 ≤ v < 9.0.6, 8.0.0 ≤ v < 8.0.179.0.6, 8.0.17
Microsoft.NetCore.App.Runtime.linux-musl-x64NuGet9.0.0 ≤ v < 9.0.6, 8.0.0 ≤ v < 8.0.179.0.6, 8.0.17
Microsoft.NetCore.App.Runtime.linux-x64NuGet9.0.0 ≤ v < 9.0.6, 8.0.0 ≤ v < 8.0.179.0.6, 8.0.17
Microsoft.NetCore.App.Runtime.osx-arm64NuGet9.0.0 ≤ v < 9.0.6, 8.0.0 ≤ v < 8.0.179.0.6, 8.0.17
Microsoft.NetCore.App.Runtime.osx-x64NuGet9.0.0 ≤ v < 9.0.6, 8.0.0 ≤ v < 8.0.179.0.6, 8.0.17
Microsoft.NetCore.App.Runtime.win-armNuGet9.0.0 ≤ v < 9.0.6, 8.0.0 ≤ v < 8.0.179.0.6, 8.0.17
Microsoft.NetCore.App.Runtime.win-arm64NuGet9.0.0 ≤ v < 9.0.6, 8.0.0 ≤ v < 8.0.179.0.6, 8.0.17
Microsoft.NetCore.App.Runtime.win-x64NuGet9.0.0 ≤ v < 9.0.6, 8.0.0 ≤ v < 8.0.179.0.6, 8.0.17
Microsoft.NetCore.App.Runtime.win-x86NuGet9.0.0 ≤ v < 9.0.6, 8.0.0 ≤ v < 8.0.179.0.6, 8.0.17

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.