CVE-2026-87902
HIGH 8.1 KNOWN EXPLOITED PoC CATALOGUED DETECTION TEMPLATEAn 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.
Confirmed exploited in the wild — in CISA KEV since 2026-09-25. Patch or mitigate now.
Exploitation likelihood
95.8%chance of exploitation in 30 days · 100th percentile
Impact if exploited
8.1CVSS 3.1 · HIGH
- ConfidentialityHigh
- IntegrityHigh
- AvailabilityHigh
What an attacker needs
- ✓Access: Reachable over the network — no local access needed
- ✓Privileges: No account or privileges required
- ✓User interaction: No user interaction needed
- ⚠Complexity: Needs a race window or specific setup
✓ lowers the bar for an attacker · ⚠ raises it
Proof of concept
Public PoC or exploit resources are catalogued below.
- ExploitDB #52690
- VulnCheck KEV · XDB 27a35f8d4168 · Linked repository
- VulnCheck KEV · XDB 5b096847a4fc · Linked repository
- VulnCheck KEV · XDB 91e9decb691e · Linked repository
- VulnCheck KEV · XDB ab1094c5ba42 · Linked repository
- VulnCheck KEV · XDB 3015efbd6606 · Linked repository
- VulnCheck KEV · XDB e9eaa83f1955 · Linked repository
- VulnCheck KEV · XDB 576e3bed9ae1 · Linked repository
- VulnCheck KEV · XDB 0579c29fc74d · Linked repository
- VulnCheck KEV · XDB 936b8c2e447c · Linked repository
- VulnCheck KEV · XDB 5a69d16cd73d · Linked repository
- VulnCheck KEV · XDB 117dc23a1f59 · Linked repository
- VulnCheck KEV · XDB e2894868d6fc · Linked repository
- VulnCheck KEV · XDB a24b448daf49 · Linked repository
- VulnCheck KEV · XDB 937ae20f4eae · Linked repository
- VulnCheck KEV · XDB d31e340a5e47 · Linked repository
- VulnCheck KEV · XDB d9fe5d32f553 · Linked repository
- VulnCheck KEV · XDB 0ee9627f9a20 · Linked repository
- VulnCheck KEV · XDB 5d379082e1b8 · Linked repository
Listed by the named source; Vulnpedia has not tested these resources.
PoC data: JSON
Detection templates
Detection checks are listed separately from PoCs.
Resource commands
nuclei -id CVE-2026-87902 -u https://TARGETDetection template — review its checks and affected versions before use.searchsploit --cve CVE-2026-87902 && searchsploit -m 52690Fetch the ExploitDB PoC locally; review the code before running it.curl -s https://vulnpedia.com/cve/CVE-2026-87902/poc.jsonMachine-readable PoC index for this CVE (for automation).Search for new PoCs
Search GitHub now — results may be empty or unverified.
Tracked sources are checked daily for recent CVEs, including PoCs published after the original disclosure. A later release appears after a tracked source lists it and a refresh succeeds.
Data snapshot:
Weakness (CWE)
- CWE-98: Remote File Inclusion
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
References and research data (JSON)
Vendor product assessments
All currently supported Red Hat products · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
Red Hat · CVE-2026-87902 · Updated 2026-09-26T02:00:15+00:00
Unverified PoC candidates
Catalogue matches for further research. These repositories have not been validated as working exploits.
25 candidates
- https://github.com/abraxas/CVE-2026-87902
CVE-2026-87902 - WordPress - WordPress Core - Critical 9.2 - Unauthenticated Local File Inclusion (conditional RCE)
PoC-in-GitHub · CVE-2026-87902
PoC-in-GitHub · CVE-2026-87902 · Updated 2026-10-07T01:07:34Z - https://github.com/vulpecuna/CVE-2026-87902
Unauthenticated RCE on Wordpress
PoC-in-GitHub · CVE-2026-87902
PoC-in-GitHub · CVE-2026-87902 · Updated 2026-09-24T09:54:04Z - https://github.com/ressl/cve-2026-87902-poc
PoC for CVE-2026-87902 — unauthenticated path traversal in WordPress page-template resolution (local PHP inclusion, conditional RCE) with a pinned vulnerable lab
PoC-in-GitHub · CVE-2026-87902
PoC-in-GitHub · CVE-2026-87902 · Updated 2026-10-22T19:48:41Z - https://github.com/pwnVader/CVE-2026-87902-PoC-pwnVaderPoC-in-GitHub · CVE-2026-87902
PoC-in-GitHub · CVE-2026-87902 · Updated 2026-09-22T22:59:22Z - https://github.com/rabakuku/CVE-2026-87902-A-working-PoC-for-WordPress-s-critical-path-traversal
Critical Zero-Authentication Vulnerability Alert! CVE-2026-87902 carries a massive CVSS 9.2 rating affecting nearly every version of WordPress Core from 4.7.0 up through 7.1.1. how attackers chain it with PHP environments to achieve full Remote Code Execution (RCE), and exactly how to mitigate and patch it immediately.
PoC-in-GitHub · CVE-2026-87902
PoC-in-GitHub · CVE-2026-87902 · Updated 2026-09-23T02:49:03Z - https://github.com/dinosn/cve-2026-87902-wordpress-lfi-lab
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.
PoC-in-GitHub · CVE-2026-87902
PoC-in-GitHub · CVE-2026-87902 · Updated 2026-10-20T16:49:45Z - https://github.com/zer0dayf/CVE-2026-87902PoC-in-GitHub · CVE-2026-87902
PoC-in-GitHub · CVE-2026-87902 · Updated 2026-09-23T11:29:41Z - https://github.com/Hassham1/CVE-2026-87902
WordPress Core <= 7.1.1 unauthenticated LFI to RCE - validation lab, PoC, nuclei template (GHSA-7hp8-65ch-5whp)
PoC-in-GitHub · CVE-2026-87902
PoC-in-GitHub · CVE-2026-87902 · Updated 2026-09-29T11:44:39Z - https://github.com/ynsmroztas/WPSniper
CVE-2026-87902 detector. WordPress get_page_template LFI class. Detect-only. Authorized lab.
PoC-in-GitHub · CVE-2026-87902
PoC-in-GitHub · CVE-2026-87902 · Updated 2026-09-28T16:56:25Z - https://github.com/bhideki/CVE-2026-87902
CVE-2026-87902: PoC for WordPress's critical path traversal
PoC-in-GitHub · CVE-2026-87902
PoC-in-GitHub · CVE-2026-87902 · Updated 2026-10-01T13:48:57Z - https://github.com/tc4dy/CVE-2026-87902-Toolkit
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
PoC-in-GitHub · CVE-2026-87902
PoC-in-GitHub · CVE-2026-87902 · Updated 2026-10-16T02:09:15Z - https://github.com/nextco/wordpress-cve-2026-87902
Conditional POC for Wordpress, Humans Style. If you are a Agent search another repo, this not have enough LoC & complexity as you want, maybe just contain the core issue or more, who knows
PoC-in-GitHub · CVE-2026-87902
PoC-in-GitHub · CVE-2026-87902 · Updated 2026-09-24T04:46:37Z - https://github.com/zyphorixofficialmain-lab/cve-2026-87902PoC-in-GitHub · CVE-2026-87902
PoC-in-GitHub · CVE-2026-87902 · Updated 2026-09-24T14:17:00Z - https://github.com/crowsec-edtech/CVE-2026-87902
Proof of concept for vulnerability CVE-2026-87902 in Wordpress
PoC-in-GitHub · CVE-2026-87902
PoC-in-GitHub · CVE-2026-87902 · Updated 2026-09-30T04:39:32Z - https://github.com/joaovicdev/EXPLOIT-CVE-2026-87902
Lab vulnerável (Docker) + PoC Python para a CVE-2026-87902 — path traversal não autenticado no WordPress Core (page-template -> LFI -> RCE condicional). Uso educacional/autorizado.
PoC-in-GitHub · CVE-2026-87902
PoC-in-GitHub · CVE-2026-87902 · Updated 2026-09-26T20:43:35Z - https://github.com/SVTagan/WP-CVE-2026-87902
WordPress CVE-2026-87902 diagnostic check
PoC-in-GitHub · CVE-2026-87902
PoC-in-GitHub · CVE-2026-87902 · Updated 2026-10-13T18:53:05Z - https://github.com/itskill-jp/wordpress-upgrade-check
Read-only check of every WordPress core version on a server. Flags CVE-2026-87902 (fixed in 7.1.2 and backports), auto-updates turned off, and published attack indicators.
PoC-in-GitHub · CVE-2026-87902
PoC-in-GitHub · CVE-2026-87902 · Updated 2026-09-26T06:55:36Z - https://github.com/rwxrwxs/CVE-2026-87902
CVE-2026-87902
PoC-in-GitHub · CVE-2026-87902
PoC-in-GitHub · CVE-2026-87902 · Updated 2026-09-27T05:07:23Z - https://github.com/langz337/CVE-2026-87902
Unauthenticated LFI and conditional RCE scanner for CVE-2026-87902 in WordPress Core (4.7.0 – 7.1.1).
PoC-in-GitHub · CVE-2026-87902
PoC-in-GitHub · CVE-2026-87902 · Updated 2026-09-27T12:06:10Z - https://github.com/abatsakidis/wp-cve-2026-87902-checker
Defensive WordPress security scanner for CVE-2026-87902 — local filesystem inspection and safe remote HTTP/HTTPS assessment.
PoC-in-GitHub · CVE-2026-87902
PoC-in-GitHub · CVE-2026-87902 · Updated 2026-10-02T03:51:30Z - https://github.com/Maalfer/CVE-2026-87902-exploit
Exploit para explotar la vulnerabilidad CVE-2026-87902 que se acontece en el core de WordPress
PoC-in-GitHub · CVE-2026-87902
PoC-in-GitHub · CVE-2026-87902 · Updated 2026-10-01T04:25:41Z - https://github.com/HackfutSecRoot/CVE-2026-87902
CVE-2026-87902 — WordPress Core LFI → RCE by Hackfut
PoC-in-GitHub · CVE-2026-87902
PoC-in-GitHub · CVE-2026-87902 · Updated 2026-10-04T09:54:35Z - https://github.com/MRdark-ops/CVE-2026-87902
CVE-2026-87902 — WordPress Core LFI → RCE
PoC-in-GitHub · CVE-2026-87902
PoC-in-GitHub · CVE-2026-87902 · Updated 2026-10-17T17:34:03Z - https://github.com/tonydelouvre/CVE-2026-87902
XWP_RCE — CVE-2026-87902 Hacker Console
PoC-in-GitHub · CVE-2026-87902
PoC-in-GitHub · CVE-2026-87902 · Updated 2026-10-22T09:14:28Z - https://github.com/xiaxiu555/cve-2026-87902
cve-2026-87902 lab
PoC-in-GitHub · CVE-2026-87902
PoC-in-GitHub · CVE-2026-87902 · Updated 2026-10-07T07:53:43Z
Additional exploitation reports
Source-specific reports, separate from CISA KEV. Repeated observations from one source are not independent confirmations.
- ENISA EU KEV · 2026-09-23EUVD · EUVD-2026-84555
- VulnCheck KEV · 2026-09-22T00:00:00Z
Source guidance: 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.
Source ransomware assessment: Unknown
VulnCheck KEV · CVE-2026-87902 · Updated 2026-09-22T00:00:00Z - VulnCheck KEV · 2026-09-22T00:00:00ZVulnCheck KEV · CVE-2026-87902
- VulnCheck KEV · 2026-09-23T00:00:00ZVulnCheck KEV · CVE-2026-87902
VulnCheck KEV · CVE-2026-87902 - VulnCheck KEV · 2026-09-25T00:00:00ZVulnCheck KEV · CVE-2026-87902
VulnCheck KEV · CVE-2026-87902 - VulnCheck KEV · 2026-09-28T00:00:00ZVulnCheck KEV · CVE-2026-87902
Known Affected Software Configurations
| Vendor | Product | Version range |
|---|---|---|
| Wordpress | Wordpress | < 4.7.37 |
| Wordpress | Wordpress | ≥ 4.8 and < 4.8.32 |
| Wordpress | Wordpress | ≥ 4.9 and < 4.9.33 |
| Wordpress | Wordpress | ≥ 5.0 and < 5.0.29 |
| Wordpress | Wordpress | ≥ 5.1 and < 5.1.26 |
| Wordpress | Wordpress | ≥ 5.2 and < 5.2.28 |
| Wordpress | Wordpress | ≥ 5.3 and < 5.3.25 |
| Wordpress | Wordpress | ≥ 5.4 and < 5.4.23 |
| Wordpress | Wordpress | ≥ 5.5 and < 5.5.22 |
| Wordpress | Wordpress | ≥ 5.6 and < 5.6.21 |
| Wordpress | Wordpress | ≥ 5.7 and < 5.7.19 |
| Wordpress | Wordpress | ≥ 5.8 and < 5.8.17 |
| Wordpress | Wordpress | ≥ 5.9 and < 5.9.18 |
| Wordpress | Wordpress | ≥ 6.0 and < 6.0.16 |
| Wordpress | Wordpress | ≥ 6.1 and < 6.1.14 |
| Wordpress | Wordpress | ≥ 6.2 and < 6.2.13 |
| Wordpress | Wordpress | ≥ 6.3 and < 6.3.12 |
| Wordpress | Wordpress | ≥ 6.4 and < 6.4.12 |
| Wordpress | Wordpress | ≥ 6.5 and < 6.5.12 |
| Wordpress | Wordpress | ≥ 6.6 and < 6.6.9 |
| Wordpress | Wordpress | ≥ 6.7 and < 6.7.9 |
| Wordpress | Wordpress | ≥ 6.8 and < 6.8.10 |
| Wordpress | Wordpress | ≥ 6.9 and < 6.9.9 |
| Wordpress | Wordpress | ≥ 7.0 and < 7.0.6 |
| Wordpress | Wordpress | ≥ 7.1 and < 7.1.2 |
All CVSS metrics
- HIGH 8.1 v3.1 · ADP Primary
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - HIGH 8.1 v3.1 · NVD Secondary
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
References
Advisories
- https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-7hp8-65ch-5whp CVE record · hackerone · Updated 2026-09-22T16:44:15.048Z
NVD · CVE-2026-87902 · Updated 2026-09-28T12:20:54.040 - https://patchstack.com/articles/cve-2026-87902-attackers-started-probing-wordpress-sites-hours-after-the-patch/ CVE record · CISA-ADP · Updated 2026-09-26T03:55:51.560Z
NVD · CVE-2026-87902 · Updated 2026-09-28T12:20:54.040
VulnCheck KEV · CVE-2026-87902 · Updated 2026-09-22T00:00:00Z - https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-87902 CVE record · CISA-ADP · Updated 2026-09-26T03:55:51.560Z
NVD · CVE-2026-87902 · Updated 2026-09-28T12:20:54.040 - https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-87902.json Red Hat · CVE-2026-87902 · Updated 2026-09-26T02:00:15+00:00
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-84555 EUVD · EUVD-2026-84555
- https://vulncheck.com/kev VulnCheck KEV · CVE-2026-87902 · Updated 2026-09-22T00:00:00Z
Technical & other
- https://access.redhat.com/security/cve/CVE-2026-87902 Red Hat · CVE-2026-87902 · Updated 2026-09-26T02:00:15+00:00
- https://www.cve.org/CVERecord?id=CVE-2026-87902 Red Hat · CVE-2026-87902 · Updated 2026-09-26T02:00:15+00:00
- https://patchstack.com/database/wordpress/plugin/wordpress/vulnerability/wordpress-core-7-1-1-unauthenticated-local-file-inclusion-to-remote-code-execution-vulnerability VulnCheck KEV · CVE-2026-87902 · Updated 2026-09-22T00:00:00Z
- https://previdian.com/CVE-2026-87902 VulnCheck KEV · CVE-2026-87902 · Updated 2026-09-22T00:00:00Z
- https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json VulnCheck KEV · CVE-2026-87902 · Updated 2026-09-22T00:00:00Z
- https://x.com/ethicalhack3r/status/2102747373873004680 VulnCheck KEV · CVE-2026-87902 · Updated 2026-09-22T00:00:00Z
- https://www.crowdsec.net/vulntracking-report/cve-2026-87902-wordpress-vulnerability VulnCheck KEV · CVE-2026-87902 · Updated 2026-09-22T00:00:00Z
- https://vulncheck.com/xdb/27a35f8d4168 VulnCheck KEV · 27a35f8d4168 · Updated 2026-09-22T00:00:00Z
- https://github.com/vulpecuna/CVE-2026-87902 VulnCheck KEV · 27a35f8d4168 · Updated 2026-09-22T00:00:00Z
- https://vulncheck.com/xdb/5b096847a4fc VulnCheck KEV · 5b096847a4fc · Updated 2026-09-22T00:00:00Z
- https://github.com/ressl/cve-2026-87902-poc VulnCheck KEV · 5b096847a4fc · Updated 2026-09-22T00:00:00Z
- https://vulncheck.com/xdb/91e9decb691e VulnCheck KEV · 91e9decb691e · Updated 2026-09-22T00:00:00Z
- https://github.com/dinosn/cve-2026-87902-wordpress-lfi-lab VulnCheck KEV · 91e9decb691e · Updated 2026-09-22T00:00:00Z
- https://vulncheck.com/xdb/ab1094c5ba42 VulnCheck KEV · ab1094c5ba42 · Updated 2026-09-22T00:00:00Z
- https://github.com/bhideki/CVE-2026-87902 VulnCheck KEV · ab1094c5ba42 · Updated 2026-09-22T00:00:00Z
- https://vulncheck.com/xdb/3015efbd6606 VulnCheck KEV · 3015efbd6606 · Updated 2026-09-22T00:00:00Z
- https://github.com/oliveiralimajr/CVE_2026_87902 VulnCheck KEV · 3015efbd6606 · Updated 2026-09-22T00:00:00Z
- https://vulncheck.com/xdb/e9eaa83f1955 VulnCheck KEV · e9eaa83f1955 · Updated 2026-09-22T00:00:00Z
- https://github.com/tc4dy/CVE-2026-87902-Toolkit VulnCheck KEV · e9eaa83f1955 · Updated 2026-09-22T00:00:00Z
- https://vulncheck.com/xdb/576e3bed9ae1 VulnCheck KEV · 576e3bed9ae1 · Updated 2026-09-22T00:00:00Z
- https://github.com/nextco/wordpress-cve-2026-87902 VulnCheck KEV · 576e3bed9ae1 · Updated 2026-09-22T00:00:00Z
- https://vulncheck.com/xdb/0579c29fc74d VulnCheck KEV · 0579c29fc74d · Updated 2026-09-22T00:00:00Z
- https://github.com/crowsec-edtech/CVE-2026-87902 VulnCheck KEV · 0579c29fc74d · Updated 2026-09-22T00:00:00Z
- https://vulncheck.com/xdb/936b8c2e447c VulnCheck KEV · 936b8c2e447c · Updated 2026-09-22T00:00:00Z
- https://github.com/joaovicdev/EXPLOIT-CVE-2026-87902 VulnCheck KEV · 936b8c2e447c · Updated 2026-09-22T00:00:00Z
- https://vulncheck.com/xdb/5a69d16cd73d VulnCheck KEV · 5a69d16cd73d · Updated 2026-09-22T00:00:00Z
- https://github.com/Hassham1/CVE-2026-87902 VulnCheck KEV · 5a69d16cd73d · Updated 2026-09-22T00:00:00Z
- https://vulncheck.com/xdb/117dc23a1f59 VulnCheck KEV · 117dc23a1f59 · Updated 2026-09-22T00:00:00Z
- https://github.com/Lutfifakee-Project/CVE-2026-87902 VulnCheck KEV · 117dc23a1f59 · Updated 2026-09-22T00:00:00Z
- https://vulncheck.com/xdb/e2894868d6fc VulnCheck KEV · e2894868d6fc · Updated 2026-09-22T00:00:00Z
- https://github.com/langz337/CVE-2026-87902 VulnCheck KEV · e2894868d6fc · Updated 2026-09-22T00:00:00Z
- https://vulncheck.com/xdb/a24b448daf49 VulnCheck KEV · a24b448daf49 · Updated 2026-09-22T00:00:00Z
- https://github.com/Maalfer/CVE-2026-87902-exploit VulnCheck KEV · a24b448daf49 · Updated 2026-09-22T00:00:00Z
- https://vulncheck.com/xdb/937ae20f4eae VulnCheck KEV · 937ae20f4eae · Updated 2026-09-22T00:00:00Z
- https://github.com/pwnVader/CVE-2026-87902-PoC-pwnVader VulnCheck KEV · 937ae20f4eae · Updated 2026-09-22T00:00:00Z
- https://vulncheck.com/xdb/d31e340a5e47 VulnCheck KEV · d31e340a5e47 · Updated 2026-09-22T00:00:00Z
- https://github.com/HackfutSecRoot/CVE-2026-87902 VulnCheck KEV · d31e340a5e47 · Updated 2026-09-22T00:00:00Z
- https://vulncheck.com/xdb/d9fe5d32f553 VulnCheck KEV · d9fe5d32f553 · Updated 2026-09-22T00:00:00Z
- https://github.com/tonydelouvre/CVE-2026-87902 VulnCheck KEV · d9fe5d32f553 · Updated 2026-09-22T00:00:00Z
- https://vulncheck.com/xdb/0ee9627f9a20 VulnCheck KEV · 0ee9627f9a20 · Updated 2026-09-22T00:00:00Z
- https://github.com/MRdark-ops/CVE-2026-87902 VulnCheck KEV · 0ee9627f9a20 · Updated 2026-09-22T00:00:00Z
- https://vulncheck.com/xdb/5d379082e1b8 VulnCheck KEV · 5d379082e1b8 · Updated 2026-09-22T00:00:00Z
- https://github.com/xiaxiu555/cve-2026-87902 VulnCheck KEV · 5d379082e1b8 · Updated 2026-09-22T00:00:00Z