What it is
CVE-2026-87902 is an unauthenticated vulnerability affecting WordPress. An unauthenticated attacker can make `get_page_template()` page-template resolution include a chosen readable local `.php` file outside the...
Vulnerability report
WordPress Remote Code Execution
WordPress · affected before 7.1.2
Decision summary
Direct answers before the deeper technical record.
What it is
CVE-2026-87902 is an unauthenticated vulnerability affecting WordPress. An unauthenticated attacker can make `get_page_template()` page-template resolution include a chosen readable local `.php` file outside the...
Is it exploited?
Yes. Previdian sensors observed exploitation attempts with confirmed confidence. Listed in CISA KEV. Also confirmed by third-party sources.
Who is affected?
WordPress affected before 7.1.2.
What should we do?
Patch immediately, validate internet-facing exposure, and monitor for matching requests.
Overview
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.
Exploitation evidence
Third-party attestation and first-party sensor observation are shown separately so teams can judge the evidence chain.
Previdian
Previdian independently recorded this as exploited after first seeing it in honeypot sensors.
Previdian sensor
Previdian first observed exploitation attempts targeting this vulnerability in our honeypot sensors.
Pruva
Public scanner or PoC coverage increases practical exploitability.
Per-source evidence links for KEV attestations are available through the Previdian Pro API.
Learn about Pro API access| Source | Added |
|---|---|
| Previdian Sensors First | 2026-09-23 12:53 UTC |
| The Hacker News | 2026-09-24 06:30 UTC |
| CISA | 2026-09-25 19:40 UTC |
| CVE | 2026-09-25 19:51 UTC |
| Security Affairs | 2026-09-26 09:21 UTC |
Operational indicators for this CVE are listed under Detection.
Sensor telemetry
Previdian sensors recorded exploitation attempts targeting this vulnerability. The cards and chart show volume, unique attackers, and daily activity.
5,066
Attempts observed
25
Unique attacker IPs
14
Attacker countries
BG · CH · CN · DE · FR · ID · IL · IN · IR · KR · LT · NL · SG · US
4
Sensors observed
CVE-2026-87902 exploitation attempts over the last 19 days
Daily events observed by Previdian sensors
Updated 10 Oct 2026
First observed 23 Sep 2026 · Last observed 10 Oct 2026
Pro adds sensor region and window summaries. Enterprise adds raw IPs, paths, User-Agents, and payloads.
Detection
Make the evidence actionable in scanner, SOC, and edge-control workflows.
Request targets and User-Agents available in Pro. Callback host details available in Enterprise.
Nuclei template detected 24 Sep 2026.
View Nuclei template (opens in new tab)No Previdian virtual patch is currently available. Future rules ship for ModSecurity, Cloudflare, and AWS WAF.
Learn about virtual patches →Attacker IP indicators observed · available in Pro and Enterprise.
Sensor-derived attacker IP indicators are available to Pro and Enterprise accounts under Detection and through the Pro API.
Learn about Pro API accessScanner and exploit-framework references linked to this CVE.
| Scanner | Reference | Detected |
|---|---|---|
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-87902.yaml | 24 Sep 2026 |
Risk and context
CVSS v3.1
Potential damage if exploited. Separate from whether attackers are using it.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
40.0%
Estimated chance of exploitation in the next 30 days. Previdian's warning comes from evidence, not this score.
Recent mention · ExploitDB
WordPress 7.0.2 - Path Travesal
Read full advisoryRecent mention · ExploitDB
[webapps] WordPress 7.0.2 - Path TravesalExploitDB · 01 Oct 2026
WordPress 7.0.2 - Path Travesal
Recent mention · Security Affairs
Security Affairs newsletter Round 597 by Pierluigi Paganini – INTERNATIONAL EDITIONSecurity Affairs · 27 Sep 2026
A new round of the weekly Security Affairs newsletter has arrived! Every week, the best security articles from Security Affairs are free in your email box. Enjoy a new round of the weekly SecurityAffairs newsletter, including international press. OpenAI Agents Accessed US Government Websites Without Authorization Exploit.in Database Reveals the Roots of Today’s Ransomware Ecosystem […]
Recent mention · Security Affairs
U.S. CISA adds WordPress flaw to its Known Exploited Vulnerabilities catalogSecurity Affairs · 26 Sep 2026
U.S. Cybersecurity and Infrastructure Security Agency (CISA) adds WordPress flaw to its Known Exploited Vulnerabilities catalog. The U.S. Cybersecurity and Infrastructure Security Agency (CISA) added a WordPress Core flaw, tracked as CVE-2026-87902 (CVSS score of 9.2), to its Known Exploited Vulnerabilities (KEV) catalog. CVE-2026-87902 allows an unauthenticated attacker to make the get_page_template() function include a readable local […]
Recent mention · The Hacker News
Attackers Exploit WordPress CVE-2026-87902 Within Hours of DisclosureThe Hacker News · 24 Sep 2026
Ravie LakshmananSep 24, 2026Vulnerability / Web Security Threat actors have begun to actively exploit a critical security flaw in WordPress within hours of public disclosure. The vulnerability in question is CVE-2026-87902 (CVSS score: 9.2), which could allow an unauthenticated attacker to obtain remote code execution (RCE). "An unauthenticated attacker can make get_page_template() page-template resolution include a chosen readable local .php file outside the active theme directories," WordPress said in an advisory released two days ago. "If relevant preconditions for both the server...
Recent mention · SOCRadar
CVE-2026-87902 in WordPress Enables Conditional RCESOCRadar · 23 Sep 2026
CVE-2026-87902 in WordPress Enables Conditional RCE Security updates released for WordPress address CVE-2026-87902 , a severe unauthenticated path traversal flaw within its page-template resolution mechanism. The weaknes
Recent mention · NCSC Security Advisories
NCSC-2026-0389 [1.00] [M/H] Kwetsbaarheid verholpen in WordPressNCSC Security Advisories · 23 Sep 2026
De ontwikkelaars van WordPress hebben een kwetsbaarheid verholpen in WordPress. Een kwaadwillende kan de kwetsbaarheid met kenmerk CVE-2026-87902 misbruiken, om zonder authenticatie een lokaal PHP-bestand buiten de actieve themamappen door WordPress te laten inladen. Onder bepaalde voorwaarden met betrekking tot het actieve thema en de serverconfiguratie kan de kwetsbaarheid leiden tot het uitvoeren van willekeurige code op de server. Hierdoor kan een kwaadwillende mogelijk toegang krijgen tot gevoelige gegevens, wijzigingen aanbrengen of verdere controle verkrijgen over de getroffen...
Recent mention · Security Affairs
CVE-2026-87902: how close is your WordPress to remote code execution?Security Affairs · 23 Sep 2026
WordPress 7.1.2 fixes an unauthenticated file inclusion bug active since version 4.7, patchable but exploitable into remote code execution. WordPress 7.1.2 shipped on September 22 address an unauthenticated local file inclusion, tracked as CVE-2026-87902 (CVSS score of 9.2), which stems of how the CMS resolves page templates, with a real path to remote code execution. […]
Recent mention · Wordfence
PSA: Critical Unauthenticated Path Traversal Vulnerability Patched in WordPress CoreWordfence · 22 Sep 2026
WordPress has released security updates for a critical unauthenticated path traversal vulnerability that can lead to local PHP file inclusion and, on affected server and theme configurations, remote code execution. Site owners should update WordPress Core immediately. The post PSA: Critical Unauthenticated Path Traversal Vulnerability Patched in WordPress Core appeared first on Wordfence.
Recent mention · The Hacker News
WordPress Issues Patch for Critical Flaw That Can Enable Code Execution on Some ServersThe Hacker News · 22 Sep 2026
WordPress has fixed a critical flaw in its core software that lets an attacker with no account make a site load a PHP file from outside its theme folders. On some servers, that can go further, allowing the attacker to run their own code. The fix shipped on September 22 in WordPress 7.1.2, with fixes for every branch the project still supports, back to 4.7, and WordPress is telling site owners
These PoCs are unverified and could contain malware. Use at your own risk.
github · Created 2026-09-29 20:17:47 UTC · 0 stars · AI assessment 85%
XWP_RCE — CVE-2026-87902 Hacker Console
github · Created 2026-09-28 21:18:39 UTC · 0 stars · AI assessment 90%
CVE-2026-87902 — WordPress Core LFI → RCE
github · Created 2026-09-28 17:11:29 UTC · 0 stars · AI assessment 85%
CVE-2026-87902 — WordPress Core LFI → RCE by Hackfut
github · Created 2026-09-27 20:18:56 UTC · 0 stars · AI assessment 90%
Exploit para explotar la vulnerabilidad CVE-2026-87902 que se acontece en el core de WordPress
github · Created 2026-09-27 12:03:13 UTC · 1 stars · AI assessment 90%
Unauthenticated LFI and conditional RCE scanner for CVE-2026-87902 in WordPress Core (4.7.0 – 7.1.1).
github · Created 2026-09-26 15:15:55 UTC · 0 stars · AI assessment 90%
CVE-2026-87902
github · Created 2026-09-25 19:22:36 UTC · 0 stars · AI assessment 85%
WordPress CVE-2026-87902 diagnostic check
github · Created 2026-09-25 01:06:33 UTC · 0 stars · AI assessment 85%
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.
github · Created 2026-09-25 00:56:30 UTC · 0 stars · AI assessment 85%
Proof of concept for vulnerability CVE-2026-87902 in Wordpress
github · Created 2026-09-25 00:56:30 UTC · 0 stars · AI assessment 90%
Proof of concept for vulnerability CVE-2026-87902 in Wordpress
1dayexploit · Created 2026-09-24 15:30:00 UTC
CVE-2026-87902 is an unauthenticated WordPress path traversal enabling arbitrary local PHP file inclusion, chainable to remote code execution via the PEAR gadget.
github · Created 2026-09-23 19:21:48 UTC · 1 stars · AI assessment 90%
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
github · Created 2026-09-23 15:43:38 UTC · 1 stars · AI assessment 90%
CVE-2026-87902: PoC for WordPress's critical path traversal
github · Created 2026-09-23 11:54:00 UTC · 0 stars · AI assessment 90%
WordPress Core <= 7.1.1 unauthenticated LFI to RCE - validation lab, PoC, nuclei template (GHSA-7hp8-65ch-5whp)
github · Created 2026-09-23 11:03:07 UTC · 0 stars · AI assessment 85%
github · Created 2026-09-22 22:58:47 UTC · 0 stars · AI assessment 90%
pruva · Created 2026-09-22 19:34:54 UTC
Severity: CRITICAL | GHSA: GHSA-7hp8-65ch-5whp | CVE: CVE-2026-87902 | Package: WordPress/wordpress-develop
github · Created 2026-09-22 18:32:56 UTC · 1 stars · AI assessment 90%
Unauthenticated RCE on Wordpress
github · Created 2026-09-22 18:13:48 UTC · 1 stars · AI assessment 85%
CVE-2026-87902 - WordPress - WordPress Core - High 8.1 - Unauthenticated GET /?page_id={id}&pagename=templates%252... - Unauthenticated Local File Inclusion (conditional RCE)
nuclei · Created Unknown
Timeline
09:21 UTC
Exploitation attested by an external source
19:51 UTC
Exploitation attested by an external source
19:40 UTC
Listed in the CISA Known Exploited Vulnerabilities catalog
06:30 UTC
Exploitation attested by an external source
04:30 UTC
Scanner coverage available
12:32 UTC
Indicators of compromise recorded
12:32 UTC
Evidence-backed exploitation signal
18:45 UTC
Pro and Enterprise Watch users had 3 days of early warning before CISA KEV. Also 1 day before Previdian confirmed it as a KEV.
18:13 UTC
Public proof-of-concept code published
16:44 UTC
Vulnerability disclosed publicly
15:00 UTC
Identifier reserved by the CNA
Pro API
Confidence, exploit status, sensor telemetry, PoCs, scanner integrations, mentions, and tags are available programmatically for VM, SOC, and CTI workflows.
GET /api/v2/pro/kevs/CVE-2026-87902
Free JSON includes basic KEV fields{
"cve_id": "CVE-2026-87902",
"confidence": "Confirmed",
"cvss_score": 8.1,
"cvss_estimated": false,
"epss_score": 0.39979,
"exploit_status": {
"exploited_in_the_wild": true,
"active_exploitation_observed": true
},
"sensor_telemetry": { "attempts": 5066, "sensors": 4 }
}