Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CWE-427 (对搜索路径元素未加控制) — Vulnerability Class 621

621 vulnerabilities classified as CWE-427 (对搜索路径元素未加控制). AI Chinese analysis included.

CWE-427 represents a critical input validation weakness where software relies on an uncontrolled search path to locate resources, allowing unintended actors to manipulate the lookup process. This vulnerability is typically exploited by attackers who place malicious executables or libraries in a directory that precedes legitimate system paths in the search order. When the application executes, it inadvertently loads the attacker-controlled code instead of the intended resource, leading to arbitrary code execution or privilege escalation. Developers mitigate this risk by strictly defining absolute paths for all resource lookups, ensuring that the search order is deterministic and immune to directory manipulation. Additionally, implementing secure environment variable handling and validating the integrity of loaded libraries further prevents attackers from hijacking the execution flow through path traversal techniques.

MITRE CWE Description
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 directo…
Common Consequences (1)
Confidentiality, Integrity, Availability Execute Unauthorized Code or Commands
Mitigations (5)
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 ref…
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.
Examples (2)
The following code is from a web application that allows users access to an interface through which they can update their password on the system. In this environment, user passwords can be managed using the Network Information System (NIS), which is commonly used on UNIX systems. When performing NIS updates, part of the process for updating passwords is to run a make command in the /var/yp directo…
... System.Runtime.getRuntime().exec("make"); ...
Bad · Java
In versions of Go prior to v1.19, the LookPath function would follow the conventions of the runtime OS and look for a program in the directiories listed in the current path [REF-1325].
func ExecuteGitCommand(name string, arg []string) error { c := exec.Command(name, arg...) var err error c.Path, err = exec.LookPath(name) if err != nil { return err } }
Bad · Go
CVE ID Title CVSS Severity Published
CVE-2026-47570 NVIDIA Windows驱动CUDA库加载路径漏洞 — GeForce 7.8 High 2026-09-30
CVE-2026-89325 Rapid7 Insight Agent: Uncontrolled search path element in InsightVM assessment content leads to local privilege escalation — Insight Agent 7.8 High 2026-09-24
CVE-2026-6935 Multiple Vulnerabilities in IBM Concert Software — Concert 7.8 High 2026-09-23
CVE-2026-91803 Security Vulnerability Report – Foxit PDF Editor/Reader Updater DLL Search Path Hijacking — Foxit PDF Editor 8.8 High 2026-09-23
CVE-2026-25264 Uncontrolled Search Path Element in Qualcomm Software Center — Snapdragon 8.8 High 2026-09-22
CVE-2026-54916 NetBox Device Type Library: Module Shadowing Bypass of prior pickle fix - RCE via missing `tests/__init__.py` + SSRF via unfixed `NETBOX_DT_LIBRARY_URL` → Cloud Metadata credential theft — devicetype-library 8.8 High 2026-09-17
CVE-2026-56795 Dell Server Update Utility 26.07.01前路径漏洞 — Driver Pack For Windows OS 8.2 High 2026-09-17
CVE-2026-92838 GeoVision GV-Remote E-Map dll hijacking vulnerability — GV-Remote E-map 7.8 High 2026-09-17
CVE-2026-92180 pdfforge PDF Architect activation-service Update Service Uncontrolled Search Path Element Local Privilege Escalation Vulnerability — PDF Architect - - 2026-09-15
CVE-2026-68955 Rakuten Kobo Kobo Desktop App 权限许可和访问控制问题漏洞 — The installer for Rakuten Kobo Desktop Application (Windows version) 8.4 High 2026-09-14
CVE-2026-87530 Google Chrome 权限许可和访问控制问题漏洞 — Chrome - - 2026-09-09
CVE-2026-76199 Photoshop Desktop | Uncontrolled Search Path Element (CWE-427) — Photoshop 2026 8.6 High 2026-09-08
CVE-2026-72980 Windows Hello Security Feature Bypass Vulnerability — Windows 10 Version 1607 4.4 Medium 2026-09-08
CVE-2026-6958 Acunetix 25.11.251107123 Local Privilege Escalation via wvsc.exe — Acunetix 7.8 High 2026-09-04
CVE-2026-45221 Konga < 2.1.0 Privilege Escalation via Hardcoded OpenSSL Path — Konga 7.8 High 2026-09-01
CVE-2026-19590 OpenAI Codex Desktop 权限许可和访问控制问题漏洞 — Codex Desktop - - 2026-09-01
CVE-2026-82649 SiYuan before 3.8.1 Local Privilege Escalation via Uncontrolled Search Path — siyuan 7.0 High 2026-08-30
CVE-2026-65093 NVIDIA OpenShell 权限许可和访问控制问题漏洞 — OpenShell 9.9 Critical 2026-08-25
CVE-2026-55013 Windows Remote Help Defense Spoofing Vulnerability — Windows Remote Help 7.1 High 2026-08-20
CVE-2026-55015 Microsoft Remote Help Denial of Service Vulnerability — Windows Remote Help 5.5 Medium 2026-08-20
CVE-2026-59781 Improper validation of custom installation directories on Windows could allow installation into locations with unsafe permissions, increasing the risk of DLL sideloading. — Zabbix 5.4 Medium 2026-08-18
CVE-2026-56090 Dell ObjectScale 权限许可和访问控制问题漏洞 — ObjectScale 7.3 High 2026-08-17
CVE-2026-0294 Prisma Access Agent: Local Privilege Escalation — Prisma Access Agent 6.0 Medium 2026-08-13
CVE-2026-16860 IBM i is Affected By Remote Code Execution Vulnerability [] — i 9.9 Critical 2026-08-12
CVE-2025-54512 AMD Ryzen Master 权限许可和访问控制问题漏洞 — AMD Ryzen™ Master 7.0 High 2026-08-11
CVE-2025-8087 AMD Power Design Manager 权限许可和访问控制问题漏洞 — AMD Power Design Manager (PDM) Software Un-Installer 7.0 High 2026-08-11
CVE-2026-9169 LUCID Vision Labs: DLL Search Order Hijacking in Arena SDK 1.0.80.49 on Windows — Arena SDK 8.8 High 2026-08-07
CVE-2026-66344 Integrated NetKids iMark 权限许可和访问控制问题漏洞 — NetKids iMark 5.4 Medium 2026-08-05
CVE-2026-18657 Executable Resolution from Untrusted Project Directory in Kiro CLI on Windows — Kiro CLI 7.8 High 2026-08-04
CVE-2026-18656 Executable Resolution from Untrusted Project Directory in Kiro IDE on Windows — Kiro IDE 7.8 High 2026-08-04

Vulnerabilities classified as CWE-427 (对搜索路径元素未加控制) represent 621 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.