WordPress · Core
CVE-2026-87902
WordPress Core Remote File Inclusion Vulnerability
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
More exploited flaws from WordPress
| Added | Vulnerability | Product | Severity | Attack chance |
|---|---|---|---|---|
| Jul 21, 2026 | SQL Injection | Core | Medium 5.9 | 5.3% |
| Jul 21, 2026 | Interpretation Conflict | Core | Critical 9.8 | 11% |
| Nov 3, 2021 | Cross-Site Scripting (XSS) | Social Warfare Plugin | Medium 6.1 | 73% |
| Nov 3, 2021 | File Download | Snap Creek Duplicator Plugin | High 7.5 | 98% |
| Nov 3, 2021 | Remote Code Execution | File Manager Plugin | Critical 10.0 | 97% |
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.