CVE-2025-30399 json
.NET and Visual Studio Remote Code Execution Vulnerability
published 2025-06-11 16 mo ago modified 2026-09-10 1 mo ago also BIT-dotnet-2025-30399 , BIT-dotnet-sdk-2025-30399 , BIT-powershell-2025-30399 , EUVD-2025-18115 , GHSA-266m-wp2v-x7mq
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 65%
- public exploits
- 0
- none known
Summary
Untrusted search path in .NET and Visual Studio allows an unauthorized attacker to execute code over a network.
Patch / fix
- nuget Microsoft.NetCore.App.Runtime.linux-arm 8.0.17, 9.0.6
- nuget Microsoft.NetCore.App.Runtime.linux-arm64 8.0.17, 9.0.6
- nuget Microsoft.NetCore.App.Runtime.linux-musl-arm 8.0.17, 9.0.6
- nuget Microsoft.NetCore.App.Runtime.linux-musl-arm64 8.0.17, 9.0.6
- nuget Microsoft.NetCore.App.Runtime.linux-musl-x64 8.0.17, 9.0.6
- nuget Microsoft.NetCore.App.Runtime.linux-x64 8.0.17, 9.0.6
- nuget Microsoft.NetCore.App.Runtime.osx-arm64 8.0.17, 9.0.6
- nuget Microsoft.NetCore.App.Runtime.osx-x64 8.0.17, 9.0.6
- nuget Microsoft.NetCore.App.Runtime.win-arm 8.0.17, 9.0.6
- nuget Microsoft.NetCore.App.Runtime.win-arm64 8.0.17, 9.0.6
- nuget Microsoft.NetCore.App.Runtime.win-x64 8.0.17, 9.0.6
- nuget Microsoft.NetCore.App.Runtime.win-x86 8.0.17, 9.0.6
- bitnami dotnet 8.0.18, 9.0.7
- bitnami dotnet-sdk 8.0.101, 9.0.100
- bitnami powershell 7.4.11, 7.5.2
- Microsoft .NET 8.0 8.0.17
- Microsoft .NET 9.0 9.0.6
- Microsoft Microsoft Visual Studio 2022 version 17.10 17.10.16
- Microsoft Microsoft Visual Studio 2022 version 17.12 17.12.9
- Microsoft Microsoft Visual Studio 2022 version 17.14 17.14.5
- Microsoft Microsoft Visual Studio 2022 version 17.8 17.8.22
- Microsoft PowerShell 7.4 7.4.11
- Microsoft PowerShell 7.5 7.5.2
- dotnet8 Ubuntu 22.04 LTS 8.0.117-8.0.17-0ubuntu1~22.04.1
- dotnet8 Ubuntu 24.04 LTS 8.0.117-8.0.17-0ubuntu1~24.04.1
ubuntu advisories UBUNTU-CVE-2025-30399
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- dotnet9.0 RHEL 9 9.0.107-1.el9_6
- dotnet-host RHEL 9 9.0.6-1.el9_6
- dotnet-sdk-9.0 RHEL 9 9.0.107-1.el9_6
- dotnet-hostfxr-9.0 RHEL 9 9.0.6-1.el9_6
- dotnet-runtime-9.0 RHEL 9 9.0.6-1.el9_6
- dotnet-sdk-aot-9.0 RHEL 9 9.0.107-1.el9_6
- dotnet-sdk-dbg-9.0 RHEL 9 9.0.107-1.el9_6
- dotnet-templates-9.0 RHEL 9 9.0.107-1.el9_6
red hat advisories RHSA-2025:9066RHSA-2025:8817RHSA-2025:8815RHSA-2025:8816RHSA-2025:8813RHSA-2025:8814
- dotnet-sdk-8.0 AlmaLinux 8 8.0.117-1.el8_10
- dotnet-hostfxr-8.0 AlmaLinux 8 8.0.17-1.el8_10
- dotnet-runtime-8.0 AlmaLinux 8 8.0.17-1.el8_10
- dotnet-sdk-dbg-8.0 AlmaLinux 8 8.0.117-1.el8_10
- dotnet-templates-8.0 AlmaLinux 8 8.0.117-1.el8_10
- aspnetcore-runtime-8.0 AlmaLinux 8 8.0.17-1.el8_10
- dotnet-runtime-dbg-8.0 AlmaLinux 8 8.0.17-1.el8_10
- dotnet-apphost-pack-8.0 AlmaLinux 8 8.0.17-1.el8_10
almalinux advisories ALSA-2025:8812ALSA-2025:8813ALSA-2025:8814ALSA-2025:8815ALSA-2025:8816ALSA-2025:8817
- dotnet8.0 Rocky Linux 9 8.0.117-1.el9_6
- dotnet9.0 Rocky Linux 9 9.0.107-1.el9_6
- dotnet8.0 Rocky Linux 10 8.0.117-1.el10_0
- dotnet9.0 Rocky Linux 10 9.0.107-1.el10_0
- dotnet8.0 Rocky Linux 8 8.0.117-1.el8_10
- dotnet9.0 Rocky Linux 8 9.0.107-1.el8_10
rocky linux advisories RLSA-2025:8813RLSA-2025:8817RLSA-2025:8814RLSA-2025:8816RLSA-2025:8812RLSA-2025:8815
- dotnet8-runtime Alpine 3.24, Alpine 3.23, Alpine 3.22 +2 more 8.0.17-r0
- dotnet9-runtime Alpine 3.24, Alpine 3.23, Alpine 3.22 +1 more 9.0.6-r0
alpine advisories ALPINE-CVE-2025-30399
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-30399 updated cvss 7.5
dotnet: .NET Remote Code Vulnerability
-
Red Hat Enterprise Linux 9 dotnet6.0, dotnet7.0, dotnet-host, dotnet-sdk-6.0, dotnet-sdk-7.0, dotnet-hostfxr-6.0, +16 moreaffected: workaround, no fix planned “Out of support scope”
-
Red Hat CodeReady Linux Builder EUS (v.9.4) dotnet-sdk-8.0-source-built-artifacts 8.0.117-1.el9_4fixed: vendor fix RHSA-2025:9066
-
Red Hat Enterprise Linux AppStream (v. 8) dotnet 9.0.107-1.el8_10, dotnet-host 9.0.6-1.el8_10, dotnet8.0 8.0.117-1.el8_10, dotnet9.0 9.0.107-1.el8_10, dotnet-sdk-8.0 8.0.117-1.el8_10, dotnet-sdk-9.0 9.0.107-1.el8_10, +22 morefixed: vendor fix RHSA-2025:8812
-
Red Hat Enterprise Linux AppStream (v. 9) dotnet-host 9.0.6-1.el9_6, dotnet8.0 8.0.117-1.el9_6, dotnet9.0 9.0.107-1.el9_6, dotnet-sdk-8.0 8.0.117-1.el9_6, dotnet-sdk-9.0 9.0.107-1.el9_6, dotnet-hostfxr-9.0 9.0.6-1.el9_6, +21 morefixed: vendor fix RHSA-2025:8813
-
Red Hat Enterprise Linux AppStream (v. 10) dotnet-host 9.0.6-1.el10_0, dotnet8.0 8.0.117-1.el10_0, dotnet9.0 9.0.107-1.el10_0, dotnet-sdk-8.0 8.0.117-1.el10_0, dotnet-sdk-9.0 9.0.107-1.el10_0, dotnet-hostfxr-9.0 9.0.6-1.el10_0, +21 morefixed: vendor fix RHSA-2025:8814
-
Red Hat Enterprise Linux AppStream EUS (v.9.4) dotnet8.0 8.0.117-1.el9_4, dotnet-host 8.0.17-1.el9_4, dotnet-sdk-8.0 8.0.117-1.el9_4, dotnet-hostfxr-8.0 8.0.17-1.el9_4, dotnet-runtime-8.0 8.0.17-1.el9_4, dotnet-sdk-dbg-8.0 8.0.117-1.el9_4, +8 morefixed: vendor fix RHSA-2025:9066
-
Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) dotnet-sdk-8.0-source-built-artifacts 8.0.117-1.el9_6, dotnet-sdk-9.0-source-built-artifacts 9.0.107-1.el9_6fixed: vendor fix RHSA-2025:8813
-
Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) dotnet-sdk-8.0-source-built-artifacts 8.0.117-1.el10_0, dotnet-sdk-9.0-source-built-artifacts 9.0.107-1.el10_0fixed: vendor fix RHSA-2025:8814
show 1 moreshow fewer
-
Red Hat Enterprise Linux CRB (v. 8) dotnet-sdk-8.0-source-built-artifacts 8.0.117-1.el8_10, dotnet-sdk-9.0-source-built-artifacts 9.0.107-1.el8_10fixed: vendor fix RHSA-2025:8812
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 16 mo ago
Exploit prediction
1.07% chance of exploitation in the next 30 days, higher than 65% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | 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 |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| nuget | Microsoft.NetCore.App.Runtime.linux-arm | >=9.0.0, <9.0.6 >=8.0.0, <8.0.17 |
9.0.6 8.0.17 |
| nuget | Microsoft.NetCore.App.Runtime.linux-arm64 | >=9.0.0, <9.0.6 >=8.0.0, <8.0.17 |
9.0.6 8.0.17 |
| nuget | Microsoft.NetCore.App.Runtime.linux-musl-arm | >=9.0.0, <9.0.6 >=8.0.0, <8.0.17 |
9.0.6 8.0.17 |
| nuget | Microsoft.NetCore.App.Runtime.linux-musl-arm64 | >=9.0.0, <9.0.6 >=8.0.0, <8.0.17 |
9.0.6 8.0.17 |
| nuget | Microsoft.NetCore.App.Runtime.linux-musl-x64 | >=9.0.0, <9.0.6 >=8.0.0, <8.0.17 |
9.0.6 8.0.17 |
| nuget | Microsoft.NetCore.App.Runtime.linux-x64 | >=9.0.0, <9.0.6 >=8.0.0, <8.0.17 |
9.0.6 8.0.17 |
| nuget | Microsoft.NetCore.App.Runtime.osx-arm64 | >=9.0.0, <9.0.6 >=8.0.0, <8.0.17 |
9.0.6 8.0.17 |
| nuget | Microsoft.NetCore.App.Runtime.osx-x64 | >=9.0.0, <9.0.6 >=8.0.0, <8.0.17 |
9.0.6 8.0.17 |
| nuget | Microsoft.NetCore.App.Runtime.win-arm | >=9.0.0, <9.0.6 >=8.0.0, <8.0.17 |
9.0.6 8.0.17 |
| nuget | Microsoft.NetCore.App.Runtime.win-arm64 | >=9.0.0, <9.0.6 >=8.0.0, <8.0.17 |
9.0.6 8.0.17 |
| nuget | Microsoft.NetCore.App.Runtime.win-x64 | >=9.0.0, <9.0.6 >=8.0.0, <8.0.17 |
9.0.6 8.0.17 |
| nuget | Microsoft.NetCore.App.Runtime.win-x86 | >=9.0.0, <9.0.6 >=8.0.0, <8.0.17 |
9.0.6 8.0.17 |
| bitnami | dotnet | >=8.0.0, <8.0.18 >=9.0.0, <9.0.7 |
8.0.18 9.0.7 |
| bitnami | dotnet-sdk | >=8.0.0, <8.0.101 >=9.0.0, <9.0.100 |
8.0.101 9.0.100 |
| bitnami | powershell | >=7.4.0, <7.4.11 >=7.5.0, <7.5.2 |
7.4.11 7.5.2 |
Affected products
- Microsoft .NET 8.0
- Microsoft .NET 9.0
- Microsoft Microsoft Visual Studio 2022 version 17.10
- Microsoft Microsoft Visual Studio 2022 version 17.12
- Microsoft Microsoft Visual Studio 2022 version 17.14
- Microsoft Microsoft Visual Studio 2022 version 17.8
- Microsoft PowerShell 7.4
- Microsoft PowerShell 7.5
Classification
- Weakness
-
- CWE-426 Untrusted Search Path
References
-
msrc.microsoft.com
/update-guide/vulnerability/CVE-2025-30399
vendor-advisory, patch, web, advisory
-
github.com
/dotnet/runtime/security/advisories/GHSA-266m-wp2v-x7mq
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-30399
advisory, web
-
github.com
/dotnet/runtime/issues/116495
web
-
github.com
/dotnet/runtime
package
-
cve.org
/CVERecord?id=CVE-2025-30399
web
Sources
- CVE List CVE-2025-30399
- GitHub Advisory GHSA-266m-wp2v-x7mq
- NVD CVE-2025-30399
- OSV BIT-dotnet-2025-30399
- OSV BIT-dotnet-sdk-2025-30399
- OSV BIT-powershell-2025-30399
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.