Vulnerability in WordPress

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.958 (99.9th percentile), scored .

Very high probability of exploitation in the next 30 days — among the top 0.1% most-likely-to-be-exploited CVEs. 100th percentile — 99.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-87902: rose from 0.400 to 0.958.

EPSS over last 30 days · oldest: 0.400 · newest: 0.958 · change: +0.558

Affected products

Weakness classification (CWE)

CISA KEV (Known Exploited Vulnerabilities)

This CVE is on the CISA KEV catalog, added on . CISA KEV inclusion means CISA has confirmed in-the-wild exploitation; US federal agencies are required to remediate within a published due date.

BOD 22-01 due date: .

Required action: Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2026-87902?
CVE-2026-87902 is a high-severity vulnerability in WordPress, classified under PHP Remote File Inclusion. CVSS score: 8.1/10. Published 2026-09-22.
How severe is CVE-2026-87902?
High severity. CVSS v3 base score is 8.1 out of 10.
Is CVE-2026-87902 known to be exploited?
Yes. CVE-2026-87902 is listed in the CISA Known Exploited Vulnerabilities catalog (added 2026-09-25), indicating it is being actively exploited. 28 public proof-of-concept repositories are indexed.