CyberSecBulletin

Uncontrolled Search Path Element

CWE-427

The product uses a fixed or controlled search path to find resources, but one or more locations in that path can be under the control of unintended actors.

Although this weakness can occur with any type of resource, it is frequently introduced when a product uses a directory search path to find executables or code libraries, but the path contains a directory that can be modified by an attacker, such as /tmp or the current working directory. In Windows-based systems, when the LoadLibrary or LoadLibraryEx function is called with a DLL name that does not contain a fully qualified path, the function follows a search order that includes two path elements that might be uncontrolled: the directory from which the program has been loaded the current working directory In some cases, the attack can be conducted remotely, such as when SMB or WebDAV network shares are used. One or more locations in that path could include the Windows drive root or its subdirectories. This often exists in Linux-based code assuming the controlled nature of the root directory (/) or its subdirectories (/etc, etc), or a code that recursively accesses the parent directory. In Windows, the drive root and some of its subdirectories have weak permissions by default, which makes them uncontrolled. In some Unix-based systems, a PATH might be created that contains an empty element, e.g. by splicing an empty variable into the PATH. This empty element can be interpreted as equivalent to the current working directory, which might be an untrusted search element. In software package management frameworks (e.g., npm, RubyGems, or PyPi), the framework may identify dependencie

We track 610 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. Since this is a denylist approach, it might not be a complete solution.
  • 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 finding the program using the PATH environment variable, while execl() and execv() require a full path.

Latest Uncontrolled Search Path Element vulnerabilities

  • 8.4 High severity

    WTW EAGLE (for Windows): Uncontrolled Search Path Element

    CVE-2025-62776Wireless Tsukamoto

    The installer of WTW EAGLE (for Windows) 3.0.8.0 contains an issue with the DLL search path, which may lead to insecurely loading Dynamic Link Libraries. As a result, arbitrary code may be executed with the privileges of the running application.

  • 8.8 High severity

    Docker Desktop: Uncontrolled Search Path Element

    CVE-2025-9164Docker

    Docker Desktop Installer.exe is vulnerable to DLL hijacking due to insecure DLL search order. The installer searches for required DLLs in the user's Downloads folder before checking system directories, allowing local privilege escalation through malicious DLL

  • 7.0 High severity

    LibreWolf: Untrusted Search Path

    CVE-2025-11940LibreWolf

    A security vulnerability has been detected in LibreWolf up to 143.0.4-1 on Windows. This affects an unknown function of the file assets/setup.nsi of the component Installer. Such manipulation leads to uncontrolled search path. The attack must be carried out lo

  • 7.8 High severity

    PC Manager: Uncontrolled Search Path Element

    CVE-2025-10581Lenovo

    A potential DLL hijacking vulnerability was discovered in the Lenovo PC Manager during an internal security assessment that could allow a local authenticated user to execute code with elevated privileges.

  • 8.5 High severity

    RemoteCall Remote Support Program (for Operator): Uncontrolled Search Path Element

    CVE-2025-26861RSUPPORT

    RemoteCall Remote Support Program (for Operator) versions prior to 5.3.0 contain an uncontrolled search path element vulnerability. If a crafted DLL is placed in the same folder with the affected product, it may cause an arbitrary code execution.

  • 8.5 High severity

    RemoteCall Remote Support Program (for Operator): Uncontrolled Search Path Element

    CVE-2025-26860RSUPPORT

    RemoteCall Remote Support Program (for Operator) versions prior to 5.1.0 contain an uncontrolled search path element vulnerability. If a crafted DLL is placed in the same folder with the affected product, it may cause an arbitrary code execution.

  • 8.5 High severity

    RemoteView PC Application Console: Uncontrolled Search Path Element

    CVE-2025-26859RSUPPORT

    RemoteView PC Application Console versions prior to 6.0.2 contain an uncontrolled search path element vulnerability. If a crafted DLL is placed in the same folder with the affected product, it may cause an arbitrary code execution.

  • 7.3 High severity

    FortiClientWindows: Uncontrolled Search Path Element

    CVE-2025-57716Fortinet

    An Uncontrolled Search Path Element vulnerability [CWE-427] in FortiClient Windows 7.4.0 through 7.4.3, 7.2.0 through 7.2.11, 7.0 all versions may allow a local low privileged user to perform a DLL hijacking attack via placing a malicious DLL to the FortiClien

  • 8.6 High severity

    Eaton IPP software: Uncontrolled Search Path Element

    CVE-2025-59889Eaton

    Improper authentication of library files in the Eaton IPP software installer could lead to arbitrary code execution of an attacker with the access to the software package. This security issue has been fixed in the latest version of IPP which is available on th

  • 8.2 High severity

    GeForce: Uncontrolled Search Path Element

    CVE-2025-23309NVIDIA

    NVIDIA Display Driver contains a vulnerability where an uncontrolled DLL loading path might lead to arbitrary denial of service, escalation of privileges, code execution, and data tampering.

  • 7.8 High severity

    Checkmk: Uncontrolled Search Path Element

    CVE-2025-32919Checkmk

    Use of an insecure temporary directory in the Windows License plugin for the Checkmk Windows Agent allows Privilege Escalation. This issue affects Checkmk: from 2.4.0 before 2.4.0p13, from 2.3.0 before 2.3.0p38, from 2.2.0 before 2.2.0p46, and all versions of

  • 7.8 High severity

    Anki: Uncontrolled Search Path Element

    CVE-2025-62185Ankitects

    In Ankitects Anki before 25.02.5, a crafted shared deck can place a YouTube downloader executable in the media folder, and this is executed for a YouTube link in the deck. The executable name could be youtube-dl.exe or yt-dlp.exe or yt-dlp_x86.exe.

  • 8.4 High severity

    Multiple installers of DENSO TEN drive…: Uncontrolled Search Path Element

    CVE-2025-57781DENSO TEN Limited.

    The installers of DENSO TEN drive recorder viewer contain an issue with the DLL search path, which may lead to insecurely loading Dynamic Link Libraries. As a result, arbitrary code may be executed with the privilege of the user invoking the installer.

  • 7.3 High severity

    Zabbix: Uncontrolled Search Path Element

    CVE-2025-27237Zabbix

    In Zabbix Agent and Agent 2 on Windows, the OpenSSL configuration file is loaded from a path writable by low-privileged users, allowing malicious modification and potential local privilege escalation by injecting a DLL.

  • 7.8 High severity

    AutoDownloader: Uncontrolled Search Path Element

    CVE-2025-11223Panasonic

    Installer of Panasonic AutoDownloader version 1.2.8 contains an issue with the DLL search path, which may lead to loading a crafted DLL file in the same directory.

  • 7.8 High severity

    Nsight Graphics: Uncontrolled Search Path Element

    CVE-2025-23355NVIDIA

    NVIDIA Nsight Graphics for Windows contains a vulnerability in an ngfx component, where an attacker could cause a DLL highjacking attack. A successful exploit of this vulnerability may lead to code execution, escalation of privileges, data tampering, and denia

  • 7.3 High severity

    Acronis True Image: Uncontrolled Search Path Element

    CVE-2025-11178Acronis

    Local privilege escalation due to DLL hijacking vulnerability. The following products are affected: Acronis True Image (Windows) before build 42386, Acronis True Image for Western Digital (Windows) before build 42636, Acronis True Image for SanDisk (Windows) b

  • 7.0 High severity

    Toolkit: Untrusted Search Path

    CVE-2025-9267Seagate

    In Seagate Toolkit on Windows a vulnerability exists in the Toolkit Installer prior to versions 2.35.0.6 where it attempts to load DLLs from the current working directory without validating their origin or integrity. This behavior can be exploited by placing a

  • 8.8 High severity

    Salesforce CLI: Uncontrolled Search Path Element

    CVE-2025-9844Salesforce

    Uncontrolled Search Path Element vulnerability in Salesforce Salesforce CLI on Windows allows Replace Trusted Executable.This issue affects Salesforce CLI: before 2.106.6.

  • 7.8 High severity

    Asterisk: Uncontrolled Search Path Element

    CVE-2025-1131Asterisk

    A local privilege escalation vulnerability exists in the safe_asterisk script included with the Asterisk toolkit package. When Asterisk is started via this script (common in SysV init or FreePBX environments), it sources all .sh files located in /etc/asterisk/

  • 7.8 High severity

    Browser: Uncontrolled Search Path Element

    CVE-2025-9201Lenovo

    A potential DLL hijacking vulnerability was discovered in Lenovo Browser during an internal security assessment that could allow a local user to execute code with elevated privileges.

  • 7.0 High severity

    Wave: Uncontrolled Search Path Element

    CVE-2025-40979Grandstream Networks

    DLL search order hijacking vulnerability in the wave.exe executable for Windows 11, version 1.27.8. Exploitation of this vulnerability could allow attackers with local access to execute arbitrary code by placing an arbitrary file in the 'C:\Users<user>\AppData

  • 7.8 High severity

    UPDF: Uncontrolled Search Path Element

    CVE-2025-10215UPDF

    DLL search path hijacking vulnerability in the UPDF.exe executable for Windows version 1.8.5.0 allows attackers with local access to execute arbitrary code by placing a FREngine.dll file of their choice in the 'C:\Users\Public\AppData\Local\UPDF\FREngine\Bin64

  • 7.8 High severity

    UPDF: Uncontrolled Search Path Element

    CVE-2025-10214UPDF

    DLL search path hijacking vulnerability in the UPDF.exe executable for Windows version 1.8.5.0 allows attackers with local access to execute arbitrary code by placing a FREngine.dll file of their choice in the 'C:\Users\<user>\AppData\Local\UPDF\FREngine\Bin64

  • 7.8 High severity

    UPDF: Uncontrolled Search Path Element

    CVE-2025-10213UPDF

    DLL search path hijacking vulnerability in the UPDF.exe executable for Windows version 1.8.5.0 allows attackers with local access to execute arbitrary code by placing a dxtn.dll file of their choice in the 'C:\Users\<user>\AppData\Local\Microsoft\WindowsApps\'

  • 7.8 High severity

    Sunshine for Windows: Uncontrolled Search Path Element

    CVE-2025-10198LizardByte

    Sunshine for Windows, version v2025.122.141614, contains a DLL search-order hijacking vulnerability, allowing attackers to insert a malicious DLL in user-writeable PATH directories.

  • 8.5 High severity

    TkEasyGUI: Uncontrolled Search Path Element

    CVE-2025-55671Kujirahand

    Uncontrolled search path element issue exists in TkEasyGUI versions prior to v1.0.22. If this vulnerability is exploited, arbitrary code may be executed with the privilege of running the program.

  • 7.8 High severity

    PDF Reader: Uncontrolled Search Path Element

    CVE-2025-9330Foxit

    Foxit PDF Reader Update Service Uncontrolled Search Path Element Local Privilege Escalation Vulnerability. This vulnerability allows local attackers to escalate privileges on affected installations of Foxit PDF Reader. An attacker must first obtain the ability

  • 7.8 High severity

    NoMachine: Uncontrolled Search Path Element

    CVE-2025-8614NoMachine

    NoMachine Uncontrolled Search Path Element Local Privilege Escalation Vulnerability. This vulnerability allows local attackers to escalate privileges on affected installations of NoMachine. An attacker must first obtain the ability to execute low-privileged co

  • 7.0 High severity

    Control Center GX V2: Untrusted Search Path

    CVE-2025-9016Mechrevo

    A vulnerability has been found in Mechrevo Control Center GX V2 5.56.51.48. Affected is an unknown function of the file C:\Program Files\OEM\机械革命控制中心\AiStoneService\MyControlCenter\Command of the component Powershell Script Handler. Such manipulation leads to

  • 7.0 High severity

    Control Center GX V2: Untrusted Search Path

    CVE-2025-9000Mechrevo

    A vulnerability was detected in Mechrevo Control Center GX V2 5.56.51.48. Impacted is an unknown function of the component reg File Handler. The manipulation results in uncontrolled search path. The attack needs to be approached locally. The attack requires a

  • 7.8 High severity

    Substance3D - Modeler: Uncontrolled Search Path Element

    CVE-2025-49571Adobe

    Substance3D - Modeler versions 1.22.0 and earlier are affected by an Uncontrolled Search Path Element vulnerability that could result in arbitrary code execution in the context of the current user. If the application uses an uncontrolled search path to locate

  • 7.8 High severity

    Automation License Manager V6.0: Uncontrolled Search Path Element

    CVE-2025-30033Siemens

    The affected setup component is vulnerable to DLL hijacking. This could allow an attacker to execute arbitrary code when a legitimate user installs an application that uses the affected setup component.

  • 7.0 High severity

    Beats: Uncontrolled Search Path Element

    CVE-2025-25011Elastic

    An uncontrolled search path element vulnerability can lead to local privilege Escalation (LPE) via Insecure Directory Permissions. The vulnerability arises from improper handling of directory permissions. An attacker with local access may exploit this flaw to

  • 7.0 High severity

    APM Server: Uncontrolled Search Path Element

    CVE-2025-0712Elastic

    An uncontrolled search path element vulnerability can lead to local privilege Escalation (LPE) via Insecure Directory Permissions. The vulnerability arises from improper handling of directory permissions. An attacker with local access may exploit this flaw to

  • 8.5 High severity

    Commvault for Windows: Uncontrolled Search Path Element

    CVE-2024-13976Commvault

    A DLL injection vulnerability exists in Commvault for Windows 11.20.0, 11.28.0, 11.32.0, 11.34.0, and 11.36.0. During the installation of maintenance updates, an attacker with local access may exploit uncontrolled search path or DLL loading behavior to execute

  • 7.0 High severity

    Software Fix: Uncontrolled Search Path Element

    CVE-2025-1700Motorola

    A DLL hijacking vulnerability was reported in the Motorola Software Fix (Rescue and Smart Assistant) installer that could allow a local attacker to escalate privileges during installation of the software.

  • 7.5 High severity

    Sophos Intercept X for Windows Installer: Uncontrolled Search Path Element

    CVE-2025-7472Sophos

    A local privilege escalation vulnerability in the Intercept X for Windows installer prior version 1.22 can lead to a local user gaining system level privileges, if the installer is run as SYSTEM.

  • 8.5 High severity

    Panda Global Protection 2016: Uncontrolled Search Path Element

    CVE-2025-34109Panda Security

    PSEvents.exe in multiple Panda Security products runs hourly with SYSTEM privileges and loads DLL files from a user-writable directory without proper validation. An attacker with low-privileged access who can write DLL files to the monitored directory can achi

  • 8.8 High severity

    i: Uncontrolled Search Path Element

    CVE-2025-36004IBM

    IBM i 7.2, 7.3, 7.4, and 7.5 could allow a user to gain elevated privileges due to an unqualified library call in IBM Facsimile Support for i. A malicious actor could cause user-controlled code to run with administrator privilege.