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

  • 7.8 High severity

    Acunetix: Uncontrolled Search Path Element

    CVE-2026-6958Invicti Security

    Acunetix 25.11.251107123 for Windows contains a local privilege escalation vulnerability in the Web Vulnerability Scanning Engine (wvsc.exe) that allows low-privileged local attackers to execute arbitrary code as SYSTEM by exploiting a missing hardcoded direct

  • 7.8 High severity

    Konga: Uncontrolled Search Path Element

    CVE-2026-45221EASYBYTE Software

    Konga before 2.1.0 contains a privilege escalation vulnerability that allows low-privileged local attackers to execute arbitrary code by planting attacker-controlled OpenSSL configuration or library files in a hardcoded filesystem path absent from default inst

  • 7.3 High severity

    Codex Desktop: Uncontrolled Search Path Element

    CVE-2026-19590OpenAI

    OpenAI Codex Desktop for Windows and macOS could execute attacker-controlled Git hooks because automated Git operations trusted the repository's local core.hooksPath setting. If a user opens an attacker-prepared repository whose preserved .git/config points co

  • 7.0 High severity

    siyuan: Uncontrolled Search Path Element

    CVE-2026-82649Siyuan-note

    SiYuan Windows installer before version 3.8.1 (affected versions >= 2.0.14) contains an uncontrolled search path element vulnerability in its NSIS installer, which invokes system executables such as TASKKILL by name rather than by absolute path. Because NSIS n

  • 9.9 Critical severity

    OpenShell: Uncontrolled Search Path Element

    CVE-2026-65093NVIDIA

    NVIDIA OpenShell for Linux contains a vulnerability where an attacker could cause a sandbox escape. A successful exploit of this vulnerability might lead to code execution, escalation of privileges, data tampering, and information disclosure.

  • 7.8 High severity

    Zabbix: Uncontrolled Search Path Element

    CVE-2026-59781Zabbix

    When Zabbix Agent was installed on Windows into a custom installation directory, the installer did not verify whether the selected directory had secure access permissions. If the target directory allowed unauthorized users to modify its contents, an attacker c

  • 7.3 High severity

    ObjectScale: Uncontrolled Search Path Element

    CVE-2026-56090Dell

    Dell ObjectScale, versions prior to 4.3.0.1, contain(s) an Uncontrolled Search Path Element vulnerability. A low privileged attacker with local access could potentially exploit this vulnerability, leading to Elevation of privileges.

  • 7.8 High severity

    Prisma Access Agent: Uncontrolled Search Path Element

    CVE-2026-0294Palo Alto Networks

    A privilege escalation (PE) vulnerability in the Palo Alto Networks Prisma® Access Agent app on Windows and macOS devices enables a local user to execute code with elevated privileges. The Prisma Access Agent on Linux, iOS, Android, and ChromeOS is not affecte

  • 7.0 High severity

    AMD Ryzen™ Master: Uncontrolled Search Path Element

    CVE-2025-54512AMD

    A DLL hijacking vulnerability within the AMD Ryzen Master installation could allow a local user-privileged attacker to escalate privileges, potentially resulting in arbitrary code execution.

  • 7.0 High severity

    AMD Power Design Manager (PDM) Software…: Uncontrolled Search Path Element

    CVE-2025-8087AMD

    A DLL hijacking vulnerability in AMD Power Design Manager could allow a malicious local attacker to escalate privileges during the uninstallation process, potentially resulting in arbitrary code execution.

  • 8.4 High severity

    LINE for Windows: Uncontrolled Search Path Element

    CVE-2026-13133LY

    A vulnerability has been identified in LineInst.exe (LINE for Windows) prior to version 26.4.0, where Msftedit.dll is loaded via a relative path without a secure DLL search path, allowing a malicious DLL placed in the installer's directory to be loaded ahead o

  • 8.8 High severity

    Arena SDK: Uncontrolled Search Path Element

    CVE-2026-9169LUCID Vision Labs

    DLL Search Order Hijacking in LUCID Vision Labs Arena SDK 1.0.80.49 on Windows allows a local attacker to execute arbitrary code with the privileges of the application by placing a malicious DLL in a user-controlled directory listed in the PATH environment var

  • 7.8 High severity

    Kiro CLI: Uncontrolled Search Path Element

    CVE-2026-18657Amazon

    An uncontrolled search path element in Kiro CLI before version 2.10.0 on Windows might allow a remote unauthenticated actor to execute arbitrary code via a maliciously crafted project directory containing an executable that bypasses workspace trust protections

  • 7.8 High severity

    Kiro IDE: Uncontrolled Search Path Element

    CVE-2026-18656Amazon

    An uncontrolled search path element in Kiro IDE before version 1.0.228 on Windows might allow a remote unauthenticated actor to execute arbitrary code via a maliciously crafted project directory containing an executable that bypasses workspace trust protection

  • 7.0 High severity

    Ghidra: Uncontrolled Search Path Element

    CVE-2026-18718National Security Agency

    Ghidra contains an arbitrary code execution vulnerability in the Swift demangler analyzer that allows an attacker to execute arbitrary binaries by supplying a malicious Ghidra project with a crafted Swift tool directory path. When a victim opens the attacker-s

  • 7.0 High severity

    AppCheck Pro: Untrusted Search Path

    CVE-2026-18605CheckMAL

    A security flaw has been discovered in CheckMAL AppCheck Pro 3.1.43.10. Affected is an unknown function in the library AppCheckD.sys of the component Kernel Mini-Filter Driver. Performing a manipulation results in uncontrolled search path. The attack requires

  • 8.6 High severity

    Adobe Photoshop Installer: Uncontrolled Search Path Element

    CVE-2026-48388Adobe

    Adobe Photoshop Installer was affected by an Uncontrolled Search Path Element vulnerability that could have resulted in arbitrary code execution in the context of the current user. An attacker could have exploited this vulnerability by placing a malicious libr

  • 7.3 High severity

    ArkSigner Desktop Client: Uncontrolled Search Path Element

    Uncontrolled Search Path Element vulnerability in ArkSigner Software and Hardware Industry and Trade Inc. ArkSigner Desktop Client allows Search Order Hijacking. This issue affects ArkSigner Desktop Client: from v2.2.16.10 through 17062026.

  • 7.3 High severity

    GV-IP Device Utility: Uncontrolled Search Path Element

    CVE-2026-16519GeoVision

    A DLL hijacking vulnerability exists in the GeoVision GV-IP Device Utility desktop application. The application loads one or more dynamic-link libraries (DLLs) from an unsafe search path, allowing a local attacker to place a malicious DLL in a location searche

  • 8.8 High severity

    Red Hat Enterprise Linux 10: Uncontrolled Search Path Element

    CVE-2026-5674Red Hat

    A flaw was found in PipeWire, a multimedia server. This vulnerability allows an attacker to escape sandboxed applications, such as Flatpak, by exploiting PipeWire's PulseAudio compatibility layer. An attacker with minimal permissions within a sandboxed environ

  • 8.4 High severity

    HYPER SBI 2: Uncontrolled Search Path Element

    CVE-2026-42936SBI SECURITIES

    The installer of HYPER SBI 2 insecurely loads Dynamic Link Libraries. If there is a crafted DLL at the same directory when invoking the affected installer, arbitrary code may be executed with the privilege of the user invoking the installer.

  • 7.8 High severity

    Creative Cloud Desktop: Uncontrolled Search Path Element

    CVE-2026-48272Adobe

    Creative Cloud Desktop is affected by an Uncontrolled Search Path Element vulnerability that could result in arbitrary code execution in the context of the current user. Exploit depends on conditions beyond the attacker's control. Exploitation of this issue do

  • 8.4 High severity

    SAProuter on Microsoft Windows: Uncontrolled Search Path Element

    CVE-2026-0487SAP

    SAProuter on Microsoft Windows allows an unauthenticated attacker to load library (DLL) files from an untrusted location, allowing them to execute malicious code on the system. This could enable the attacker to hijack the DLL loading process and achieve arbitr

  • 8.2 High severity

    ColdFusion 2025: Uncontrolled Search Path Element

    CVE-2026-48364Adobe

    ColdFusion versions 2025.9, 2023.20 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. Exploitation of this issue requires user interaction in that a v

  • 8.2 High severity

    ColdFusion 2025: Uncontrolled Search Path Element

    CVE-2026-48363Adobe

    ColdFusion versions 2025.9, 2023.20 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. Exploitation of this issue requires user interaction in that a v

  • 7.0 High severity

    PC Manager: Untrusted Search Path

    CVE-2026-15515Tencent

    A security vulnerability has been detected in Tencent PC Manager 18.1.30242.301. This issue affects some unknown processing in the library qmudisk64.sys of the component QMUDisk Driver. The manipulation leads to uncontrolled search path. The attack must be car

  • 7.8 High severity

    Foxit PDF Editor: Uncontrolled Search Path Element

    CVE-2026-57239Foxit

    The user-controllable executable files will be directly executed by high-privilege processes, allowing low-privilege users to have the opportunity to elevate their privileges to NT AUTHORITY\SYSTEM.

  • 8.4 High severity

    Pupsman: Uncontrolled Search Path Element

    CVE-2026-56437Fuji Electric

    Uncontrolled search path element issue exists in Pupsman versions prior to 3.9.0. If a crafted DLL file is placed in the same folder as the affected installer and the installer is executed, arbitrary code may be executed with SYSTEM privilege.

  • 7.8 High severity

    Notepad3: Uncontrolled Search Path Element

    CVE-2026-38972Rizonesoft

    Notepad3 through 6.25.822.1 contains a DLL search-order hijacking vulnerability in the About-dialog code path in src/Notepad3.c. The application calls LoadLibrary(L"MSFTEDIT.DLL") with a bare DLL name, which allows a local attacker to place a malicious MSFTEDI

  • 7.8 High severity

    electron-builder: Uncontrolled Search Path Element

    CVE-2026-54672Electron-userland

    electron-updater allows for automatic updates for Electron apps. Prior to 26.15.0, AppImage targets built by app-builder-lib could use an empty path component when setting the LD_LIBRARY_PATH environment variable at runtime. This causes the current working dir

  • 8.8 High severity

    vllm: Uncontrolled Search Path Element

    CVE-2026-54232Vllm-project

    vLLM is an inference and serving engine for large language models (LLMs). Prior to 0.22.1, the vLLM Dockerfile is vulnerable to a dependency confusion attack through the flashinfer-jit-cache package. The package is installed from a custom index (flashinfer.ai/

  • 8.8 High severity

    angular: Improper Neutralization of Input During Web Page Generation

    CVE-2026-49241Angular

    The Angular Language Service VS Code Extension provides a rich editing experience for Angular templates. Prior to 21.2.4, the client-side Angular Language Service VS Code extension reads the custom TypeScript SDK paths typescript.tsdk and js/ts.tsdk.path direc

  • 7.3 High severity

    Print Deploy: Uncontrolled Search Path Element

    CVE-2026-6645PaperCut

    An insecure process execution vulnerability exists in the pc-printer-updater.exe component of the PaperCut Print Deploy Client for Windows. The application, which typically operates with high-level system privileges, attempts to perform an internal validation

  • 7.3 High severity

    DFIR-ORC: Uncontrolled Search Path Element

    CVE-2026-11958ANSSI

    Local privilege escalation by loading DLLs from a shared temporary directory in ANSSI’s DFIR-ORC, versions 10.2.7 and prior. An attacker with prior access to the system, can place a malicious DLL in C:\Windows\Temp and wait for the application to be executed.

  • 7.8 High severity

    Peripheral Manager: Uncontrolled Search Path Element

    CVE-2024-22447Dell

    Dell Peripheral Manager, versions prior to 1.7.3, contain an uncontrolled search path element vulnerability. An attacker could potentially exploit this vulnerability through preloading malicious dll., leading to arbitrary code execution.

  • 8.5 High severity

    HP One Agent Software: Uncontrolled Search Path Element

    CVE-2026-5064HP

    Potential security vulnerabilities have been identified in the HP One Agent for certain HP PC products, which might allow for escalation of privilege and/or denial of service. HP is releasing software updates to mitigate these potential vulnerabilities.

  • 8.5 High severity

    Multiple printer drivers: Uncontrolled Search Path Element

    CVE-2026-50100Ricoh Company

    Multiple printer drivers provided by Ricoh Company, Ltd. and KONICA MINOLTA JAPAN, INC. contain a privilege escalation vulnerability. If this vulnerability is exploited, an attacker who can log in to a computer running an affected printer driver could elevate

  • 8.5 High severity

    MobaXterm Personal Edition (Portable): Uncontrolled Search Path Element

    CVE-2026-11967Mobatek

    MobaXterm Personal Edition (Portable), in its 26.3 version (Build 5154), allows arbitrary code execution by loading a malicious DLL located in the same directory as the portable executable. Because the application automatically loads the winspool.drv library f

  • 8.5 High severity

    MobaXterm Personal Edition (Portable): Uncontrolled Search Path Element

    CVE-2026-11879Mobatek

    MobaXterm Personal Edition (Portable), in its 26.3 version (Build 5154), allows arbitrary code execution by loading malicious DLLs from a temporary directory that is predictable and can be modified by the user. During startup, the application searches for spec

  • 7.8 High severity

    OpenClaw: Uncontrolled Search Path Element

    CVE-2026-53813OpenClaw

    OpenClaw before 2026.4.25 contains a path traversal vulnerability in memory-core artifact loading where workspace state influences local package root resolution. Attackers with access to affected workspaces can load memory-core artifacts from unintended local