High severity8.1CISA KEVNVD Advisory· Published Sep 22, 2026· Updated Sep 28, 2026
CVE-2026-87902
CVE-2026-87902
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
5cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*range: <4.7.37
- (no CPE)
- osv-coords2 versions
< 7.1.2+ 1 more
- (no CPE)range: < 7.1.2
- (no CPE)range: < 7.1.2
Patches
Vulnerability mechanics
References
3- github.com/WordPress/wordpress-develop/security/advisories/GHSA-7hp8-65ch-5whpnvdVendor Advisory
- patchstack.com/articles/cve-2026-87902-attackers-started-probing-wordpress-sites-hours-after-the-patch/nvdThird Party Advisory
- www.cisa.gov/known-exploited-vulnerabilities-catalognvdUS Government Resource
News mentions
17- WordPress 7.1.3 Security ReleasePatchstack Blog · Oct 6, 2026
- Wordfence Intelligence Weekly WordPress Vulnerability Report (September 21, 2026 to September 27, 2026)Wordfence Blog · Oct 1, 2026
- ⚡ Weekly Recap: $387M Crypto Hack, Citrix Exploits, AI Agents Go Off-Script, and More ThreatsThe Hacker News · Sep 28, 2026
- 28th September – Threat Intelligence ReportCheck Point Research · Sep 28, 2026
- Week in review: Gyazo breach exposes 23.6M user data, TASK#STOMP steals documentsHelp Net Security · Sep 27, 2026
- Hackers Actively Exploiting WordPress Vulnerability to Execute Malicious CodeCyber Security News · Sep 25, 2026
- WordPress CVE-2026-87902 Added to CISA KEV Under Active ExploitationVypr Intelligence · Sep 25, 2026
- Critical WordPress Vulnerability Exploited Immediately After DisclosureSecurityWeek · Sep 24, 2026
- Attackers Exploit WordPress CVE-2026-87902 Within Hours of DisclosureThe Hacker News · Sep 24, 2026
- WordPress 7.1.2 fixes critical unauthenticated path traversal vulnerability (CVE-2026-87902)Help Net Security · Sep 23, 2026
- Critical WordPress Core Vulnerability Lets Attackers Execute Code Without Logging InCyber Security News · Sep 23, 2026
- PSA: Critical Unauthenticated Path Traversal Vulnerability Patched in WordPress CoreWordfence Blog · Sep 22, 2026
- CVE-2026-87902: Attackers Started Probing WordPress Sites Hours After the PatchPatchstack Blog · Sep 22, 2026
- WordPress Issues Patch for Critical Flaw That Can Enable Code Execution on Some ServersThe Hacker News · Sep 22, 2026
- WordPress 7.1.2 Security Release: Unauthenticated LFI to RCEPatchstack Blog · Sep 22, 2026
- WordPress 7.1.2 ReleaseWordPress Core Security · Sep 22, 2026
- CISA Adds One Known Exploited Vulnerability to CatalogCISA Alerts