Security Resilience

CWE · MITRE source

CWE-98Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')

Abstraction: Variant · CVEs in our corpus: 1,342

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: 14 October 2026 20:41 UTC

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.

Prevent
Stop it (NIST 800-53 / CSF Protect)
  • PR.PS-05
  • PR.PS-06
  • AC-3 Access Enforcement
  • AC-4 Information Flow Enforcement
Detect
Catch it (CSF Detect / Respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)

—

NIST 800-53 r5 controls PROPOSED for this weakness (0)AI-assisted

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.

Top CVEs of this weakness type, ranked by Risk Priority

CVE Risk CVSS EPSS Published
CVE-2023-6989 9.59.80.56572024-02-05
CVE-2025-68645 KEV 9.28.80.48872025-12-22
CVE-2022-4606 9.09.80.35432022-12-18
CVE-2023-2249 8.98.80.60812023-06-09
CVE-2024-57628.78.10.71602024-08-21
CVE-2026-87902 KEV8.78.10.39982026-09-22
CVE-2024-12209 8.69.80.23222024-12-08
CVE-2024-1600 8.39.30.32512024-04-10
CVE-2026-0926 8.29.80.09602026-02-19
CVE-2023-49084 8.18.00.64452023-12-21
CVE-2023-3452 8.09.80.06962023-08-12
CVE-2025-4380 8.08.10.42522025-07-02
CVE-2024-3136 7.99.80.05022024-04-09
CVE-2024-10571 7.99.80.04812024-11-14
CVE-2014-9186 7.89.80.03652019-04-08
CVE-2021-21804 7.89.80.03702021-07-16
CVE-2022-40089 7.89.80.02722022-09-22
CVE-2024-9193 7.89.80.03292025-02-28
CVE-2026-122277.89.80.02872026-09-24
CVE-2024-3806 7.79.80.02692024-05-14
CVE-2025-52562 7.710.00.01822025-06-23
CVE-2022-4446 7.69.80.01352022-12-13
CVE-2024-2411 7.69.80.01542024-03-29
CVE-2025-14502 7.69.80.01522026-01-14
CVE-2023-4488 7.59.80.01092023-10-20