CVE-2025-30399

.NET and Visual Studio Remote Code Execution Vulnerability

Published Jun 13, 2025 CVSS 3.1 · 7.5 High EPSS 1.1% KEV · Not listed
Description
Untrusted search path in .NET and Visual Studio allows an unauthorized attacker to execute code over a network.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-18115 Untrusted search path in .NET and Visual Studio allows an unauthorized attacker to execute code over a network.
Github GHSA Github GHSA GHSA-266m-wp2v-x7mq Microsoft Security Advisory CVE-2025-30399 | .NET Remote Code Vulnerability
Ubuntu USN Ubuntu USN USN-7563-1 .NET vulnerability
History
Type Values Removed Values Added
CPEs cpe:2.3:a:microsoft:powershell:*:-:*:*:*:*:*:*
Type Values Removed Values Added
Metrics epss

{'score': 0.00029}

epss

{'score': 0.00032}

Type Values Removed Values Added
Metrics epss

{'score': 0.00027}

epss

{'score': 0.00029}

Type Values Removed Values Added
First Time appeared Apple
Apple macos
Linux
Linux linux Kernel
Microsoft
Microsoft .net
Microsoft powershell
Microsoft visual Studio 2022
Microsoft windows
CPEs cpe:2.3:a:microsoft:.net:*:*:*:*:*:*:*:*
cpe:2.3:a:microsoft:powershell:*:*:*:*:*:*:*:*
cpe:2.3:a:microsoft:visual_studio_2022:*:*:*:*:*:*:*:*
cpe:2.3:o:apple:macos:-:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*
Vendors & Products Apple
Apple macos
Linux
Linux linux Kernel
Microsoft
Microsoft .net
Microsoft powershell
Microsoft visual Studio 2022
Microsoft windows
Type Values Removed Values Added
First Time appeared Redhat rhel Eus
CPEs cpe:/a:redhat:rhel_eus:9.4
Vendors & Products Redhat rhel Eus
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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. Untrusted search path in .NET and Visual Studio allows an unauthorized attacker to execute code over a network.
Title dotnet: .NET Remote Code Vulnerability .NET and Visual Studio Remote Code Execution Vulnerability
Weaknesses CWE-426
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV3_1

{'score': 7.5, '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'}

Type Values Removed Values Added
Description 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.
Title dotnet: .NET Remote Code Vulnerability
First Time appeared Redhat
Redhat enterprise Linux
Weaknesses CWE-427
CPEs cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:enterprise_linux:10.0
Vendors & Products Redhat
Redhat enterprise Linux
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'}

threat_severity

Important

Weaknesses

Sources

Status
PUBLISHED
Assigner
microsoft
Published
Updated
Feb 20, 2026, 4:00 PM
Reserved
Mar 21, 2025, 7:09 PM
Status
Analyzed
Published
Jun 13, 2025, 2:15 AM
Modified
Jun 17, 2026, 9:08 AM
Severity
Important
Public date
Jun 10, 2025, 12:00 AM