CVE•Published 2026-09-22•Modified 2026-09-28•2 articles on news•4 live references•NVD data
CVE-2026-87902Wordpress · Wordpress
Vulnerability data via NVD (ingested)
CVSS v3.1
8.1
HIGH
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS percentile
—
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.
Timeline
Published 2026-09-22
Modified 2026-09-28
External references
Search for exposed instances
Shodan + Censys queries derived from NVD's CPE data. The vuln tag catches assets Shodan has explicitly linked to this CVE; the product / banner fingerprints find exposed instances even when the vuln tag was never applied (which is common).
Shodan · vuln tag95,966 hosts
vuln:CVE-2026-87902Hosts Shodan has explicitly fingerprinted as vulnerable.
Shodan · product
product:"Wordpress Wordpress"All exposed Wordpress Wordpress instances — cross-reference with the CVE's affected-version range.
Shodan · banner/body mention
http.html:"Wordpress"HTTP body or banner mentions "Wordpress" — catches deploys Shodan didn't identify as a product.
More intel sources (5)
Shodan report
vuln:CVE-2026-87902Country / ASN / product breakdown for the vuln query.
Censys
vulnerabilities.cve_id: CVE-2026-87902Censys host search filtered to this CVE id.
grep.app
CVE-2026-87902Public source-code mentions — fast PoC discovery.
GitHub code
CVE-2026-87902GitHub code search for direct mentions.
Google dork
"CVE-2026-87902" exploit -site:nvd.nist.govWrite-ups and news, NVD excluded.
Known PoCs on GitHub (8)
CVE-2026-879028 repos
Ostorlab/KEVunknown
Ostorlab KEV: One-command to detect most remotely known exploitable vulnerabilities. Sourced from CISA KEV, Google's Tsunami, Ostorlab's Asteroid and Bug Bounty programs.
ressl/cve-2026-87902-pocPython
PoC for CVE-2026-87902 — unauthenticated path traversal in WordPress page-template resolution (local PHP inclusion, conditional RCE) with a pinned vulnerable lab
abraxas/CVE-2026-87902Python
CVE-2026-87902 - WordPress - WordPress Core - Critical 9.2 - Unauthenticated Local File Inclusion (conditional RCE)
1dayexploit/1day-archivePython
Technical deep-dives and root cause analyses of recently disclosed CVEs - reverse engineering patches, building proof-of-concepts, and documenting exploitation techniques in the 1-…
zulloper/cve-pocPython
CVE POC repo 자동 수집기
tc4dy/CVE-2026-87902-ToolkitPython
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 sh…
rolling-code/PowerShell-ScriptsPowerShell
Red Team Hackery & Web p0wn
dinosn/cve-2026-87902-wordpress-lfi-labPython
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…