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.8 High severity

    nltk: Untrusted Search Path

    CVE-2026-128134Nltk

    NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. Prior to 3.10.4, nltk.parse.dependencygraph.dot2img resolves the Graphviz dot executable thro

  • 8.0 High severity

    aws-advanced-go-wrapper: Untrusted Search Path

    CVE-2026-126793AWS

    An untrusted search path issue in Aurora PostgreSQL dialect detection in the AWS Advanced Go Wrapper from release 2026-04-06 (awssql/v2.0.0) and before release 2026-07-29 (awssql/v2.0.3) could allow a remote authenticated user to escalate privileges to those o

  • 7.2 High severity

    PostgreSQL: Untrusted Search Path

    CVE-2026-116313PostgreSQL

    Untrusted search path in PostgreSQL vacuumdb allows a database owner to execute arbitrary SQL as the database user running vacuumdb, via shadowing operators used in the --missing-stats-only catalog query. The pg_upgrade documentation recommends an affected vac

  • 7.8 High severity

    Premiere: Untrusted Search Path

    CVE-2026-48402Adobe

    Premiere Pro is affected by an Untrusted Search Path vulnerability that could result in arbitrary code execution in the context of the current user. An attacker could exploit this vulnerability to execute arbitrary code. Exploitation of this issue requires use

  • 8.8 High severity

    openjd-sessions: Untrusted Search Path

    CVE-2026-126087AWS

    Untrusted search path in the cross-user process launcher in Open Job Description (OpenJD) Sessions for Python before 0.11.0, as used in the AWS Deadline Cloud worker agent before 0.33.0, on Linux might allow an authenticated remote user with permission to subm

  • 7.8 High severity

    drawio-desktop: Untrusted Search Path

    CVE-2026-119333Jgraph

    draw.io Desktop is the official Electron build of draw.io. Prior to 31.5.2, the Windows application launched powershell and attrib by bare executable name from src/main/electron.js. When draw.io Desktop was not already running, opening a diagram from File Expl

  • 8.8 High severity

    pgAdmin 4: Untrusted Search Path

    CVE-2026-116243Pgadmin.org

    pgAdmin 4 runs pg_dump, pg_restore, pg_dumpall and psql from the binary path a user sets in their preferences. In server mode the binary path was refused only when it lay under the per-user storage directory (STORAGE_DIR), not under a SHARED_STORAGE directory,

  • 7.3 High severity

    Agent for Linux: Untrusted Search Path

    CVE-2026-105477Veeam

    A vulnerability in Veeam Agent for Linux allows for local privilege escalation. Only installations that are managed by a Veeam Backup & Replication instance are affected.

  • 8.6 High severity

    Adobe Dimension: Untrusted Search Path

    CVE-2026-103847Adobe

    Dimension is affected by an Untrusted Search Path vulnerability that could result in arbitrary code execution in the context of the current user. An attacker could exploit this vulnerability to execute arbitrary code. A local attacker with user permissions cou

  • 7.8 High severity

    Aspera Enterprise WebApps: Untrusted Search Path

    CVE-2026-75782IBM

    IBM Aspera Enterprise WebApps 1.0.0 through 1.0.6 could allow a local attacker to gain elevated privileges due to a misconfigured PATH environment variable.

  • 8.5 High severity

    backstage: Untrusted Search Path

    CVE-2026-106505Backstage

    Backstage is an open framework for building developer portals. Prior to 1.14.6 and 1.15.4, the @backstage/plugin-techdocs-node package is affected by bypass of mkdocs configuration sanitizer in techdocs backend. Users with the ability to commit changes to a re

  • 8.4 High severity

    Mitel MiVoice Office 400: External Control of File Name or Path

    CVE-2026-104809Mitel

    DigitalCanion has discovered a vulnerability that allows an attacker to cause the system to load an attacker-controlled .so file instead of the expected legitimate module. The loading mechanism relies on a predictable module name without adequately verifying t

  • 8.8 High severity

    Apache OpenOffice: Untrusted Search Path

    CVE-2026-59265Apache

    A code execution issue in the Java integration in Apache OpenOffice v4.1.16 and earlier allows a crafted untrusted document to trigger executing arbitrary (even remote) code when opened by the user. This issue is expected to be fixed in version 4.1.17, which i

  • 7.0 High severity

    Ghostscript: Untrusted Search Path

    CVE-2026-19547Artifex Software

    Ghostscript for Windows is vulnerable to local privilege escalation through PostScript resource file hijacking. Due to the application searching for PostScript resource files in predictable paths under C:\\gs\\ that do not exist by default on Windows installat

  • 7.0 High severity

    libextractor: Untrusted Search Path

    CVE-2026-100310GNU

    GNU libextractor before 1.16 loads plugins from an untrusted search path specified by the LIBEXTRACTOR_PREFIX environment variable without proper privilege checks. A local attacker can exploit this by setting LIBEXTRACTOR_PREFIX to a directory containing a mal

  • 8.7 High severity

    Plesk: Untrusted Search Path

    CVE-2026-68492WebPros

    An untrusted search path vulnerability in Plesk from 18.0.34 before 18.0.80.8 and 18.0.81 before 18.0.81.1 allows remote authenticated users to execute arbitrary code as root via the "Plesk RESTful API" extension from 2.4.2 before 2.4.7.

  • 7.0 High severity

    opentelemetry-dotnet-contrib: Untrusted Search Path

    CVE-2026-81192Open-telemetry

    `OpenTelemetry.Resources.Host` NuGet package, which provides OpenTelemetry resource detectors for host, is affected by an untrusted search path vulnerability on macOS. Prior to version 1.16.0-beta.2, the `host.id` resource attribute detector launches the `sh`

  • 8.5 High severity

    OpenVPN: Untrusted Search Path

    CVE-2026-84226OpenVPN

    OpenVPN version 2.5.0 through 2.6.22 and 2.7_alpha1 through 2.7.6 on Windows allows local authenticated users to perform a binary planting attack during network configuration steps

  • 8.4 High severity

    hulumi: Untrusted Search Path

    CVE-2026-82862Kerberosmansour

    Hulumi versions before v1.3.2 resolve the threat-model helper script from an unsafe root, allowing workspace files to shadow the intended helper script. Attackers can place malicious files in the workspace to execute arbitrary code during local skill execution

  • 7.8 High severity

    Substance3D - Painter: Untrusted Search Path

    CVE-2026-75768Adobe

    Substance3D - Painter is affected by an Untrusted Search Path vulnerability that could result in arbitrary code execution in the context of the current user. An attacker could exploit this vulnerability to execute arbitrary code. Exploitation of this issue req

  • 7.8 High severity

    nltk: Untrusted Search Path

    CVE-2026-78680Nltk

    NLTK versions before 3.10.3 fail to use validated absolute paths when invoking the Graphviz dot binary in dependencygraph.dot2img and AlignedSent._repr_svg_, allowing attackers to execute arbitrary code by placing a malicious dot binary in the search path or c

  • 9.4 Critical severity

    cloudnative-pg: Untrusted Search Path

    CVE-2026-55769Cloudnative-pg

    CloudNativePG is a platform designed to manage PostgreSQL databases within Kubernetes environments. Prior to 1.28.4 and 1.29.2, CloudNativePG opened superuser connections without pinning search_path in fillDefaultParameters in pkg/management/postgres/pool/prof

  • 7.8 High severity

    AIX: Untrusted Search Path

    CVE-2026-16869IBM

    IBM AIX 7.2, and 7.3 and IBM PowerVM VIOS 4.1 could allow a local attacker to execute arbitrary code due to improperly scrubbed environment variables.

  • 9.8 Critical severity

    openssl_encrypt: Untrusted Search Path

    CVE-2026-74872Jahlives

    openssl_encrypt versions before 1.4.0 contain an arbitrary code execution vulnerability in the Whirlpool hash implementation that uses broad glob patterns to load .so modules without integrity verification. Attackers can place malicious .so files matching the

  • 7.8 High severity

    i Access Client Solutions: Untrusted Search Path

    CVE-2026-14875IBM

    IBM i Access Client Solutions 1.1.2.0 through 1.1.9.13 is vulnerable to arbitrary code execution on Windows when installed for all users due to publicly writeable directory.

  • 7.8 High severity

    GlobalProtect App: Untrusted Search Path

    CVE-2026-0299Palo Alto Networks

    Local privilege escalation vulnerabilities in the Palo Alto Networks GlobalProtect™ app enable a local user to escalate their privileges to NT AUTHORITY\SYSTEM on Windows, and root on macOS and Linux. This enables a non-administrative user to execute arbitrary

  • 7.0 High severity

    Intel(R) Performance Counter Monitor (Intel(R)…: Untrusted Search Path

    Untrusted search path for some Intel(R) Performance Counter Monitor (Intel(R) PCM) before version tag 202604 within Ring 3: User Applications may allow an escalation of privilege. Unprivileged software adversary with an authenticated user combined with a high

  • 7.0 High severity

    Battery Life Diagnostic Tool software: Untrusted Search Path

    CVE-2026-20799Battery Life Diagnostic Tool software

    Untrusted search path for some Battery Life Diagnostic Tool software before version 2.9.0 within Ring 3: User Applications may allow an escalation of privilege. Unprivileged software adversary with an authenticated user combined with a high complexity attack m

  • 7.8 High severity

    PraisonAI: Improper Control of Generation of Code

    CVE-2026-55522MervinPraison

    PraisonAI is a multi-agent teams system. In versions 3.9.26 through 4.6.57 of praiseonai and 0.12.12 through 1.6.57 of praiseonaiagents, the workflow "include" feature is vulnerable to code execution. Workflow._execute_include() implicitly imports and runs an

  • 7.8 High severity

    FirmaCheck: Untrusted Search Path

    CVE-2026-41447Zucchetti S.p.a.

    FirmaCheck for Windows before 1.3.16 contains a DLL hijacking vulnerability that allows local attackers to execute arbitrary code by placing a crafted openssl.cnf file in the unvalidated C:\Program Files (x86)\Common Files\SSL\ directory path. Attackers can wr

  • 8.4 High severity

    ouroboros: Untrusted Search Path

    CVE-2026-47211Q00

    Ouroboros is a local-first runtime for AI coding agents that records their actions and applies user-defined policies to constrain behavior. In versions prior to 0.39.0, if a user clones a malicious repository and runs Ouroboros commands within that directory,

  • 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 Bridge: Untrusted Search Path

    CVE-2026-48395Adobe

    Bridge is affected by an Untrusted Search Path vulnerability that could result in arbitrary code execution in the context of the current user. An attacker could exploit this vulnerability to execute arbitrary code. Exploitation of this issue requires user inte

  • 8.2 High severity

    Adobe Bridge: Untrusted Search Path

    CVE-2026-48391Adobe

    Bridge is affected by an Untrusted Search Path vulnerability that could result in arbitrary code execution in the context of the current user. A low-privileged attacker could exploit this vulnerability to execute arbitrary code. Exploitation of this issue requ

  • 8.8 High severity

    Cursor: Untrusted Search Path

    CVE-2026-63093Anysphere

    Cursor for Windows version 3.2.16 contains a binary planting vulnerability that allows remote attackers to achieve arbitrary code execution by placing a malicious git.exe file in the repository root directory. When a developer clones and opens a crafted reposi

  • 7.4 High severity

    Content Credentials Rust SDK: Untrusted Search Path

    CVE-2026-48287Adobe

    CAI Content Credentials is affected by an Untrusted Search Path 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 requires use

  • 8.6 High severity

    Illustrator Desktop 2026: Untrusted Search Path

    CVE-2026-48275Adobe

    Illustrator is affected by an Untrusted Search Path 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 victim must open a malicious file. Scope is chang

  • 7.9 High severity

    Adobe Animate 2023: Untrusted Search Path

    CVE-2026-48346Adobe

    Animate is affected by an Untrusted Search Path 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 victim must open a malicious file. Scope is changed.

  • 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.5 High severity

    App::Ack: External Control of File Name or Path

    CVE-2026-49145PETDANCE

    App::Ack versions through 3.10.0 for Perl read arbitrary files via --files-from in a project .ackrc. ack searches up the directory hierarchy from the current directory for a project .ackrc and loads its options. The project-source option blocklist in App::Ack: