Vulnerability · Published Jun 13, 2025 · Assigned by microsoft
CVE-2025-30399.NET and Visual Studio Remote Code Execution Vulnerability
High 7.5
In plain English
A high-severity security flaw in Microsoft Visual Studio 2022 version 17.10 from Microsoft. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 65% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.1%top 34.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
Untrusted search path in .NET and Visual Studio allows an unauthorized attacker to execute code over a network.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | aspnetcore-runtime-8.0 | 8.0.17-1.el10_0 | ALSA-2025:8814 |
| AlmaLinux:8 | aspnetcore-runtime-8.0 | 8.0.17-1.el8_10 | ALSA-2025:8812 |
| AlmaLinux:9 | aspnetcore-runtime-8.0 | 8.0.17-1.el9_6 | ALSA-2025:8813 |
| AlmaLinux:10 | aspnetcore-runtime-9.0 | 9.0.6-1.el10_0 | ALSA-2025:8816 |
| AlmaLinux:8 | aspnetcore-runtime-9.0 | 9.0.6-1.el8_10 | ALSA-2025:8815 |
| AlmaLinux:9 | aspnetcore-runtime-9.0 | 9.0.6-1.el9_6 | ALSA-2025:8817 |
| AlmaLinux:10 | aspnetcore-runtime-dbg-8.0 | 8.0.17-1.el10_0 | ALSA-2025:8814 |
| AlmaLinux:8 | aspnetcore-runtime-dbg-8.0 | 8.0.17-1.el8_10 | ALSA-2025:8812 |
| AlmaLinux:9 | aspnetcore-runtime-dbg-8.0 | 8.0.17-1.el9_6 | ALSA-2025:8813 |
| AlmaLinux:10 | aspnetcore-runtime-dbg-9.0 | 9.0.6-1.el10_0 | ALSA-2025:8816 |
| AlmaLinux:8 | aspnetcore-runtime-dbg-9.0 | 9.0.6-1.el8_10 | ALSA-2025:8815 |
| AlmaLinux:9 | aspnetcore-runtime-dbg-9.0 | 9.0.6-1.el9_6 | ALSA-2025:8817 |
| AlmaLinux:10 | aspnetcore-targeting-pack-8.0 | 8.0.17-1.el10_0 | ALSA-2025:8814 |
| AlmaLinux:8 | aspnetcore-targeting-pack-8.0 | 8.0.17-1.el8_10 | ALSA-2025:8812 |
| AlmaLinux:9 | aspnetcore-targeting-pack-8.0 | 8.0.17-1.el9_6 | ALSA-2025:8813 |
| AlmaLinux:10 | aspnetcore-targeting-pack-9.0 | 9.0.6-1.el10_0 | ALSA-2025:8816 |
| AlmaLinux:8 | aspnetcore-targeting-pack-9.0 | 9.0.6-1.el8_10 | ALSA-2025:8815 |
| AlmaLinux:9 | aspnetcore-targeting-pack-9.0 | 9.0.6-1.el9_6 | ALSA-2025:8817 |
| AlmaLinux:8 | dotnet | 9.0.107-1.el8_10 | ALSA-2025:8815 |
| AlmaLinux:10 | dotnet-apphost-pack-8.0 | 8.0.17-1.el10_0 | ALSA-2025:8814 |
| AlmaLinux:8 | dotnet-apphost-pack-8.0 | 8.0.17-1.el8_10 | ALSA-2025:8812 |
| AlmaLinux:9 | dotnet-apphost-pack-8.0 | 8.0.17-1.el9_6 | ALSA-2025:8813 |
| AlmaLinux:10 | dotnet-apphost-pack-9.0 | 9.0.6-1.el10_0 | ALSA-2025:8816 |
| AlmaLinux:8 | dotnet-apphost-pack-9.0 | 9.0.6-1.el8_10 | ALSA-2025:8815 |
| AlmaLinux:9 | dotnet-apphost-pack-9.0 | 9.0.6-1.el9_6 | ALSA-2025:8817 |
| AlmaLinux:10 | dotnet-host | 9.0.6-1.el10_0 | ALSA-2025:8816 |
| AlmaLinux:8 | dotnet-host | 9.0.6-1.el8_10 | ALSA-2025:8815 |
| AlmaLinux:9 | dotnet-host | 9.0.6-1.el9_6 | ALSA-2025:8817 |
| AlmaLinux:10 | dotnet-hostfxr-8.0 | 8.0.17-1.el10_0 | ALSA-2025:8814 |
| AlmaLinux:8 | dotnet-hostfxr-8.0 | 8.0.17-1.el8_10 | ALSA-2025:8812 |
| AlmaLinux:9 | dotnet-hostfxr-8.0 | 8.0.17-1.el9_6 | ALSA-2025:8813 |
| AlmaLinux:10 | dotnet-hostfxr-9.0 | 9.0.6-1.el10_0 | ALSA-2025:8816 |
| AlmaLinux:8 | dotnet-hostfxr-9.0 | 9.0.6-1.el8_10 | ALSA-2025:8815 |
| AlmaLinux:9 | dotnet-hostfxr-9.0 | 9.0.6-1.el9_6 | ALSA-2025:8817 |
| AlmaLinux:10 | dotnet-runtime-8.0 | 8.0.17-1.el10_0 | ALSA-2025:8814 |
| AlmaLinux:8 | dotnet-runtime-8.0 | 8.0.17-1.el8_10 | ALSA-2025:8812 |
| AlmaLinux:9 | dotnet-runtime-8.0 | 8.0.17-1.el9_6 | ALSA-2025:8813 |
| AlmaLinux:10 | dotnet-runtime-9.0 | 9.0.6-1.el10_0 | ALSA-2025:8816 |
| AlmaLinux:8 | dotnet-runtime-9.0 | 9.0.6-1.el8_10 | ALSA-2025:8815 |
| AlmaLinux:9 | dotnet-runtime-9.0 | 9.0.6-1.el9_6 | ALSA-2025:8817 |
| AlmaLinux:10 | dotnet-runtime-dbg-8.0 | 8.0.17-1.el10_0 | ALSA-2025:8814 |
| AlmaLinux:8 | dotnet-runtime-dbg-8.0 | 8.0.17-1.el8_10 | ALSA-2025:8812 |
| AlmaLinux:9 | dotnet-runtime-dbg-8.0 | 8.0.17-1.el9_6 | ALSA-2025:8813 |
| AlmaLinux:10 | dotnet-runtime-dbg-9.0 | 9.0.6-1.el10_0 | ALSA-2025:8816 |
| AlmaLinux:8 | dotnet-runtime-dbg-9.0 | 9.0.6-1.el8_10 | ALSA-2025:8815 |
| AlmaLinux:9 | dotnet-runtime-dbg-9.0 | 9.0.6-1.el9_6 | ALSA-2025:8817 |
| AlmaLinux:10 | dotnet-sdk-8.0 | 8.0.117-1.el10_0 | ALSA-2025:8814 |
| AlmaLinux:8 | dotnet-sdk-8.0 | 8.0.117-1.el8_10 | ALSA-2025:8812 |
| AlmaLinux:9 | dotnet-sdk-8.0 | 8.0.117-1.el9_6 | ALSA-2025:8813 |
| AlmaLinux:10 | dotnet-sdk-8.0-source-built-artifacts | 8.0.117-1.el10_0 | ALSA-2025:8814 |
| AlmaLinux:8 | dotnet-sdk-8.0-source-built-artifacts | 8.0.117-1.el8_10 | ALSA-2025:8812 |
| AlmaLinux:9 | dotnet-sdk-8.0-source-built-artifacts | 8.0.117-1.el9_6 | ALSA-2025:8813 |
| AlmaLinux:10 | dotnet-sdk-9.0 | 9.0.107-1.el10_0 | ALSA-2025:8816 |
| AlmaLinux:8 | dotnet-sdk-9.0 | 9.0.107-1.el8_10 | ALSA-2025:8815 |
| AlmaLinux:9 | dotnet-sdk-9.0 | 9.0.107-1.el9_6 | ALSA-2025:8817 |
| AlmaLinux:10 | dotnet-sdk-9.0-source-built-artifacts | 9.0.107-1.el10_0 | ALSA-2025:8816 |
| AlmaLinux:8 | dotnet-sdk-9.0-source-built-artifacts | 9.0.107-1.el8_10 | ALSA-2025:8815 |
| AlmaLinux:9 | dotnet-sdk-9.0-source-built-artifacts | 9.0.107-1.el9_6 | ALSA-2025:8817 |
| AlmaLinux:10 | dotnet-sdk-aot-9.0 | 9.0.107-1.el10_0 | ALSA-2025:8816 |
| AlmaLinux:8 | dotnet-sdk-aot-9.0 | 9.0.107-1.el8_10 | ALSA-2025:8815 |
| AlmaLinux:9 | dotnet-sdk-aot-9.0 | 9.0.107-1.el9_6 | ALSA-2025:8817 |
| AlmaLinux:10 | dotnet-sdk-dbg-8.0 | 8.0.117-1.el10_0 | ALSA-2025:8814 |
| AlmaLinux:8 | dotnet-sdk-dbg-8.0 | 8.0.117-1.el8_10 | ALSA-2025:8812 |
| AlmaLinux:9 | dotnet-sdk-dbg-8.0 | 8.0.117-1.el9_6 | ALSA-2025:8813 |
| AlmaLinux:10 | dotnet-sdk-dbg-9.0 | 9.0.107-1.el10_0 | ALSA-2025:8816 |
| AlmaLinux:8 | dotnet-sdk-dbg-9.0 | 9.0.107-1.el8_10 | ALSA-2025:8815 |
| AlmaLinux:9 | dotnet-sdk-dbg-9.0 | 9.0.107-1.el9_6 | ALSA-2025:8817 |
| AlmaLinux:10 | dotnet-targeting-pack-8.0 | 8.0.17-1.el10_0 | ALSA-2025:8814 |
| AlmaLinux:8 | dotnet-targeting-pack-8.0 | 8.0.17-1.el8_10 | ALSA-2025:8812 |
| AlmaLinux:9 | dotnet-targeting-pack-8.0 | 8.0.17-1.el9_6 | ALSA-2025:8813 |
| AlmaLinux:10 | dotnet-targeting-pack-9.0 | 9.0.6-1.el10_0 | ALSA-2025:8816 |
| AlmaLinux:8 | dotnet-targeting-pack-9.0 | 9.0.6-1.el8_10 | ALSA-2025:8815 |
| AlmaLinux:9 | dotnet-targeting-pack-9.0 | 9.0.6-1.el9_6 | ALSA-2025:8817 |
| AlmaLinux:10 | dotnet-templates-8.0 | 8.0.117-1.el10_0 | ALSA-2025:8814 |
| AlmaLinux:8 | dotnet-templates-8.0 | 8.0.117-1.el8_10 | ALSA-2025:8812 |
| AlmaLinux:9 | dotnet-templates-8.0 | 8.0.117-1.el9_6 | ALSA-2025:8813 |
| AlmaLinux:10 | dotnet-templates-9.0 | 9.0.107-1.el10_0 | ALSA-2025:8816 |
| AlmaLinux:8 | dotnet-templates-9.0 | 9.0.107-1.el8_10 | ALSA-2025:8815 |
| AlmaLinux:9 | dotnet-templates-9.0 | 9.0.107-1.el9_6 | ALSA-2025:8817 |
| AlmaLinux:10 | netstandard-targeting-pack-2.1 | 9.0.107-1.el10_0 | ALSA-2025:8816 |
| AlmaLinux:8 | netstandard-targeting-pack-2.1 | 9.0.107-1.el8_10 | ALSA-2025:8815 |
| AlmaLinux:9 | netstandard-targeting-pack-2.1 | 9.0.107-1.el9_6 | ALSA-2025:8817 |
| Alpine:v3.20 | dotnet8-runtime | 8.0.17-r0 | ALPINE-CVE-2025-30399 |
| Alpine:v3.21 | dotnet8-runtime | 8.0.17-r0 | ALPINE-CVE-2025-30399 |
| Alpine:v3.22 | dotnet8-runtime | 8.0.17-r0 | ALPINE-CVE-2025-30399 |
| Alpine:v3.23 | dotnet8-runtime | 8.0.17-r0 | ALPINE-CVE-2025-30399 |
| Alpine:v3.24 | dotnet8-runtime | 8.0.17-r0 | ALPINE-CVE-2025-30399 |
| Alpine:v3.21 | dotnet9-runtime | 9.0.6-r0 | ALPINE-CVE-2025-30399 |
| Alpine:v3.22 | dotnet9-runtime | 9.0.6-r0 | ALPINE-CVE-2025-30399 |
| Alpine:v3.23 | dotnet9-runtime | 9.0.6-r0 | ALPINE-CVE-2025-30399 |
| Alpine:v3.24 | dotnet9-runtime | 9.0.6-r0 | ALPINE-CVE-2025-30399 |
| NuGet | microsoft.netcore.app.runtime.linux-arm | 9.0.6 | GHSA-266m-wp2v-x7mq |
| NuGet | microsoft.netcore.app.runtime.linux-arm | 8.0.17 | GHSA-266m-wp2v-x7mq |
| NuGet | microsoft.netcore.app.runtime.linux-arm64 | 9.0.6 | GHSA-266m-wp2v-x7mq |
| NuGet | microsoft.netcore.app.runtime.linux-arm64 | 8.0.17 | GHSA-266m-wp2v-x7mq |
| NuGet | microsoft.netcore.app.runtime.linux-musl-arm | 9.0.6 | GHSA-266m-wp2v-x7mq |
| NuGet | microsoft.netcore.app.runtime.linux-musl-arm | 8.0.17 | GHSA-266m-wp2v-x7mq |
| NuGet | microsoft.netcore.app.runtime.linux-musl-arm64 | 9.0.6 | GHSA-266m-wp2v-x7mq |
| NuGet | microsoft.netcore.app.runtime.linux-musl-arm64 | 8.0.17 | GHSA-266m-wp2v-x7mq |
| NuGet | microsoft.netcore.app.runtime.linux-musl-x64 | 9.0.6 | GHSA-266m-wp2v-x7mq |
| NuGet | microsoft.netcore.app.runtime.linux-musl-x64 | 8.0.17 | GHSA-266m-wp2v-x7mq |
| NuGet | microsoft.netcore.app.runtime.linux-x64 | 8.0.17 | GHSA-266m-wp2v-x7mq |
| NuGet | microsoft.netcore.app.runtime.linux-x64 | 9.0.6 | GHSA-266m-wp2v-x7mq |
| NuGet | microsoft.netcore.app.runtime.osx-arm64 | 9.0.6 | GHSA-266m-wp2v-x7mq |
| NuGet | microsoft.netcore.app.runtime.osx-arm64 | 8.0.17 | GHSA-266m-wp2v-x7mq |
| NuGet | microsoft.netcore.app.runtime.osx-x64 | 8.0.17 | GHSA-266m-wp2v-x7mq |
| NuGet | microsoft.netcore.app.runtime.osx-x64 | 9.0.6 | GHSA-266m-wp2v-x7mq |
| NuGet | microsoft.netcore.app.runtime.win-arm | 9.0.6 | GHSA-266m-wp2v-x7mq |
| NuGet | microsoft.netcore.app.runtime.win-arm | 8.0.17 | GHSA-266m-wp2v-x7mq |
| NuGet | microsoft.netcore.app.runtime.win-arm64 | 9.0.6 | GHSA-266m-wp2v-x7mq |
| NuGet | microsoft.netcore.app.runtime.win-arm64 | 8.0.17 | GHSA-266m-wp2v-x7mq |
| NuGet | microsoft.netcore.app.runtime.win-x64 | 9.0.6 | GHSA-266m-wp2v-x7mq |
| NuGet | microsoft.netcore.app.runtime.win-x64 | 8.0.17 | GHSA-266m-wp2v-x7mq |
| NuGet | microsoft.netcore.app.runtime.win-x86 | 8.0.17 | GHSA-266m-wp2v-x7mq |
| NuGet | microsoft.netcore.app.runtime.win-x86 | 9.0.6 | GHSA-266m-wp2v-x7mq |
| Rocky Linux:10 | dotnet8.0 | 0:8.0.117-1.el10_0 | RLSA-2025:8814 |
| Rocky Linux:8 | dotnet8.0 | 0:8.0.117-1.el8_10 | RLSA-2025:8812 |
| Rocky Linux:9 | dotnet8.0 | 0:8.0.117-1.el9_6 | RLSA-2025:8813 |
| Rocky Linux:10 | dotnet9.0 | 0:9.0.107-1.el10_0 | RLSA-2025:8816 |
| Rocky Linux:8 | dotnet9.0 | 0:9.0.107-1.el8_10 | RLSA-2025:8815 |
| Rocky Linux:9 | dotnet9.0 | 0:9.0.107-1.el9_6 | RLSA-2025:8817 |
| Ubuntu:22.04:LTS | dotnet7 | no fix listed | UBUNTU-CVE-2025-30399 |
| Ubuntu:22.04:LTS | dotnet8 | 8.0.117-8.0.17-0ubuntu1~22.04.1 | USN-7563-1 |
| Ubuntu:22.04:LTS | dotnet8 | 8.0.117-8.0.17-0ubuntu1~22.04.1 | UBUNTU-CVE-2025-30399 |
| Ubuntu:24.04:LTS | dotnet8 | 8.0.117-8.0.17-0ubuntu1~24.04.1 | USN-7563-1 |
| Ubuntu:24.04:LTS | dotnet8 | 8.0.117-8.0.17-0ubuntu1~24.04.1 | UBUNTU-CVE-2025-30399 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Microsoft | .NET 8.0 | 8.0.0 – before 8.0.17 |
| Microsoft | .NET 9.0 | 9.0.0 – before 9.0.6 |
| Microsoft | Microsoft Visual Studio 2022 version 17.10 | 17.10.0 – before 17.10.16 |
| Microsoft | Microsoft Visual Studio 2022 version 17.12 | 17.12.0 – before 17.12.9 |
| Microsoft | Microsoft Visual Studio 2022 version 17.14 | 17.14.0 – before 17.14.5 |
| Microsoft | Microsoft Visual Studio 2022 version 17.8 | 17.8.0 – before 17.8.22 |
| Microsoft | PowerShell 7.4 | 7.4.0 – before 7.4.11 |
| Microsoft | PowerShell 7.5 | 7.5.0 – before 7.5.2 |
Weakness: CWE-426 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
References
- .NET and Visual Studio Remote Code Execution Vulnerability vendor-advisory, patch