Gold Open Source
ExplorePackagesVulnerabilitiesMCP Servers
Login
Gold Open Source

The authoritative source for production-ready open-source components. Every package, container image, AI model, and MCP server undergoes rigorous verification for security, malware, 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
Home/CWEs/CWE-73
Common Weakness Enumeration

CWE-73: External Control of File Name or Path

ShareXLinkedInRedditHN

The product allows user input to control or influence paths or file names that are used in filesystem operations.

Abstraction
Base
Related CVEs
13

▪ References & documentation

MITRE CWE definitionNVD CWE listing

▪ How attackers exploit CWE-73

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

T1027Obfuscated Files or InformationstealthT1562Impair DefensesstealthT1574Hijack Execution Flowstealth · execution

Step-by-step: how CWE-73 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

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

    How you defend

▪ Related CVEs

CVE-2026-76217Medium

Security vulnerability in gitpython

CVE-2026-78675High

Security vulnerability in gitpython

CVE-2026-73619High

Security vulnerability in gitpython

CVE-2026-76217Medium

Security vulnerability in gitpython

CVE-2026-78675Medium

Security vulnerability in gitpython

CVE-2026-73619High

Security vulnerability in gitpython

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.

GHSA-7833-fr7j-v32qHigh

Security vulnerability in gitpython

GHSA-hh9p-6wh2-4mfcMedium

Security vulnerability in gitpython

CVE-2026-15307High

Security vulnerability in django

CVE-2026-73619Medium

Security vulnerability in gitpython

GHSA-hh9p-6wh2-4mfcMedium

Security vulnerability in gitpython

GHSA-7833-fr7j-v32qHigh

Security vulnerability in gitpython

CVE-2026-73619Medium

Security vulnerability in gitpython