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

CVE-2025-30399

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

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

HIGH · CVSS 7.5 EPSS 0.0028
Schedule remediation
  • CVSS base score ≥ 7.0
Sigma rules21 YARA rules0

Weakness Classification

Affected Products & Versions

8
microsoft visual studio 2022>= 17.8.0 and < 17.8.22
microsoft visual studio 2022>= 17.10.0 and < 17.10.16
microsoft visual studio 2022>= 17.12.0 and < 17.12.9
microsoft visual studio 2022>= 17.14.0 and < 17.14.5
microsoft .net>= 9.0.0 and < 9.0.6
microsoft .net>= 8.0.0 and < 8.0.17
microsoft powershell>= 7.4 and < 7.4.11
microsoft powershell>= 7.5 and < 7.5.2

Affected Packages

12
Language-ecosystem packages (from OSV) tied to this CVE, with the version that fixes it - the dependency-level detail NVD doesn’t carry.
NuGet Microsoft.NetCore.App.Runtime.linux-arm HIGH fixed in 9.0.6
NuGet Microsoft.NetCore.App.Runtime.linux-arm64 HIGH fixed in 9.0.6
NuGet Microsoft.NetCore.App.Runtime.linux-musl-arm HIGH fixed in 9.0.6
NuGet Microsoft.NetCore.App.Runtime.linux-musl-arm64 HIGH fixed in 9.0.6
NuGet Microsoft.NetCore.App.Runtime.linux-musl-x64 HIGH fixed in 9.0.6
NuGet Microsoft.NetCore.App.Runtime.linux-x64 HIGH fixed in 9.0.6
NuGet Microsoft.NetCore.App.Runtime.osx-arm64 HIGH fixed in 9.0.6
NuGet Microsoft.NetCore.App.Runtime.osx-x64 HIGH fixed in 9.0.6
NuGet Microsoft.NetCore.App.Runtime.win-arm HIGH fixed in 9.0.6
NuGet Microsoft.NetCore.App.Runtime.win-arm64 HIGH fixed in 9.0.6
NuGet Microsoft.NetCore.App.Runtime.win-x64 HIGH fixed in 9.0.6
NuGet Microsoft.NetCore.App.Runtime.win-x86 HIGH fixed in 9.0.6

Sigma Hunt Rules

21
Exact rules name this CVE ID. Product rules name an affected product in their title. Related rules cover techniques used by actors who exploited this CVE. Showing the most relevant matches; the complete related set is on the full drill-down.
producthighUAC Bypass Using .NET Code Profiler on MMC
producthighPotential AMSI Bypass Via .NET Reflection
producthighETW Logging Tamper In .NET Processes Via CommandLine
producthighETW Logging Disabled In .NET Processes - Registry
producthighETW Logging Disabled In .NET Processes - Sysmon Registry
productcriticalBad Opsec Powershell Code Artifacts

Scoring & Timeline

7.5
HIGH · CVSS v3.1 · secure@microsoft.com
View on NVD
Attack Vector
Network Adjacent Local Physical
Attack Complexity
Low High
Privileges Required
None Low High
User Interaction
None Required
Scope
Unchanged Changed
Confidentiality
None Low High
Integrity
None Low High
Availability
None Low High
Published to NVD13 Jun 2025 · 02:15 AM
CVSS VectorCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
SSVC triage · cisa-vulnrichment
Exploitation
none
Automatable
no
Technical impact
total
SSVC asks the questions that actually drive patch urgency: is it being exploited, can attacks be automated, and how total is the impact.

Vendor Advisories

9
msrcCVE-2025-30399Remote Code Execution
rhsaRHSA-2025:8813Important
rhsaRHSA-2025:8812Important
rhsaRHSA-2025:8815Important
Intelligence Graph · click any node to traverse
CVETechnique ActorTool Family
drag to reposition · click any node to traverse · button top-right enlarges
External lookups - second-class, for what we don’t hold ourselves
Vulnerabilities
CISA KEV catalog
CWE weaknesses
CAPEC attack patterns
Package vulnerabilities
Threat intelligence
Threat actors
Tools & malware
ATT&CK techniques
IOCs
Detection & defense
Sigma rules
YARA rules
Atomic Red Team tests
D3FEND countermeasures
Compliance
NIST 800-53
ISO 27001:2022
SOC 2 TSC
PCI-DSS v4.0
CIS Controls v8.1
About
All capabilities
Live statistics
Data sources
Privacy policy
Terms of service
threatengine.sh  ·  Open-source threat intelligence platform  ·  100+ authoritative sources  ·  Every fact traces to its origin