CVE-2026-87902
published high CVSS 3.1 · 8.1wordpress: WordPress: Remote code execution via page template resolution vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| WordPress | — | WordPress0 to < 7.1.2 · Other versions: unaffected | Affected | Not stated | hackerone |
| Debian | trixie | wordpress | Advisory build | 6.8.10+dfsg1-0+deb13u1 | DSA-6525-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| WordPress | WordPress | 0 to < 7.1.2 (affected · semver)Default: unaffected | hackerone · cna |
Weaknesses
1- CWE-98 CWE-98 Remote File Inclusion
References
3Provider assertions
2hackerone · cna
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4dc44829006bf9f0cda832cb91b5b7b9414ca8c8c987ad5ba4867e1dafc10e4f
- Ingested
- 30 Sep 2026, 15:34:39 UTC
- Source record
- Official CVE record