VYPR

CWE-98

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

VariantDraftLikelihood: High

Description

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.

Hierarchy (View 1000)

Children

none

Related attack patterns (CAPEC)

CAPEC-193

CVEs mapped to this weakness (1,304)

page 66 of 66
  • CVE-2025-69106HigJun 17, 2026
    risk 0.00cvss 8.1epss 0.00

    Unauthenticated Local File Inclusion in Imba <= 1.5.0 versions.

  • CVE-2026-25548CriFeb 18, 2026
    risk 0.00cvss 9.1epss 0.01

    InvoicePlane is a self-hosted open source application for managing invoices, clients, and payments. A critical Remote Code Execution (RCE) vulnerability exists in InvoicePlane 1.7.0 through a chained Local File Inclusion (LFI) and Log Poisoning attack. An authenticated…

  • CVE-2023-2551HigMay 5, 2023
    risk 0.00cvss 8.8epss 0.02

    PHP Remote File Inclusion in GitHub repository unilogies/bumsys prior to 2.1.1.

  • CVE-2022-4446CriDec 13, 2022
    risk 0.00cvss 9.8epss 0.01

    PHP Remote File Inclusion in GitHub repository tsolucio/corebos prior to 8.0.