CWE · MITRE source
CWE-646Reliance on File Name or Extension of Externally-Supplied File
The product allows a file to be uploaded, but it relies on the file name or extension of the file to determine the appropriate behaviors.
This could be used by attackers to cause the file to be misclassified and processed in a dangerous fashion, causing the wrong action to occur.
Last updated: 28 November 2026 01:40 UTC
Cumulative inbound coverage
How completely the frameworks we cross-walk collectively cover this — the verdict is the strongest single mapping (overlapping partials are not summed); breadth shows the corroboration behind it.
Collective: full · 24 mapping(s) from 4 framework(s): ATT&CK 18 (full) · ISO_IEC_27002_2022 4 (mostly) · 1 (mostly) · 800-53 1 (mostly)
OWASP Top 10 for Web (2025)
This weakness contributes to A06:2025 Insecure Design.
Control responseHuman-reviewed
Answering this weakness across the control lifecycle, from our framework cross-walks.
—
—
—
NIST 800-53 r5 controls PROPOSED for this weakness (0)
These are model PROPOSALS, not graded mappings. They come
from controls_to_cwe_proposals, which carries no grade field at
all; across the CWE pages 1,540 of 1,722 such associations (89%) have never
been graded by anything. The heading said “address” until
2026-09-29, which asserted a relationship the data does not carry.
Graded cross-walks are on the framework map, not here.
| Control | Title | Family | Why it addresses this CWE |
|---|---|---|---|
| No NIST controls proposed yet. | |||
MITRE ATT&CK techniques this weakness enables
Our own two-way CWE↔ATT&CK cross-walk — a direct mapping with no public source (the CWE→CAPEC→ATT&CK chain leaves most top weaknesses, incl. XSS and SQLi, mapped to nothing).
Direction: ← other covers this;
→ this covers other (F/M/P = full / mostly /
partial). gov = governs / implements (a mandate, not coverage).
Top CVEs of this weakness type, ranked by Risk Priority
| CVE | Risk | CVSS | EPSS | Published |
|---|---|---|---|---|
CVE-2025-1889 UPD | 7.3 | 9.8 | 0.0044 | 2025-03-03 |
CVE-2026-126186 | 6.6 | 8.8 | 0.0048 | 2026-11-10 |
CVE-2026-45315 UPD | 6.0 | 8.7 | 0.0019 | 2026-05-15 |
CVE-2021-34639 UPD | 5.8 | 7.5 | 0.0058 | 2021-08-05 |
CVE-2024-52052 UPD | 5.5 | 7.2 | 0.0068 | 2024-11-21 |
CVE-2025-30662 UPD | 4.9 | 6.6 | 0.0021 | 2025-11-13 |
CVE-2023-45599 UPD | 4.1 | 5.5 | 0.0034 | 2024-03-05 |
CVE-2024-38432 UPD | 4.1 | 5.5 | 0.0027 | 2024-07-30 |
CVE-2025-41720 UPD | 3.6 | 4.3 | 0.0024 | 2025-10-22 |
CVE-2026-20172 UPD | 3.5 | 4.3 | 0.0018 | 2026-05-06 |