CyberSecBulletin

Untrusted Search Path

CWE-426

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.

We track 211 vulnerabilities of this type. 100% are rated high or critical, and the average CVSS score is 7.8. 3 have been exploited in real attacks.

How this weakness is prevented

  • Architecture and Design Implementation: Hard-code the search path to a set of known-safe values (such as system directories), or only allow them to be specified by the administrator in a configuration file. Do not allow these settings to be modified by an external party. Be careful to avoid related weaknesses such as CWE-426 and CWE-428.
  • Implementation: When invoking other programs, specify those programs using fully-qualified pathnames. While this is an effective approach, code that uses fully-qualified pathnames might not be portable to other systems that do not use the same pathnames. The portability can be improved by locating the full-qualified paths in a centralized, easily-modifiable location within the source code, and having the code refer to these paths.
  • Implementation: Remove or restrict all environment settings before invoking other programs. This includes the PATH environment variable, LD_LIBRARY_PATH, and other settings that identify the location of code libraries, and any application-specific search paths.
  • Implementation: Check your search path before use and remove any elements that are likely to be unsafe, such as the current working directory or a temporary files directory.
  • Implementation: Use other functions that require explicit paths. Making use of any of the other readily available functions that require explicit paths is a safe way to avoid this problem. For example, system() in C does not require a full path since the shell can take care of it, while execl() and execv() require a full path.

Latest Untrusted Search Path vulnerabilities

  • 7.0 High severity

    Battle.Net: Untrusted Search Path

    CVE-2025-1804Blizzard

    A vulnerability was found in Blizzard Battle.Net up to 2.39.0.15212 on Windows and classified as critical. Affected by this issue is some unknown functionality in the library profapi.dll. The manipulation leads to uncontrolled search path. The attack needs to

  • 7.8 High severity

    mongosh: Untrusted Search Path

    CVE-2025-1756MongoDB

    mongosh may be susceptible to local privilege escalation under certain conditions potentially enabling unauthorized actions on a user's system with elevated privilege, when a crafted file is stored in C:\node_modules\. This issue affects mongosh prior to 2.3.0

  • 7.8 High severity

    MongoDB Compass: Untrusted Search Path

    CVE-2025-1755MongoDB

    MongoDB Compass may be susceptible to local privilege escalation under certain conditions potentially enabling unauthorized actions on a user's system with elevated privileges, when a crafted file is stored in C:\node_modules\. This issue affects MongoDB Compa

  • 7.3 High severity

    ArcGIS AllSource: Untrusted Search Path

    CVE-2025-1068Esri

    There is an untrusted search path vulnerability in Esri ArcGIS AllSource 1.2 and 1.3 that may allow a low privileged attacker with write privileges to the local file system to introduce a malicious executable to the filesystem. When the victim performs a speci

  • 7.0 High severity

    Insomnia: Untrusted Search Path

    CVE-2025-1353Kong

    A vulnerability was found in Kong Insomnia up to 10.3.0 and classified as critical. This issue affects some unknown processing in the library profapi.dll. The manipulation leads to untrusted search path. An attack has to be approached locally. The complexity o

  • 7.8 High severity

    Zoom Workplace Apps for Windows: Untrusted Search Path

    CVE-2025-0145Zoom Communications

    Untrusted search path in the installer for some Zoom Workplace Apps for Windows may allow an authorized user to conduct an escalation of privilege via local access.

  • 7.8 High severity

    snowflake-jdbc: Untrusted Search Path

    CVE-2025-24789Snowflakedb

    Snowflake JDBC provides a JDBC type 4 driver that supports core functionality, allowing Java program to connect to Snowflake. Snowflake discovered and remediated a vulnerability in the Snowflake JDBC Driver. When the EXTERNALBROWSER authentication method is us

  • 7.8 High severity

    Rise Mode Temp CPU: Untrusted Search Path

    CVE-2025-0707Rise Group

    A vulnerability was found in Rise Group Rise Mode Temp CPU 2.1. It has been classified as critical. This affects an unknown part in the library CRYPTBASE.dll of the component Startup. The manipulation leads to untrusted search path. The attack needs to be appr

  • 7.2 High severity

    Endpoint Manager: Improper Limitation of a Pathname to a Restricted Directory

    CVE-2024-13158IvantiEPSS 3.44%

    An unbounded resource search path in Ivanti EPM before the 2024 January-2025 Security Update and 2022 SU6 January-2025 Security Update allows a remote authenticated attacker with admin privileges to achieve remote code execution.

  • 9.8 Critical severity

    pnpm: Untrusted Search Path

    CVE-2024-53866Pnpm

    The package manager pnpm prior to version 9.15.0 seems to mishandle overrides and global cache: Overrides from one workspace leak into npm metadata saved in global cache; npm metadata from global cache affects other workspaces; and installs by default don't re

  • 7.8 High severity

    Revit: Untrusted Search Path

    CVE-2024-11454Autodesk

    A maliciously crafted DLL file, when placed in the same directory as an RVT file could be loaded by Autodesk Revit, and execute arbitrary code in the context of the current process due to an untrusted search patch being utilized.

  • 7.0 High severity

    Agent for Windows: Untrusted Search Path

    CVE-2024-45207Veeam

    DLL injection in Veeam Agent for Windows can occur if the system's PATH variable includes insecure locations. When the agent runs, it searches these directories for necessary DLLs. If an attacker places a malicious DLL in one of these directories, the Veeam Ag

  • 7.8 High severity

    sccache: Untrusted Search Path

    CVE-2023-1521Mozilla

    On Linux the sccache client can execute arbitrary code with the privileges of a local sccache server, by preloading the code in a shared library passed to LD_PRELOAD. If the server is run as root (which is the default when installing the snap package https://s

  • 7.8 High severity

    Substance3D - Painter: Untrusted Search Path

    CVE-2024-49515Adobe

    Substance3D - Painter versions 10.1.0 and earlier are affected by an Untrusted Search Path vulnerability that might allow attackers to execute arbitrary code. If the application uses a search path to locate critical resources such as programs, then an attacker

  • 7.8 High severity

    FortiClientWindows: Untrusted Search Path

    CVE-2024-36507Fortinet

    A untrusted search path in Fortinet FortiClientWindows versions 7.4.0, versions 7.2.4 through 7.2.0, versions 7.0.12 through 7.0.0 allows an attacker to run arbitrary code via DLL hijacking and social engineering.

  • 7.8 High severity

    Connect Secure: Untrusted Search Path

    CVE-2024-47906Ivanti

    Excessive binary privileges in Ivanti Connect Secure before version 22.7R2.3 (Not Applicable to 9.1Rx) and Ivanti Policy Secure before version 22.7R1.2 (Not Applicable to 9.1Rx) allows a local authenticated attacker to escalate privileges.

  • 7.8 High severity

    VRED Design: Untrusted Search Path

    CVE-2024-7995Autodesk

    A maliciously crafted binary file when downloaded could lead to escalation of privileges to NT AUTHORITY/SYSTEM due to an untrusted search path being utilized in the VRED Design application. Exploitation of this vulnerability may lead to code execution.

  • 7.8 High severity

    Adobe Framemaker: Untrusted Search Path

    CVE-2024-47422Adobe

    Adobe Framemaker versions 2020.6, 2022.4 and earlier are affected by an Untrusted Search Path vulnerability that could lead to arbitrary code execution. An attacker could exploit this vulnerability by inserting a malicious path into the search directories, whi

  • 8.0 High severity

    HP One Agent Software: Untrusted Search Path

    CVE-2024-8733HP

    A potential security vulnerability has been identified in the HP One Agent for certain HP PC products, which might allow for escalation of privilege. HP is releasing software updates to mitigate this potential vulnerability.

  • 7.8 High severity

    InControl: Untrusted Search Path

    CVE-2024-9325Intelbras

    A vulnerability classified as critical has been found in Intelbras InControl up to 2.21.56. This affects an unknown part of the file C:\Program Files (x86)\Intelbras\Incontrol Cliente\incontrol_webcam\incontrol-service-watchdog.exe. The manipulation leads to u

  • 7.8 High severity

    Workspace Control: Untrusted Search Path

    CVE-2024-44103Ivanti

    DLL hijacking in the management console of Ivanti Workspace Control before version 2025.2 (10.19.0.0) allows a local authenticated attacker to escalate their privileges.

  • 7.8 High severity

    B&R APROL: Untrusted Search Path

    CVE-2024-5623B&R Industrial Automation

    An untrusted search path vulnerability in B&R APROL <= R 4.4-00P3 may be used by an authenticated local attacker to get other users to execute arbitrary code under their privileges.

  • 7.8 High severity

    B&R APROL: Untrusted Search Path

    CVE-2024-5622B&R Industrial Automation

    An untrusted search path vulnerability in the AprolConfigureCCServices of B&R APROL <= R 4.2.-07P3 and <= R 4.4-00P3 may allow an authenticated local attacker to execute arbitrary code with elevated privileges.

  • 7.3 High severity

    SupportAssist for Home PCs: Untrusted Search Path

    CVE-2024-38305Dell

    Dell SupportAssist for Home PCs Installer exe version 4.0.3 contains a privilege escalation vulnerability in the installer. A local low-privileged authenticated attacker could potentially exploit this vulnerability, leading to the execution of arbitrary execut

  • 7.8 High severity

    Beyond Compare: Untrusted Search Path

    CVE-2024-7886Scooter Software

    A vulnerability has been found in Scooter Software Beyond Compare up to 3.3.5.15075 and classified as critical. Affected by this vulnerability is an unknown functionality in the library 7zxa.dll. The manipulation leads to uncontrolled search path. Attacking lo

  • 7.8 High severity

    Dimension: Untrusted Search Path

    CVE-2024-41865Adobe

    Dimension versions 3.4.11 and earlier are affected by an Untrusted Search Path vulnerability that could lead to arbitrary code execution. An attacker could exploit this vulnerability by inserting a malicious file into the search path, which the application mig

  • 7.0 High severity

    Premiere Pro: Untrusted Search Path

    CVE-2024-34123Adobe

    Premiere Pro versions 23.6.5, 24.4.1 and earlier are affected by an Untrusted Search Path vulnerability that could lead to arbitrary code execution. An attacker could exploit this vulnerability by inserting a malicious file into the search path, which the appl

  • 7.8 High severity

    InControl: Untrusted Search Path

    CVE-2024-6080Intelbras

    A vulnerability classified as critical was found in Intelbras InControl 2.21.56. This vulnerability affects unknown code of the component incontrolWebcam Service. The manipulation leads to unquoted search path. Local access is required to approach this attack.

  • 7.3 High severity

    kafeo: Untrusted Search Path

    CVE-2024-28060Apiris

    An issue was discovered in Apiris Kafeo 6.4.4. It permits DLL hijacking, allowing a user to trigger the execution of arbitrary code every time the product is executed.

  • 8.8 High severity

    netdata: Untrusted Search Path

    CVE-2024-32019NetdataEPSS 1.17%

    Netdata is an open source observability tool. In affected versions the `ndsudo` tool shipped with affected versions of the Netdata Agent allows an attacker to run arbitrary programs with root permissions. The `ndsudo` tool is packaged as a `root`-owned executa

  • 7.8 High severity

    Lightroom Desktop: Untrusted Search Path

    CVE-2024-20754Adobe

    Lightroom Desktop versions 7.1.2 and earlier are affected by an Untrusted Search Path vulnerability that could result in arbitrary code execution in the context of the current user. If the application uses a search path to locate critical resources such as pro

  • 7.3 High severity

    electron-builder: Untrusted Search Path

    CVE-2024-27303Electron-userland

    electron-builder is a solution to package and build a ready for distribution Electron, Proton Native app for macOS, Windows and Linux. A vulnerability that only affects eletron-builder prior to 24.13.2 in Windows, the NSIS installer makes a system call to open

  • 7.8 High severity

    issues: Untrusted Search Path

    CVE-2024-24810Wixtoolset

    WiX toolset lets developers create installers for Windows Installer, the Windows installation engine. The .be TEMP folder is vulnerable to DLL redirection attacks that allow the attacker to escalate privileges. This impacts any installer built with the WiX ins

  • 7.5 High severity

    Cybozu KUNAI for Android: Untrusted Search Path

    CVE-2024-23304Cybozu

    Cybozu KUNAI for Android 3.0.20 to 3.0.21 allows a remote unauthenticated attacker to cause a denial-of-service (DoS) condition by performing certain operations.

  • 7.8 High severity

    creditcoin: Untrusted Search Path

    CVE-2024-22410Gluwa

    Creditcoin is a network that enables cross-blockchain credit transactions. The Windows binary of the Creditcoin node loads a suite of DLLs provided by Microsoft at startup. If a malicious user has access to overwrite the program files directory it is possible

  • 7.8 High severity

    GitPython: Untrusted Search Path

    CVE-2024-22190Gitpython-developers

    GitPython is a python library used to interact with Git repositories. There is an incomplete fix for CVE-2023-40590. On Windows, GitPython uses an untrusted search path if it uses a shell to run `git`, as well as when it runs `bash.exe` to interpret hooks. If

  • 7.8 High severity

    SupportAssist Client Consumer: Untrusted Search Path

    CVE-2023-48670Dell

    Dell SupportAssist for Home PCs version 3.14.1 and prior versions contain a privilege escalation vulnerability in the installer. A local low privileged authenticated attacker may potentially exploit this vulnerability, leading to the execution of arbitrary exe

  • 8.8 High severity

    Zoom Desktop Client for Windows, Zoom VDI…: Improper Limitation of a Pathname to a Restricted Directory

    CVE-2023-43586Zoom Video Communications

    Path traversal in Zoom Desktop Client for Windows, Zoom VDI Client for Windows, and Zoom SDKs for Windows may allow an authenticated user to conduct an escalation of privilege via network access.

  • 7.5 High severity

    Apache Hadoop: Untrusted Search Path

    CVE-2023-26031ApacheEPSS 2.09%

    Relative library resolution in linux container-executor binary in Apache Hadoop 3.3.1-3.3.4 on Linux allows local user to gain root privileges. If the YARN cluster is accepting work from remote (authenticated) users, this MAY permit remote users to gain root p

  • 7.8 High severity

    FortiClientWindows: Untrusted Search Path

    CVE-2023-41840Fortinet

    A untrusted search path vulnerability in Fortinet FortiClientWindows 7.0.9 allows an attacker to perform a DLL Hijack attack via a malicious OpenSSL engine library in the search path.