CVE-2025-30399
published 2025-06-13CVE-2025-30399: Untrusted search path in .NET and Visual Studio allows an unauthorized attacker to execute code over a network.
PriorityP344high7.5CVSS 3.1
AVNACHPRNUIRSUCHIHAH
EPSS
0.92%
56.4th percentile
Untrusted search path in .NET and Visual Studio allows an unauthorized attacker to execute code over a network.
Affected
52 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| microsoft | microsoft.netcore.app.runtime.linux-arm | >= 8.0.0 < 8.0.17 | 8.0.17 |
| microsoft | microsoft.netcore.app.runtime.linux-arm | >= 9.0.0 < 9.0.6 | 9.0.6 |
| microsoft | microsoft.netcore.app.runtime.linux-arm64 | >= 8.0.0 < 8.0.17 | 8.0.17 |
| microsoft | microsoft.netcore.app.runtime.linux-arm64 | >= 9.0.0 < 9.0.6 | 9.0.6 |
| microsoft | microsoft.netcore.app.runtime.linux-musl-arm | >= 8.0.0 < 8.0.17 | 8.0.17 |
| microsoft | microsoft.netcore.app.runtime.linux-musl-arm | >= 9.0.0 < 9.0.6 | 9.0.6 |
| microsoft | microsoft.netcore.app.runtime.linux-musl-arm64 | >= 8.0.0 < 8.0.17 | 8.0.17 |
| microsoft | microsoft.netcore.app.runtime.linux-musl-arm64 | >= 9.0.0 < 9.0.6 | 9.0.6 |
| microsoft | microsoft.netcore.app.runtime.linux-musl-x64 | >= 8.0.0 < 8.0.17 | 8.0.17 |
| microsoft | microsoft.netcore.app.runtime.linux-musl-x64 | >= 9.0.0 < 9.0.6 | 9.0.6 |
| microsoft | microsoft.netcore.app.runtime.linux-x64 | >= 8.0.0 < 8.0.17 | 8.0.17 |
| microsoft | microsoft.netcore.app.runtime.linux-x64 | >= 9.0.0 < 9.0.6 | 9.0.6 |
| microsoft | microsoft.netcore.app.runtime.osx-arm64 | >= 8.0.0 < 8.0.17 | 8.0.17 |
| microsoft | microsoft.netcore.app.runtime.osx-arm64 | >= 9.0.0 < 9.0.6 | 9.0.6 |
| microsoft | microsoft.netcore.app.runtime.osx-x64 | >= 8.0.0 < 8.0.17 | 8.0.17 |
| microsoft | microsoft.netcore.app.runtime.osx-x64 | >= 9.0.0 < 9.0.6 | 9.0.6 |
| microsoft | microsoft.netcore.app.runtime.win-arm | >= 8.0.0 < 8.0.17 | 8.0.17 |
| microsoft | microsoft.netcore.app.runtime.win-arm | >= 9.0.0 < 9.0.6 | 9.0.6 |
| microsoft | microsoft.netcore.app.runtime.win-arm64 | >= 8.0.0 < 8.0.17 | 8.0.17 |
| microsoft | microsoft.netcore.app.runtime.win-arm64 | >= 9.0.0 < 9.0.6 | 9.0.6 |
| microsoft | microsoft.netcore.app.runtime.win-x64 | >= 8.0.0 < 8.0.17 | 8.0.17 |
| microsoft | microsoft.netcore.app.runtime.win-x64 | >= 9.0.0 < 9.0.6 | 9.0.6 |
| microsoft | microsoft.netcore.app.runtime.win-x86 | >= 8.0.0 < 8.0.17 | 8.0.17 |
| microsoft | microsoft.netcore.app.runtime.win-x86 | >= 9.0.0 < 9.0.6 | 9.0.6 |
| microsoft | microsoft_visual_studio_2022_version_17.10 | >= 17.10.0 < 17.10.16 | 17.10.16 |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
ghsa7.5HIGH
osv7.5HIGH
vendor_msrc7.5HIGH
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
dotnet: .NET Remote Code Vulnerability
vendor_redhat·2025-06-10·CVSS 7.5
CVE-2025-30399 [HIGH] CWE-427 dotnet: .NET Remote Code Vulnerability
dotnet: .NET Remote Code Vulnerability
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.
Statement: This vulnerability is Important because it allows remote code execution at the runtime level, targeting the fundamental assembly loading mechanism of .NET. Unlike moderate flaws that may require complex chaining or rely on user interaction, this issue can be exploited simply by placing malicious files in specific directories that .NET probes during execution.
```
.NET 6.0 for RHEL-8, RHEL-9 and RHIVOS has reached its End of Life
Ubuntu
.NET vulnerability
vendor_ubuntu·2025-06-10
CVE-2025-30399 .NET vulnerability
Title: .NET vulnerability
Summary: .NET could be made to crash or run programs if it received specially
crafted network traffic.
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.
Instructions: In general, a standard system update will make all the necessary changes.
Microsoft
.NET and Visual Studio Remote Code Execution Vulnerability
vendor_msrc·2025-06-10·CVSS 7.5
CVE-2025-30399 [HIGH] CWE-426 .NET and Visual Studio Remote Code Execution Vulnerability
.NET and Visual Studio Remote Code Execution Vulnerability
Description: Untrusted search path in .NET and Visual Studio allows an unauthorized attacker to execute code over a network.
FAQ: According to the CVSS metric, the attack complexity is high (AC:H). What does that mean for this vulnerability?
This attack requires a victim to perform a specific action, such as copying files or executing a command, and for an attacker with appropriate access to have pre-planted malicious files with knowledge of where they should be placed on the victim's system.
FAQ: According to the CVSS metric, the attack vector is network (AV:N) and the user interaction is required (UI:R). What is the target context of the remote code execution?
This attack requires a specially crafted file to be placed either i
OSV
Microsoft Security Advisory CVE-2025-30399 | .NET Remote Code Vulnerability
osv·2025-06-11·CVSS 7.5
CVE-2025-30399 [HIGH] Microsoft Security Advisory CVE-2025-30399 | .NET Remote Code Vulnerability
Microsoft Security Advisory CVE-2025-30399 | .NET Remote Code Vulnerability
# Microsoft Security Advisory CVE-2025-30399 | .NET Remote Code Vulnerability
## Executive summary
Microsoft is releasing this security advisory to provide information about a vulnerability in .NET 8.0 and .NET 9.0. This advisory also provides guidance on what developers can do to update their applications to remove this vulnerability.
An attacker could exploit this vulnerability by placing files in particular locations, leading to unintended code execution.
## Announcement
Announcement for this issue can be found at https://github.com/dotnet/announcements/issues/362
## Mitigation factors
Microsoft has not identified any mitigating factors for this vulnerability.
## Affected software
* Any .NET 8.0 applic
GHSA
Microsoft Security Advisory CVE-2025-30399 | .NET Remote Code Vulnerability
ghsa·2025-06-11·CVSS 7.5
CVE-2025-30399 [HIGH] CWE-426 Microsoft Security Advisory CVE-2025-30399 | .NET Remote Code Vulnerability
Microsoft Security Advisory CVE-2025-30399 | .NET Remote Code Vulnerability
# Microsoft Security Advisory CVE-2025-30399 | .NET Remote Code Vulnerability
## Executive summary
Microsoft is releasing this security advisory to provide information about a vulnerability in .NET 8.0 and .NET 9.0. This advisory also provides guidance on what developers can do to update their applications to remove this vulnerability.
An attacker could exploit this vulnerability by placing files in particular locations, leading to unintended code execution.
## Announcement
Announcement for this issue can be found at https://github.com/dotnet/announcements/issues/362
## Mitigation factors
Microsoft has not identified any mitigating factors for this vulnerability.
## Affected software
* Any .NET 8.0 applic
OSV
CVE-2025-30399: Untrusted search path in
osv·2025-06-10·CVSS 7.5
CVE-2025-30399 [HIGH] CVE-2025-30399: Untrusted search path in
Untrusted search path in .NET and Visual Studio allows an unauthorized attacker to execute code over a network.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2025-30399 dotnet: .NET Remote Code Vulnerability
bugzilla·2025-06-02·CVSS 7.5
CVE-2025-30399 [HIGH] CVE-2025-30399 dotnet: .NET Remote Code Vulnerability
CVE-2025-30399 dotnet: .NET Remote Code Vulnerability
Doc Text:
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.
Statement:
This vulnerability is Important because it allows remote code execution at the runtime level, targeting the fundamental assembly loading mechanism of .NET. Unlike moderate flaws that may require complex chaining or rely on user interaction, this issue can be exploited simply by placing malicious files in specific directories that .NET probes during execution.
Discussion:
This issue has been addressed in the following products:
Red Hat Enterprise Linux 10
Via RHSA-2025:8814 https://access.redhat.com/errata/RHSA-2
Bleepingcomputer
Microsoft June 2025 Patch Tuesday fixes exploited zero-day, 66 flaws
blogs_bleepingcomputer·2025-06-10·CVSS 8.8
[HIGH] Microsoft June 2025 Patch Tuesday fixes exploited zero-day, 66 flaws
## Microsoft June 2025 Patch Tuesday fixes exploited zero-day, 66 flaws
## Lawrence Abrams
13 Elevation of Privilege Vulnerabilities
3 Security Feature Bypass Vulnerabilities
25 Remote Code Execution Vulnerabilities
17 Information Disclosure Vulnerabilities
6 Denial of Service Vulnerabilities
2 Spoofing Vulnerabilities
This count does not include Mariner, Microsoft Edge, and Power Automate flaws fixed earlier this month.
To learn more about the non-security updates released today, you can review our dedicated articles on the Windows 11 KB5060842 and KB5060999 cumulative updates and the Windows 10 KB5060533 cumulative update .
## Two zero-days
This month's Patch Tuesday fixes one actively exploited zero-day and one publicly disclosed vulnerability. Microsoft classifies a zero-day
2025-06-13
Published