GoldOpen Source
ExplorePackagesVulnerabilitiesMCP Servers
Search Gold…⌘KLogin
GoldOpen Source

The authoritative source for production-ready open-source components. Every package, container image, AI model, and MCP server undergoes rigorous verification for security and license compliance.

Explore Gold

  • Explore Everything
  • Packages
  • Gold Packages
  • Container Images
  • AI Models
  • MCP Servers
  • Agent Skills
  • Chip Manufacturers

Security Data & Tools

  • Scan Your Dependencies
  • Trending Threats
  • Threat RSS Feeds
  • CVE Database
  • Actively Exploited (KEV)
  • SGZ Zero-Days
  • CWE Index
  • MITRE ATT&CK
  • Malicious Packages
  • Security Glossary
  • Supply-Chain Report
  • Developers (API & Badge)
  • Chrome Extension
  • Credits & Data Sources

Products

  • The Platform
  • ESSCM
  • Portal
  • TPRM
  • OSM
  • Cowork
  • Code / Runner
  • Guard

Use Cases

  • Know Your Software
  • Auto-Fix Vulnerabilities
  • Asset Discovery
  • AI Governance
  • MCP Server Security
  • Supply Chain Compliance
  • Zero-Day Discovery
  • All Use Cases

Company

  • About
  • Pricing
  • Blog
  • Documentation
  • Safeguard Academy
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 Gold Open Source. All rights reserved.

Built with care bySafeguard
GoldOpen Source
ExplorePackagesVulnerabilitiesMCP Servers
Search Gold…⌘KLogin
Home/CWEs/CWE-426
ShareXLinkedInRedditHN
Common Weakness Enumeration

CWE-426: Untrusted Search Path

Abstraction
Base
OWASP Top 10
A08:2021 (#8)
Exploit Likelihood
Medium
Related CVEs
13

Description

The product searches for resources in directories an attacker can control.

How to mitigate

  • Use absolute paths for executables and libraries; sanitize PATH-like environment variables.

How attackers exploit CWE-426

MITRE ATT&CK techniques associated with this weakness class (mapped via MITRE CAPEC). A vulnerability of this type could let an adversary carry out:

T1574Hijack Execution Flowstealth · execution

Step-by-step: how CWE-426 gets exploited

A stage-by-stage walkthrough of the attack, mapped to the real MITRE ATT&CK tactics for this weakness — what the attacker is trying to do, what's at risk (what can be stolen or damaged), and how you defend. Understanding the playbook is how you shut it down.

  1. 1
    Executionexecution

    Run attacker-chosen code or commands on the system.

    At risk / what's stolen

Related CVEs

HighCVE-2024-22190Security vulnerability in gitpython
HighCVE-2024-22190Security vulnerability in gitpython
HighCVE-2023-40590Security vulnerability in gitpython

References & documentation

  • https://cwe.mitre.org/data/definitions/426.html
  • NVD CWE listing

Weakness facts

IDCWE-426
AbstractionBase
OWASP Top 10A08:2021 (#8)
Exploit LikelihoodMedium
Related CVEs13

Turn Gold’s intelligence into continuous protection

Safeguard scans your code, containers, and dependencies, tells you what’s exposed, and automates the fixes.

Start free See pricing
GoldOpen Source

The authoritative source for production-ready open-source components. Every package, container image, AI model, and MCP server undergoes rigorous verification for security and license compliance.

Explore Gold

  • Explore Everything
  • Packages
  • Gold Packages
  • Container Images
  • AI Models
  • MCP Servers
  • Agent Skills
  • Chip Manufacturers

Security Data & Tools

  • Scan Your Dependencies
  • Trending Threats
  • Threat RSS Feeds
  • CVE Database
  • Actively Exploited (KEV)
  • SGZ Zero-Days
  • CWE Index
  • MITRE ATT&CK
  • Malicious Packages
  • Security Glossary
  • Supply-Chain Report
  • Developers (API & Badge)
  • Chrome Extension
  • Credits & Data Sources

Products

  • The Platform
  • ESSCM
  • Portal
  • TPRM
  • OSM
  • Cowork
  • Code / Runner
  • Guard

Use Cases

  • Know Your Software
  • Auto-Fix Vulnerabilities
  • Asset Discovery
  • AI Governance
  • MCP Server Security
  • Supply Chain Compliance
  • Zero-Day Discovery
  • All Use Cases

Company

  • About
  • Pricing
  • Blog
  • Documentation
  • Safeguard Academy
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 Gold Open Source. All rights reserved.

Built with care bySafeguard

Application logic and the host runtime — an attacker can execute arbitrary code or commands.

How you defend

Least-privilege runtime, sandboxing, and safe deserialization/parsing.

This is a defensive, conceptual walkthrough for education — stages reflect MITRE ATT&CK tactics associated with this weakness class, not a working exploit. Not every attack uses every stage.

CriticalCVE-2012-2040Security vulnerability in air
HighCVE-2020-4019Security vulnerability in companion
CriticalCVE-2024-53866Security vulnerability in pnpm
HighCVE-2023-36540Security vulnerability in zoom
HighCVE-2024-24697Security vulnerability in zoom
HighCVE-2023-43586Security vulnerability in zoom
MediumCVE-2016-8746Security vulnerability in ranger
HighCVE-2026-48395Security vulnerability in bridge
HighCVE-2026-48391Security vulnerability in bridge
CriticalCVE-2012-2040Security vulnerability in air