Skip to main content

About CWE-73

The application may read, overwrite or execute unexpected files. Availability can suffer if the path points to a large file, a special device or a file with an unexpected format.

MITRE name
External Control of File Name or Path
Abstraction
Base: abstract, but detailed enough to infer detection and prevention methods
Status
Draft

Mitigations

  • Map a fixed set of input values, such as numeric IDs, to actual filenames and reject all other input.
  • Run the code in a sandbox or jail that restricts file access to one directory.
  • Validate filenames with a strict character allowlist and a list of permitted extensions.
  • Repeat client-side checks on the server.

Detection
Automated static analysis that models data flow can often detect external control of filenames, though it may report false positives where validation exists.

CWE-73 in the KEV Catalog

as of 2026-11-14
All KEV statistics→
  • 6 CISA KEV entries name External Control of File Name or Path (CWE-73) in their CVE record, tied for 41st among the 195 weaknesses named in the catalog.
  • CISA added 1 CWE-73 entry to the KEV catalog in 2024, 3 in 2025, and 1 so far in 2026.
  • Microsoft has the most CWE-73 entries in the CISA KEV catalog (3), followed by Juniper (1), Palo Alto Networks (1), and Plex (1).

Related Attack Patterns

8 CAPEC patterns
CAPEC-267Leverage Alternate EncodingStandard · Severity High · Likelihood High
CAPEC-13Subverting Environment Variable ValuesDetailed · Severity Very High · Likelihood High
CAPEC-76Manipulating Web Input to File System CallsDetailed · Severity Very High · Likelihood High
CAPEC-64Using Slashes and URL Encoding Combined to Bypass Validation LogicDetailed · Severity High · Likelihood High
CAPEC-72URL EncodingDetailed · Severity High · Likelihood High
CAPEC-78Using Escaped Slashes in Alternate EncodingDetailed · Severity High · Likelihood High
CAPEC-79Using Slashes in Alternate EncodingDetailed · Severity High · Likelihood High
CAPEC-80Using UTF-8 Encoding to Bypass Validation LogicDetailed · Severity High · Likelihood High

CWE-73 Vulnerabilities

12 CVEs
CVECVSS
CVE-2026-96656KEV
Plex Media Server arbitrary file write
8.6
CVE-2025-33053KEV
Internet Shortcut Files Remote Code Execution Vulnerability
8.8
CVE-2025-24054KEV
NTLM Hash Disclosure Spoofing Vulnerability
6.5
CVE-2025-0111KEV
PAN-OS: Authenticated File Read Vulnerability in the Management Web Interface
7.1
CVE-2024-43451KEV
NTLM Hash Disclosure Spoofing Vulnerability
6.5
CVE-2020-1631KEV
Out of Cycle Security Advisory: Junos OS: Security vulnerability in J-Web and web based (HTTP/HTTPS) services
8.8
CVE-2026-20872
NTLM Hash Disclosure Spoofing Vulnerability
6.5
CVE-2026-20925
NTLM Hash Disclosure Spoofing Vulnerability
6.5
CVE-2026-44127
Local File Inclusion (LFI) and Arbitrary File Deletion
8.8
CVE-2026-33309
Langflow has an Arbitrary File Write (RCE) via v2 API
10.0
CVE-2026-27825
MCP Atlassian has an arbitrary file write leading to arbitrary code execution via unconstrained download_path in confluence_download_attachment
9.1
CVE-2026-21249
Windows NTLM Spoofing Vulnerability
3.3

Frequently Asked Questions

What is CWE-73?→

CWE-73 is external control of a file name or path. Outside input decides which file the product reads, writes or runs.

How is CWE-73 different from path traversal?→

CWE-73 covers any outside influence over filenames or paths. Path traversal (CWE-22) is the specific case of escaping a restricted directory.

How many exploited vulnerabilities are classified as CWE-73?→

This database lists 12 CVE records mapped to CWE-73 by their CVE Numbering Authority. 6 of them are in the CISA Known Exploited Vulnerabilities catalog. Examples include CVE-2026-96656, CVE-2025-33053, CVE-2025-24054.

Weakness definitions summarized from the CWE List, © The MITRE Corporation, used under the CWE Terms of Use. CWE mappings come from each CVE record's CNA. Exploited-in-the-wild data from the CISA KEV catalog (CC0). This site is not affiliated with or endorsed by MITRE or CISA. Attack patterns from CAPEC 3.9, © The MITRE Corporation, used under the CAPEC Terms of Use.