CVE Vulnerabilities

CVE-2025-30399

Untrusted Search Path

Published: Jun 13, 2025 | Modified: Jun 16, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
7.5 IMPORTANT
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Ubuntu
MEDIUM

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

Weakness

The product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product’s direct control.

Affected Software

Name Vendor Start Version End Version
Red Hat Enterprise Linux 10 RedHat dotnet8.0-0:8.0.117-1.el10_0 *
Red Hat Enterprise Linux 10 RedHat dotnet9.0-0:9.0.107-1.el10_0 *
Red Hat Enterprise Linux 8 RedHat dotnet8.0-0:8.0.117-1.el8_10 *
Red Hat Enterprise Linux 8 RedHat dotnet9.0-0:9.0.107-1.el8_10 *
Red Hat Enterprise Linux 9 RedHat dotnet8.0-0:8.0.117-1.el9_6 *
Red Hat Enterprise Linux 9 RedHat dotnet9.0-0:9.0.107-1.el9_6 *
Red Hat Enterprise Linux 9.4 Extended Update Support RedHat dotnet8.0-0:8.0.117-1.el9_4 *
Dotnet7 Ubuntu jammy *
Dotnet8 Ubuntu devel *
Dotnet8 Ubuntu jammy *
Dotnet8 Ubuntu noble *
Dotnet8 Ubuntu oracular *
Dotnet8 Ubuntu plucky *
Dotnet9 Ubuntu devel *
Dotnet9 Ubuntu oracular *
Dotnet9 Ubuntu plucky *

Extended Description

This might allow attackers to execute their own programs, access unauthorized data files, or modify configuration in unexpected ways. If the product uses a search path to locate critical resources such as programs, then an attacker could modify that search path to point to a malicious program, which the targeted product would then execute. The problem extends to any type of critical resource that the product trusts. Some of the most common variants of untrusted search path are:

Potential Mitigations

References