CWE-426: Untrusted Search Path

650 CVEs have CWE-426 as their primary weakness. 2 of them are in the CISA KEV catalog. The highest EPSS score among them is 70.964%.

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.

Some of the most common variants of untrusted search path are: In various UNIX and Linux-based systems, the PATH environment variable may be consulted to locate executable programs, and LD_PRELOAD may be used to locate a separate library. Programming languages may have their own paths for locating code, e.g. PERL5LIB in Perl. In various Microsoft-based systems, the PATH environment variable is consulted to locate a DLL, if the DLL is not found in other paths that appear earlier in the search order.

Child of CWE-642: External Control of Critical State Data

Mitigations

Observed examples

Top released CVEs

KEV first, then the highest EPSS score, the highest CVSS score and the newest.

CVEPublishedSeverityCVSSEPSSDescription
CVE-2012-18542012-07-10HIGH7.820.867%Untrusted search path vulnerability in VBE6.dll in Microsoft Office 2003 SP3, 2007 SP2 and SP3, and 2010 Gold and SP1; Microsoft Visual Basic for Applications…
CVE-2022-220472022-07-12HIGH7.818.264%Windows Client Server Run-time Subsystem (CSRSS) Elevation of Privilege Vulnerability

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources