Untrusted search path in Microsoft products - CVE-2025-30399

 

Untrusted search path in Microsoft products - CVE-2025-30399

Published: June 11, 2025


Vulnerability identifier: #VU111028
CSH Severity: High
CVSS v4: 7.5 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-30399
CWE-ID: CWE-426
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the system.

The vulnerability exists due to usage of an untrusted search path in .NET and Visual Studio. A remote attacker can execute arbitrary code on the target system.


Affected software

.NET for macOS
.NET for Linux
Visual Studio
.NET
Tenable Identity Exposure (formerly Tenable.ad)
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat CodeReady Linux Builder for x86_64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for ARM 64
Red Hat CodeReady Linux Builder for IBM z Systems
Ubuntu
dotnet8 (Ubuntu package)
dotnet8.0 (Red Hat package)
dotnet9.0 (Red Hat package)

How to mitigate CVE-2025-30399

Install updates from vendor's website.

.NET for macOS - addressed in versions 8.0.17 8.0.17, 9.0.6 9.0.6
.NET for Linux - addressed in versions 8.0.17 8.0.17, 9.0.6 9.0.6
.NET - addressed in versions 8.0.17, 9.0.6
Visual Studio - addressed in versions 17.8.22 17.8.22, 17.10.16 17.10.16, 17.12.9 17.12.9
Tenable Identity Exposure (formerly Tenable.ad) - update to 3.77.12
dotnet8 (Ubuntu package) - addressed in versions 8.0.17-0ubuntu1~22.04.1, 8.0.17-0ubuntu1~24.04.1, 8.0.17-0ubuntu1~24.10.1, 8.0.17-0ubuntu1~25.04.1, 8.0.117-0ubuntu1~22.04.1, 8.0.117-0ubuntu1~24.04.1, 8.0.117-0ubuntu1~24.10.1, 8.0.117-0ubuntu1~25.04.1, 8.0.117-8.0.17-0ubuntu1~22.04.1, 8.0.117-8.0.17-0ubuntu1~24.04.1, 8.0.117-8.0.17-0ubuntu1~24.10.1, 8.0.117-8.0.17-0ubuntu1~25.04.1, 9.0.6-0ubuntu1~24.10.1, 9.0.6-0ubuntu1~25.04.1, 9.0.107-0ubuntu1~24.10.1, 9.0.107-0ubuntu1~25.04.1, 9.0.107-9.0.6-0ubuntu1~24.10.1, 9.0.107-9.0.6-0ubuntu1~25.04.1
dotnet8.0 (Red Hat package) - addressed in versions 8.0.117-1.el8_10, 8.0.117-1.el9_6, 8.0.117-1.el10_0
dotnet9.0 (Red Hat package) - addressed in versions 9.0.107-1.el9_6, 9.0.107-1.el10_0

External References

Related Security Bulletins