CVE-2026-87902

published 22 Sep 2026 · updated 26 Sep 2026

WordPress Core Remote File Inclusion Vulnerability

10.0CriticalCVSS 8.1EPSS 96%CISA KEV · due 28 Sep 20265 public exploits

Exploited in the wild, in CISA KEV since 25 Sep 2026 (due 28 Sep 2026), with 5 public exploits. Fixed in WordPress 7.1.2.

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.

Briefing

Written from the sources below · deepseek-v4.1-flash

CVE-2026-87902 is an unauthenticated local file inclusion in WordPress Core via get_page_template() page-template resolution, potentially leading to RCE when server and active theme pre-conditions are met. It affects WordPress Core.

Why it mattersExploitation is confirmed and listed in CISA KEV, with public exploit material and EPSS 96%, so exposure is high for unpatched sites.

ActionUpgrade WordPress Core per the 7.1.2 release guidance, then check for indicators of template file inclusion.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
WordPressCore
WordPressWordPress<7.1.27.1.2

Exploit evidence

5 public sources

kev
vendor

Vendor advisories

WordPress

Coverage

News and research mentioning this CVE

Research blogs·research

Timeline

Every event on this vulnerability

PublishedCVE-2026-87902·
CVE-2026-87902 is an unauthenticated local file inclusion in WordPress Core via get_page_template() page-template resolution, potentially leading to RCE when server and active theme pre-conditions are met. It affects WordPress Core.
7.0High3 sources

Related

Other vulnerabilities in Core, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-87902 severity on Zeptric[![CVE-2026-87902](https://zeptric.io/badge/cve/CVE-2026-87902.svg)](https://zeptric.io/cve/CVE-2026-87902)