CVE-2026-87902
Exploitation confirmed. First attested on 2026-09-23 by CISA-ADP, CISA KEV, ENISA EUVD, GCVE · enisa-cnw-kev, GCVE · previdian.
- Published2026-09-22
- Fixed in7.1.2 · 7.0.6 · 6.9.9 · 6.8.10 · 6.7.9 · 6.6.9
- WeaknessCWE-98
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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
dates in UTC- 2026-09-2217:17CVE publishedNVD
- 2026-09-23Reported as exploited by ENISA (EUVD)ENISA EUVD
- 2026-09-23Listed as exploited by GCVEGCVE
- 2026-09-23Exploitation first reportedGCVE
- 2026-09-25Added to the CISA KEV catalogCISA KEV
- 2026-09-2519:40SSVC exploitation set to activeCISA-ADP
- 2026-10-01Exploit-DB entryExploit-DB
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 7.1 | ≥ 7.1, < 7.1.2 | 7.1.2 | NVD |
| 7.1 | < 7.1.2 | 7.1.2 | OSV |
| 7.0 | ≥ 7.0, < 7.0.6 | 7.0.6 | NVD |
| 6.9 | ≥ 6.9, < 6.9.9 | 6.9.9 | NVD |
| 6.8 | ≥ 6.8, < 6.8.10 | 6.8.10 | NVD |
| 6.7 | ≥ 6.7, < 6.7.9 | 6.7.9 | NVD |
| 6.6 | ≥ 6.6, < 6.6.9 | 6.6.9 | NVD |
| 6.5 | ≥ 6.5, < 6.5.12 | 6.5.12 | NVD |
| 6.4 | ≥ 6.4, < 6.4.12 | 6.4.12 | NVD |
| 6.3 | ≥ 6.3, < 6.3.12 | 6.3.12 | NVD |
| 6.2 | ≥ 6.2, < 6.2.13 | 6.2.13 | NVD |
| 6.1 | ≥ 6.1, < 6.1.14 | 6.1.14 | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As hackerone, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- WordPressother versions: not affectedAffected
- < 7.1.2fixed in 7.1.2semver
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-09-22
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- wordpressUbuntu:26.10all versions · no fixed version listed
- wordpressUbuntu:26.04:LTSall versions · no fixed version listed
- wordpressUbuntu:24.04:LTSall versions · no fixed version listed
- wordpressUbuntu:22.04:LTSall versions · no fixed version listed
- wordpressUbuntu:20.04:LTSall versions · no fixed version listed
- wordpressUbuntu:18.04:LTSall versions · no fixed version listed
- wordpressUbuntu:16.04:LTSall versions · no fixed version listed
- wordpressDebian:14all versions · fixed in 7.1.2+dfsg1-1
4 more package ranges on OSV.dev
Vendor advisories
- CVE-2026-87902 Red Hat Product Security
wordpress: WordPress: Remote code execution via page template resolution vulnerability
Fix
- Update WordPress to 7.1.2 · 7.0.6 · 6.9.9 · 6.8.10 · 6.7.9 · 6.6.9 · 6.5.12 · 6.4.12
- CISA’s required action: 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.due 2026-09-28
Advisories and patches
- github.comVendor Advisory
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- available ProjectDiscovery
- Proof of concept
- PoC-in-GitHub20 repositories, unverifiedknown since 2026-11-01abraxas/CVE-2026-87902vulpecuna/CVE-2026-87902ressl/cve-2026-87902-pocpwnVader/CVE-2026-87902-PoC-pwnVaderrabakuku/CVE-2026-87902-A-working-PoC-for-WordPress-s-critical-path-traversal
- Metasploit modules
- none listed Metasploit Framework
CISA Known Exploited Vulnerability
- Date Added
- 2026-09-25
- Patch Due Date
- 2026-09-28
- Ransomware Use
- Unknown
- Required Action
- 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.
Sources
- NVDCVE recordread 2026-10-23
- CISA KEVKEV entry2026-09-25
- ENISA EUVDexploitation2026-09-232026-09-23
- GCVEexploitation2026-09-23
- CISA-ADPSSVC decisionactive2026-09-25
- CISA-ADPCVSS 3.18.12026-09-22
- CNAweakness (CWE)CWE-98known since 2026-10-23
- FIRST EPSSEPSS score95.8 %read 2026-11-09
- PoC-in-GitHubproof of concept20known since 2026-11-01
- Exploit-DBdetectionread 2026-11-09
- ProjectDiscoverydetectionread 2026-11-09
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- BIT-wordpress-2026-87902same flawBitnami · Apache-2.0
- BIT-wordpress-multisite-2026-87902same flawBitnami · Apache-2.0
- EUVD-2026-84555same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-7hp8-65ch-5whpsame flawGitHub Advisory Database · CC-BY-4.0
- MINI-469p-w96q-xx8psame flawMinimOS · LicenseRef-unstated
- MINI-h4qc-wjw9-5pwcsame flawMinimOS · LicenseRef-unstated
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 2026-09-22
- Last Modified
- 2026-09-28
- NVD status
- Analyzed
- GitHub Advisory
- GHSA-7hp8-65ch-5whp
Frequently asked questions
What is CVE-2026-87902?
Is CVE-2026-87902 actively exploited?
What is the CVSS score for CVE-2026-87902?
Running WordPress? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- For a threat intelligence platform: malware, C2 and ransomware indicators over STIX/TAXII.
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA KEV · CC0-1.0 (cisagov/kev-data)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- Exploit-DB · Exploit-DB terms of service · terms restrict redistribution
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GCVE · GCVE dump terms (preserve source attribution)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-7hp8-65ch-5whp
- Nuclei templates · MIT
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0