High
CVE-2026-87902
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.
Announced Group revision 1
Original source ↗CVE-2026-87902
Primary source · Revision 3
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-87902
WordPress
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"vendor": "WordPress",
"product": "WordPress",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "7.1.2",
"versionType": "semver"
}
],
"defaultStatus": "unaffected"
}
]- Related CVEs
- CVE-2026-87902
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #59567 · Revision 3
- Added to Heist Feed
- Publisher date