Vulnerabilities

CVE-2025-30399

High 7.5 CVSS 3.1

Description

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

Description as published by the source, in English.

Key facts

Published
2025-06-13
Last modified
2026-06-17
Assigned by
secure@microsoft.com
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Scored by
secure@microsoft.com
Probability of exploitation
0.9 % higher than 57 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Microsoft.NetCore.App.Runtime.linux-arm (NuGet) ≥ 8.0.0, < 8.0.17 Affected
Microsoft.NetCore.App.Runtime.linux-arm (NuGet) ≥ 9.0.0, < 9.0.6 Affected
Microsoft.NetCore.App.Runtime.linux-arm64 (NuGet) ≥ 8.0.0, < 8.0.17 Affected
Microsoft.NetCore.App.Runtime.linux-arm64 (NuGet) ≥ 9.0.0, < 9.0.6 Affected
Microsoft.NetCore.App.Runtime.linux-musl-arm (NuGet) ≥ 8.0.0, < 8.0.17 Affected
Microsoft.NetCore.App.Runtime.linux-musl-arm (NuGet) ≥ 9.0.0, < 9.0.6 Affected
Microsoft.NetCore.App.Runtime.linux-musl-arm64 (NuGet) ≥ 8.0.0, < 8.0.17 Affected
Microsoft.NetCore.App.Runtime.linux-musl-arm64 (NuGet) ≥ 9.0.0, < 9.0.6 Affected
Microsoft.NetCore.App.Runtime.linux-musl-x64 (NuGet) ≥ 8.0.0, < 8.0.17 Affected
Microsoft.NetCore.App.Runtime.linux-musl-x64 (NuGet) ≥ 9.0.0, < 9.0.6 Affected
Microsoft.NetCore.App.Runtime.linux-x64 (NuGet) ≥ 8.0.0, < 8.0.17 Affected
Microsoft.NetCore.App.Runtime.linux-x64 (NuGet) ≥ 9.0.0, < 9.0.6 Affected
Microsoft.NetCore.App.Runtime.osx-arm64 (NuGet) ≥ 8.0.0, < 8.0.17 Affected
Microsoft.NetCore.App.Runtime.osx-arm64 (NuGet) ≥ 9.0.0, < 9.0.6 Affected
Microsoft.NetCore.App.Runtime.osx-x64 (NuGet) ≥ 8.0.0, < 8.0.17 Affected
Microsoft.NetCore.App.Runtime.osx-x64 (NuGet) ≥ 9.0.0, < 9.0.6 Affected
Microsoft.NetCore.App.Runtime.win-arm (NuGet) ≥ 8.0.0, < 8.0.17 Affected
Microsoft.NetCore.App.Runtime.win-arm (NuGet) ≥ 9.0.0, < 9.0.6 Affected
Microsoft.NetCore.App.Runtime.win-arm64 (NuGet) ≥ 8.0.0, < 8.0.17 Affected
Microsoft.NetCore.App.Runtime.win-arm64 (NuGet) ≥ 9.0.0, < 9.0.6 Affected
Microsoft.NetCore.App.Runtime.win-x64 (NuGet) ≥ 8.0.0, < 8.0.17 Affected
Microsoft.NetCore.App.Runtime.win-x64 (NuGet) ≥ 9.0.0, < 9.0.6 Affected
Microsoft.NetCore.App.Runtime.win-x86 (NuGet) ≥ 8.0.0, < 8.0.17 Affected
Microsoft.NetCore.App.Runtime.win-x86 (NuGet) ≥ 9.0.0, < 9.0.6 Affected
Apple Macos all versions listed Not affected
Linux Linux Kernel all versions listed Not affected
Microsoft .net ≥ 8.0.0, < 8.0.17 Affected
Microsoft .net ≥ 9.0.0, < 9.0.6 Affected
Microsoft Powershell ≥ 7.4, < 7.4.11 Affected
Microsoft Powershell ≥ 7.5, < 7.5.2 Affected
Microsoft Visual Studio 2022 ≥ 17.10.0, < 17.10.16 Affected
Microsoft Visual Studio 2022 ≥ 17.12.0, < 17.12.9 Affected
Microsoft Visual Studio 2022 ≥ 17.14.0, < 17.14.5 Affected
Microsoft Visual Studio 2022 ≥ 17.8.0, < 17.8.22 Affected
Microsoft Windows all versions listed Not affected

Weakness type

  • CWE-426: Untrusted Search Path

    The product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product's direct control.

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1574.007: Path Interception by PATH Environment Variable stealth, execution
  • T1574.009: Path Interception by Unquoted Path stealth, execution

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities