CWE · MITRE source
CWE-98Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')
The PHP application receives input from an upstream component, but it does not restrict or incorrectly restricts the input before its usage in "require," "include," or similar functions.
In certain versions and configurations of PHP, this can allow an attacker to specify a URL to a remote location from which the product will obtain the code to execute. In other cases in association with path traversal, the attacker can specify a local file that may contain executable statements that can be parsed by PHP.
Last updated: 21 August 2026 14:15 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 · 1 mapping(s) from 1 framework(s): CAPEC 1 (full)
OWASP Top 10 for Web (2025)
This weakness contributes to A05:2025 Injection.
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-2023-6989 UPD | 9.5 | 9.8 | 0.5657 | 2024-02-05 |
CVE-2025-68645 KEV UPD | 9.2 | 8.8 | 0.3444 | 2025-12-22 |
CVE-2022-4606 UPD | 9.0 | 9.8 | 0.3543 | 2022-12-18 |
CVE-2023-2249 UPD | 8.9 | 8.8 | 0.6081 | 2023-06-09 |
CVE-2024-5762 | 8.7 | 8.1 | 0.7160 | 2024-08-21 |
CVE-2024-12209 UPD | 8.6 | 9.8 | 0.2336 | 2024-12-08 |
CVE-2024-1600 UPD | 8.3 | 9.3 | 0.3251 | 2024-04-10 |
CVE-2026-0926 UPD | 8.2 | 9.8 | 0.0940 | 2026-02-19 |
CVE-2023-49084 UPD | 8.1 | 8.0 | 0.6377 | 2023-12-21 |
CVE-2023-3452 UPD | 8.0 | 9.8 | 0.0696 | 2023-08-12 |
CVE-2024-3136 UPD | 7.9 | 9.8 | 0.0502 | 2024-04-09 |
CVE-2024-10571 UPD | 7.9 | 9.8 | 0.0481 | 2024-11-14 |
CVE-2025-4380 UPD | 7.9 | 8.1 | 0.3971 | 2025-07-02 |
CVE-2014-9186 UPD | 7.8 | 9.8 | 0.0365 | 2019-04-08 |
CVE-2021-21804 UPD | 7.8 | 9.8 | 0.0370 | 2021-07-16 |
CVE-2024-9193 UPD | 7.8 | 9.8 | 0.0324 | 2025-02-28 |
CVE-2022-40089 UPD | 7.7 | 9.8 | 0.0206 | 2022-09-22 |
CVE-2024-3806 UPD | 7.7 | 9.8 | 0.0269 | 2024-05-14 |
CVE-2025-52562 UPD | 7.7 | 10.0 | 0.0177 | 2025-06-23 |
CVE-2024-2411 UPD | 7.6 | 9.8 | 0.0154 | 2024-03-29 |
CVE-2025-14502 UPD | 7.6 | 9.8 | 0.0136 | 2026-01-14 |
CVE-2022-4446 UPD | 7.5 | 9.8 | 0.0127 | 2022-12-13 |
CVE-2023-4488 UPD | 7.5 | 9.8 | 0.0100 | 2023-10-20 |
CVE-2024-30849 UPD | 7.5 | 9.8 | 0.0112 | 2024-04-05 |
CVE-2024-4936 UPD | 7.5 | 9.8 | 0.0103 | 2024-06-14 |