THREATOPS
THREAT OPS › Threat News › [NVD] CVE-2026-87902 (HIGH 8.1) — 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.

[NVD] CVE-2026-87902 (HIGH 8.1) — 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.

mednvdPublished 2026-09-22

CVE-2026-87902 CVSS: 8.1 HIGH Published: 2026-09-22T17:17:28.310

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.

Indicators of compromise

Original source: https://nvd.nist.gov/vuln/detail/CVE-2026-87902

Same event, other sources