ITSECURITY.GURU WHAT HAPPENED · DOES IT AFFECT YOU · WHAT TO DO
Board › Vulnerabilities › CVE-2026-87902
8.1HighExploited CVE-2026-87902 WordPress

WordPress Core Remote File Inclusion Vulnerability

An unauthenticated attacker can make `get_page_template()` page-template resolution include a chosen readable local `.php` file outside the active theme directories. If relevant pre-conditions for both the server and the active theme are met, this can lead to RCE.

What happened

An unauthenticated attacker can make `get_page_template()` page-template resolution include a chosen readable local `.php` file outside the active theme directories. If relevant pre-conditions for both the server and the active theme are met, this can lead to RCE.

CISA lists it as exploited, added 25 Sep 2026.

NVD description

Does it affect you

Names WordPress WordPress core. Enter the product and version you run to place it against the affected range the vendor published.

What to do

  • Follow the vendor advisory for the fixed release and any interim mitigation.
    github.com
  • Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.
    cisa.gov

CISA’s notes for this entry:

Affected, as published to NVD

wordpress
WordPress WordPress core: everything below 4.7.37

The record

Identifier
CVE-2026-87902 · NVD · CVE.org
NVD status
Analyzed
Published
22 Sep 2026, last modified 28 Sep 2026 (NVD)
Severity
CVSS 3.1 base score 8.1, High — computed here from the vector; NVD states 8.1.
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-98 (NVD; names by MITRE)
Exploitation
Listed in CISA’s Known Exploited Vulnerabilities catalogue since 25 Sep 2026; federal remediation due 28 Sep 2026. CISA entry
Vendor
WordPress · Core (CISA)

The verdict above is computed from the products and versions you entered and the affected ranges the vendor published to NVD. It does not inspect your environment, and this site never reports a product as unaffected: why.