Contact us
Vulnerability lookup

CVE-2026-87902

high CVSS 8.1 Exploited in the wild EPSS 40.0%

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.

Versions it affects

Software versions checked with the free lookup that CVE-2026-87902 applies to, and the release that fixes it where the sources name one.

At a glance

Severity
High
CVSS base score
8.1 out of 10
Known exploited
Yes: listed in CISA's catalogue of vulnerabilities exploited in the wild
EPSS
40.0% probability of exploitation in the next 30 days, higher than 99% of scored vulnerabilities
Weakness
CWE-98
Published
2026-09-22

Is this running somewhere in your estate?

The Vulnerability Reporter inventories every machine and tells you when an advisory like this one applies to you.