CWE · MITRE source
CWE-616Incomplete Identification of Uploaded File Variables (PHP)
The PHP application uses an old method for processing uploaded files by referencing the four global variables that are set for each file (e.g. $varname, $varname_size, $varname_name, $varname_type). These variables could be overwritten by attackers, causing the application to process unauthorized files.
These global variables could be overwritten by POST requests, cookies, or other methods of populating or overwriting these variables. This could be used to read or process arbitrary files by providing values such as "/etc/passwd".
Last updated: 20 August 2026 14:15 UTC
Control responseHuman-reviewed
Answering this weakness across the control lifecycle, from our framework cross-walks.
NIST 800-53 r5 controls that address this weakness (0)AI-assisted
| Control | Title | Family | Why it addresses this CWE |
|---|---|---|---|
| No NIST controls proposed yet. | |||
Top CVEs of this weakness type, ranked by Risk Priority
| CVE | Risk | CVSS | EPSS | Published |
|---|---|---|---|---|
CVE-2024-29858 UPD | 7.3 | 9.8 | 0.0038 | 2024-03-21 |
CVE-2024-31601 UPD | 7.2 | 9.8 | 0.0035 | 2024-04-26 |
CVE-2025-67084 UPD | 6.9 | 9.9 | 0.0042 | 2026-01-15 |
CVE-2026-67198 | 5.7 | 7.5 | 0.0020 | 2026-08-04 |
CVE-2023-38947 UPD | 5.5 | 7.2 | 0.0054 | 2023-08-03 |
CVE-2024-52305 | 5.0 | 6.5 | 0.0019 | 2024-11-13 |
CVE-2024-28520 UPD | 4.9 | 6.5 | 0.0017 | 2024-04-04 |
CVE-2026-22789 UPD | 4.3 | 5.4 | 0.0024 | 2026-01-12 |
CVE-2025-52130 UPD | 4.2 | 5.4 | 0.0021 | 2025-08-25 |
CVE-2025-59402 UPD | 4.2 | 5.4 | 0.0022 | 2025-09-25 |