CVE-2025-30399
.NET and Visual Studio Remote Code Execution Vulnerability
Severity Score
7.5
*CVSS v3.1
Exploit Likelihood
*EPSS
Affected Versions
*CPE
Public Exploits
0
*Multiple Sources
Exploited in Wild
-
*KEV
Decision
Track*
*SSVC
Descriptions
Untrusted search path in .NET and Visual Studio allows an unauthorized attacker to execute code over a network.
A remote code execution vulnerability in .NET 8.0 and 9.0. An attacker who can place malicious files in specific locations may trigger unintended code execution when the .NET runtime loads these files.
It was discovered that .NET did not properly validate search path in Microsoft.NETCore.App.Runtime. An attacker could possibly use this issue to execute arbitrary code.
*Credits:
N/A
CVSS Scores
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
Attack Vector
Attack Complexity
Authentication
Confidentiality
Integrity
Availability
* Common Vulnerability Scoring System
SSVC
- Decision:Track*
Exploitation
Automatable
Tech. Impact
* Organization's Worst-case Scenario
Timeline
- 2025-03-21 CVE Reserved
- 2025-06-11 CVE Published
- 2025-06-19 EPSS Updated
- 2025-07-08 CVE Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-426: Untrusted Search Path
- CWE-427: Uncontrolled Search Path Element
CAPEC
References (3)
URL | Tag | Source |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-30399 | 2025-06-13 | |
https://access.redhat.com/security/cve/CVE-2025-30399 | 2025-06-16 | |
https://bugzilla.redhat.com/show_bug.cgi?id=2369701 | 2025-06-16 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Microsoft Search vendor "Microsoft" | PowerShell 7.4 Search vendor "Microsoft" for product "PowerShell 7.4" | >= 7.4.0 < 7.4.11 Search vendor "Microsoft" for product "PowerShell 7.4" and version " >= 7.4.0 < 7.4.11" | en |
Affected
| ||||||
Microsoft Search vendor "Microsoft" | PowerShell 7.5 Search vendor "Microsoft" for product "PowerShell 7.5" | >= 7.5.0 < 7.5.2 Search vendor "Microsoft" for product "PowerShell 7.5" and version " >= 7.5.0 < 7.5.2" | en |
Affected
| ||||||
Microsoft Search vendor "Microsoft" | .NET 8.0 Search vendor "Microsoft" for product ".NET 8.0" | >= 8.0.0 < 8.0.17 Search vendor "Microsoft" for product ".NET 8.0" and version " >= 8.0.0 < 8.0.17" | en |
Affected
| ||||||
Microsoft Search vendor "Microsoft" | .NET 9.0 Search vendor "Microsoft" for product ".NET 9.0" | >= 9.0.0 < 9.0.6 Search vendor "Microsoft" for product ".NET 9.0" and version " >= 9.0.0 < 9.0.6" | en |
Affected
| ||||||
Microsoft Search vendor "Microsoft" | Microsoft Visual Studio 2022 Version 17.12 Search vendor "Microsoft" for product "Microsoft Visual Studio 2022 Version 17.12" | >= 17.12.0 < 17.12.9 Search vendor "Microsoft" for product "Microsoft Visual Studio 2022 Version 17.12" and version " >= 17.12.0 < 17.12.9" | en |
Affected
| ||||||
Microsoft Search vendor "Microsoft" | Microsoft Visual Studio 2022 Version 17.8 Search vendor "Microsoft" for product "Microsoft Visual Studio 2022 Version 17.8" | >= 17.8.0 < 17.8.22 Search vendor "Microsoft" for product "Microsoft Visual Studio 2022 Version 17.8" and version " >= 17.8.0 < 17.8.22" | en |
Affected
| ||||||
Microsoft Search vendor "Microsoft" | Microsoft Visual Studio 2022 Version 17.10 Search vendor "Microsoft" for product "Microsoft Visual Studio 2022 Version 17.10" | >= 17.10.0 < 17.10.16 Search vendor "Microsoft" for product "Microsoft Visual Studio 2022 Version 17.10" and version " >= 17.10.0 < 17.10.16" | en |
Affected
| ||||||
Microsoft Search vendor "Microsoft" | Microsoft Visual Studio 2022 Version 17.14 Search vendor "Microsoft" for product "Microsoft Visual Studio 2022 Version 17.14" | >= 17.14.0 < 17.14.5 Search vendor "Microsoft" for product "Microsoft Visual Studio 2022 Version 17.14" and version " >= 17.14.0 < 17.14.5" | en |
Affected
|