CVE-2026-87902
WordPress Core Remote File Inclusion Vulnerability
- Actively exploited
- High · 8.1 of 10
- Exploited since
- 25 Sep 2026 added to the CISA list
- Chance of attacks
- 96% in the next 30 days (FIRST EPSS)
- Fix deadline
- 28 Sep 2026 for US federal agencies
- Published
- 22 Sep 2026 in the NVD
What this means
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.
CISA
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.
NIST National Vulnerability Database
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.
CISA's required action. If you use the product, install the vendor's update as soon as possible.
Affected
- WordPress WordPress
Official sources
- nvd.nist.gov/vuln/detail/CVE-2026-87902
- github.com/WordPress/wordpress-develop/security/advisories/GHSA-7hp8-65ch-5whp vendor advisory
- patchstack.com/articles/cve-2026-87902-attackers-started-probing-wordpress-sites-hours-aft...
- cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-87902
Data from the NIST National Vulnerability Database, the CISA Known Exploited Vulnerabilities list, FIRST EPSS and ENISA, checked 18 Nov 2026. CVSS vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.