What is CVE-2026-87902?
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.
Timeline
- 2026-09-22Published to the U.S. National Vulnerability Database (NVD)
- 2026-09-24First covered in a defend.network daily briefing
- 2026-09-25Added to the CISA Known Exploited Vulnerabilities (KEV) catalog
- 2026-09-28CISA federal remediation deadline (BOD 22-01)
- 2026-09-28NVD record last updated
CISA Known Exploited Vulnerability
WordPress Core Remote File Inclusion Vulnerability
Affected product
WordPress Core
Remediation Steps
- Apply the vendor security update for WordPress Core as a priority.
- Restrict network exposure of the affected service to trusted sources until patched.
- Review logs and detections for indicators of exploitation.
- Confirm fixed versions against the official vendor advisory before deploying.
References
- https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-7hp8-65ch-5whp
- https://patchstack.com/articles/cve-2026-87902-attackers-started-probing-wordpress-sites-hours-after-the-patch/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-87902
- https://nvd.nist.gov/vuln/detail/CVE-2026-87902
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog
Referenced in our briefings & reports
- Vulnerability Priority Report – Week 3 of October 2026 (October 19 – 25)
- Vulnerability Priority Report – Week 2 of October 2026 (October 12 – 18)
- Vulnerability Priority Report – Week 1 of October 2026 (October 5 – 11)
- Check Point RCE, MikroTik SSH chain, malicious npm/Terraform packages in active exploitation (2026-09-24)
Related vulnerabilities
- CVE-2026-60137 – WordPress Core (same product)
- CVE-2026-63030 – WordPress Core (same product)
- CVE-2026-119977 – WordPress Core (same product)
Browse all tracked CVEs in the defend.network CVE database →
🤖 This CVE page is generated by defend.network from NVD, CISA KEV, EPSS, and our verified daily briefings. Severity and exploitation data come from official sources; always verify remediation steps against the official vendor advisory before acting in production.