BLACKOUT MAP

WordPress · Core

CVE-2026-87902

WordPress Core Remote File Inclusion Vulnerability

Exploited in attacks High 8.1 Attack chance: 96%
Share

What it is

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: WordPress Core contains a remote file inclusion vulnerability which could allow an unauthenticated attacker to make page-template resolution include a chosen readable local `.php` file outside the active theme directories, leading to remote code execution.

What to do

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.

Deadline for US federal agencies: September 28, 2026

Added to the CISA list
September 25, 2026
Published
September 22, 2026
Severity
High 8.1 CVSS 3.1
Chance of attacks in the next 30 days (EPSS)
96% in the top 0.1% of all known vulnerabilities
Weakness
CWE-98
More details
NVD · CVE.org · CISA
All references (1)

More exploited flaws from WordPress

AddedVulnerabilityProductSeverityAttack chance
Jul 21, 2026SQL InjectionCVE-2026-60137CoreMedium 5.95.3%
Jul 21, 2026Interpretation ConflictCVE-2026-63030CoreCritical 9.811%
Nov 3, 2021Cross-Site Scripting (XSS)CVE-2019-9978Social Warfare PluginMedium 6.173%
Nov 3, 2021File DownloadCVE-2020-11738Snap Creek Duplicator PluginHigh 7.598%
Nov 3, 2021Remote Code ExecutionCVE-2020-25213File Manager PluginCritical 10.097%

All of them →

Sources: Known Exploited Vulnerabilities (CISA, public domain), CVE records (cve.org) and EPSS (FIRST). The chance of attacks is the EPSS estimate that someone will try to exploit the flaw in the next 30 days.