CVE-2026-87902
High 8.1KEV · exploitedPublic exploitFix availableWordPress Core Remote File Inclusion Vulnerability
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Among the highest-scored CVEs. A prediction, not evidence.
CISA remediation deadline
Passed 54 days ago for U.S. federal agencies
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.
Weakness: CWE-98
Patching and mitigation
- Patch status
- Fix available (source: CVE record (hackerone))
- Fix documented (source date)
- Mitigation
- WordPress 7.1.2 has been released containing a fix for the vulnerability, and as a courtesy to users on older branches the fix has been backported to all branches back to 4.7.
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| WordPress | Core | Not documented | Not documented | CISA KEV |
| WordPress | WordPress | all versions before 7.1.2 | 7.1.2 | CVE Program |
Timeline
Disclosure
CVE record published by hackerone
Source: CVE Program (opens in a new tab)
25 Sep 2026KEV
Added to the CISA Known Exploited Vulnerabilities catalog
Source: CISA KEV (opens in a new tab)
25 Sep 2026Exploitation
Exploitation confirmed by CISA KEV
Source: CISA KEV (opens in a new tab)
Patch
Fix documented by CVE record (hackerone)
Vendor guidance and references
- https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-7hp8-65ch-5whp (opens in a new tab)vendor-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-87902 (opens in a new tab)government
- https://patchstack.com/articles/cve-2026-87902-attackers-started-probing-wordpress-sites-hours-after-the-patch/ (opens in a new tab)third-party-advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-87902 (opens in a new tab)government-resource
- https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk (opens in a new tab)government
- https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk (opens in a new tab)government
Public exploit code
Exploit or proof-of-concept code is publicly available on Exploit-DB. Shown as a prioritization and defensive-testing signal — treat exploit code as hostile and run it only against systems you are authorized to test.