CVE-2026-87902

HIGHCVSS 8.1/10Actively ExploitedEPSS 2.88%

Last modified

CVE-2026-87902 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. 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.. CISA has confirmed active exploitation in the wild. EPSS estimates a 2.88% chance of exploitation in the next 30 days.

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.

Metrics

EPSS Probability
2.88%

86.3th percentile

Probability of exploitation in the next 30 days. Learn more

Exploitation Status

This vulnerability is listed in CISA’s Known Exploited Vulnerabilities catalog, confirming active exploitation in the wild. Federal agencies must remediate by .

Weakness Enumeration

Affected Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
WordPressWordPress< 7.1.2

References

Timeline

Published
Last Modified
Status
Undergoing Analysis

Frequently Asked Questions

What is 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.
How severe is CVE-2026-87902?
CVE-2026-87902 has a CVSS score of 8.1/10 (HIGH severity). The EPSS model estimates a 2.88% probability of exploitation in the next 30 days. This vulnerability is listed in CISA's Known Exploited Vulnerabilities catalog.
How do I fix CVE-2026-87902?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-87902?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST