Back to CVE records
High 8.1Known exploited (CISA KEV)Published Sep 22, 2026

CVE-2026-87902An unauthenticated attacker can make `get_page_template()` page-template resolution include a chosen readable local `.php` file outside the active theme directories.

Updated under an hour ago ()

Does this affect you?

It affects WordPress. Add what you run to find out whether that includes you.

CISA lists it as known exploited since Sep 25, 2026; federal agencies had to remediate by Sep 28, 2026. Treat that date as your deadline.

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.

CVSS
8.1 HIGH (v3.1, CISA ADP)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-98
Known exploited
Added to CISA KEV Sep 25, 2026; federal remediation due Sep 28, 2026Apply 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.
EPSS (exploitation in the next 30 days)
39.98% (percentile 99)
Assigned by
hackerone
NVD analysis
Analyzed
Record last updated
Sep 26, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
WordPress WordPress
wordpress:wordpress (from the name)
before 7.1.2
CNA record
wordpress wordpress
wordpress:wordpress
before 4.7.37; from 4.8 before 4.8.32; from 4.9 before 4.9.33; from 5.0 before 5.0.29; from 5.1 before 5.1.26; from 5.2 before 5.2.28; from 5.3 before 5.3.25; from 5.4 before 5.4.23; and 17 more ranges
NVD

References

  • vendor-advisory
  • third-party-advisory
  • us-government-resource

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.