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.
CVE-2026-87902
Score elevated to 9.0 because this CVE is listed on the CISA Known Exploited Vulnerabilities catalog (added 2026-09-25), indicating real-world exploitation has been confirmed by US federal agencies. CISA-ADP (Vulnrichment) CVSS v3.1 baseline 8.1 retained for reference (NVD's own analysis pending). Confidence: HIGH.
- 407 internet-facing services (distinct ip:port) on record running an affected version — derived from Shodan data (© Shodan); a patched service can stay counted while its port stays open
- Actively exploited in the wild (CISA-KEV)
A fix is available — apply it.
407 internet-facing services (distinct ip:port) on record running a version that maps to CVE-2026-87902, in our KEV-Exposure radar’s Shodan-derived sample.
How it counts: every 12 hours, when Shodan query credits allow, the radar runs one Shodan query per tracked product, reads up to 100 ip:port services per query, and keeps a service when its banner version matches a CISA-KEV or high-EPSS CVE; a service is dropped when neither a search nor a Shodan InternetDB port re-check has refreshed it for 21 days. A re-check that finds the port still listed by Shodan InternetDB refreshes the service without re-reading the banner, so a patched service can stay counted while its port stays open. A count is a banner-version inference over a sample, not an exploit test and not an internet-wide census, and the unit is a service, not a machine: a machine answering on two ports counts twice.
- CVSS v3
- 8.1
- EG Score
- 9.0CRITICALhigh confidence
- EG Risk
- 81EG Risk 81/100CISA SSVC
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity90% × 45%Exploitation100% × 40%Automatability0% × 15%CISA SSVC: Track at low, Attend at medium and Act at high mission impact.Action: A fix is available. Apply it within your standard update timelines at low, sooner than that at medium and as soon as possible at high mission impact. - EPSS PROB
- 46%
- EPSS %ILE
- 98th
- KEV
- ⚠ Exploited
CISA SSVCTrack at low, Attend at medium and Act at high mission impact.
A fix is available. Apply it within your standard update timelines at low, sooner than that at medium and as soon as possible at high mission impact.
Exploitation active (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
September 22, 2026
Last Modified
September 28, 2026
Advisory Details (1)
Auto-updated Sep 22, 2026Unauthenticated path traversal in page-template resolution leading to conditional RCE · Advisory · WordPress/wordpress-develop · GitHub
https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-7hp8-65ch-5whpWeakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 13× in last 7d / 29× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-10-03 14:33 UTCEG score recompute
- 2026-10-02 18:50 UTCEG score recompute
- 2026-10-01 23:12 UTCEG score recompute
- 2026-10-01 19:51 UTCEPSS rescore
- 2026-09-30 15:43 UTCEG score recompute
- 2026-09-30 15:04 UTCEPSS rescore
- 2026-09-29 16:03 UTCEG score recompute
- 2026-09-29 00:20 UTCEG score recompute
- 2026-09-28 16:27 UTCEG score recompute
- 2026-09-28 13:52 UTCEPSS rescore
- 2026-09-27 21:51 UTCCISA KEV update
- 2026-09-27 15:48 UTCEG score recompute
- 2026-09-27 13:48 UTCEPSS rescore
- 2026-09-26 20:10 UTCEG score recompute
- 2026-09-26 16:14 UTCEG score recompute
- 2026-09-26 15:59 UTCEPSS rescore
- 2026-09-26 00:32 UTCEG score recompute
- 2026-09-25 20:35 UTCEG score recompute
- 2026-09-25 19:36 UTCEG score recompute▲ 0.90
- 2026-09-25 19:35 UTCCISA KEV update
- 2026-09-24 16:21 UTCEG score recompute
- 2026-09-24 14:04 UTCEPSS rescore
- 2026-09-23 18:16 UTCEG score recompute
- 2026-09-23 17:54 UTCEPSS rescore
- 2026-09-23 07:14 UTCEG score recompute
Show 4 moreShow fewer
- 2026-09-22 17:10 UTCEG score recompute▲ 8.10
- 2026-09-22 17:08 UTCMITRE cvelistV5CVSS v3 → 8.1 · severity → HIGH
- 2026-09-22 16:51 UTCEG score recompute
- 2026-09-22 16:49 UTCMITRE cvelistV5first tracked
Publicly available exploits
(10 references)Working exploit code is in the public domain (9 GitHub PoCs) (1 Exploit-DB entry). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Exploit-DBEDB-52690First seen Oct 1, 2026
WordPress 7.0.2 - Path Travesal
Open source ↗ - GitHub PoCtonydelouvre/CVE-2026-87902First seen Sep 29, 2026
XWP_RCE — CVE-2026-87902 Hacker Console
Open source ↗ - GitHub PoCHackfutSecRoot/CVE-2026-87902First seen Sep 28, 2026
CVE-2026-87902 — WordPress Core LFI → RCE by Hackfut
Open source ↗ - GitHub PoCMaalfer/CVE-2026-87902-exploitFirst seen Sep 27, 2026
Exploit para explotar la vulnerabilidad CVE-2026-87902 que se acontece en el core de WordPress
Open source ↗ - GitHub PoCcrowsec-edtech/CVE-2026-87902First seen Sep 25, 2026
Proof of concept for vulnerability CVE-2026-87902 in Wordpress
Open source ↗ - GitHub PoCbhideki/CVE-2026-87902First seen Sep 23, 2026
CVE-2026-87902: PoC for WordPress's critical path traversal
Open source ↗ - GitHub PoCdinosn/cve-2026-87902-wordpress-lfi-labFirst seen Sep 23, 2026
Reproduction lab + URL-list scanner + PoC for CVE-2026-87902 / GHSA-7hp8-65ch-5whp — WordPress get_page_template() unauthenticated LFI to conditional RCE (WP 4.7.0-7.1.1, fixed 7.1.2). Authorized/defensive testing.
Open source ↗ - GitHub PoCHassham1/CVE-2026-87902First seen Sep 23, 2026
WordPress Core <= 7.1.1 unauthenticated LFI to RCE - validation lab, PoC, nuclei template (GHSA-7hp8-65ch-5whp)
Open source ↗ - GitHub PoCtc4dy/CVE-2026-87902-ToolkitFirst seen Sep 23, 2026
CVE-2026-87902 – WordPress Core LFI→RCE Toolkit (CVSS 9.2) - Red/Blue Team suite for WordPress 4.7–7.1.1. 🛠️ 2 tools: Full Exploit (LFI, PEAR RCE, admin create, webshell, reverse shell, loot, mass scan, stealth) & SafeChecker (version detect, risk audit, JSON report). 🔨 Use Ethically & Authorized Enviorement, Stay Legal <3
Open source ↗ - GitHub PoCynsmroztas/WPSniperFirst seen Sep 23, 2026
CVE-2026-87902 detector. WordPress get_page_template LFI class. Detect-only. Authorized lab.
Open source ↗
Related CVEs(same CWE)
Frequently asked(6)
What is CVE-2026-87902?
When was CVE-2026-87902 disclosed?
Is CVE-2026-87902 actively exploited?
What is the CVSS score of CVE-2026-87902?
Which products are affected by CVE-2026-87902?
How do I remediate CVE-2026-87902?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-87902
Is Your Infrastructure Affected by CVE-2026-87902?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.