CVE-2026-87902: WordPress Core Remote File Inclusion Vulnerability
An unauthenticated attacker can make getpagetemplate() 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.
Published Sep 22, 2026 · Updated Sep 28, 2026
Required action
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.
Advisory details
From the National Vulnerability Database. This product uses the NVD API but is not endorsed or certified by the NVD.
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More WordPress vulnerabilities
All WordPress entriesCVE-2026-119977
WordPress WordPress Core Time-of-check Time-of-use (TOCTOU) Race Condition Vulnerability
high8.1ExploitedOct 31, 2026CVE-2026-60137
WordPress Core SQL Injection Vulnerability
medium5.9ExploitedJul 17, 2026CVE-2026-63030
WordPress Core Interpretation Conflict Vulnerability
critical9.8ExploitedJul 17, 2026CVE-2020-25213
WordPress File Manager Plugin Remote Code Execution Vulnerability
critical9.8ExploitedSep 9, 2020CVE-2020-11738
WordPress Snap Creek Duplicator Plugin File Download Vulnerability
high7.5ExploitedApr 13, 2020CVE-2019-9978
WordPress Social Warfare Plugin Cross-Site Scripting (XSS) Vulnerability
medium6.1ExploitedMar 24, 2019
