CVE-2026-87902 — An unauthenticated attacker can make `get_page_template()` page-template resolut
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
2026-09-22T17:17:28.310
Last modified
2026-09-26T04:17:49.733
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA KEV — Actively Exploited
01What is this vulnerability?
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.
02Affected products
No structured affected-product list available — see references below for vendor advisories.
03Active exploitation status
Yes — actively exploited. Added to the CISA KEV catalog on 2026-09-25. Ransomware use: Unknown.
04Recommended remediation
- Patch to a fixed version listed in the vendor advisory (see references below).
- Mitigate with WAF rules, network egress filters, or feature flags where the patch is not yet available.
- Hunt historical logs for exploitation indicators — see Detection signatures below.
05Technical details
For the full vendor write-up, exploit chains, and reference implementations, see the references list in section 09.
06Detection signatures
Open the Sigma generator with a pre-filled prompt for this CVE to draft a starting detection in your stack of choice:
Open in Sigma generator →
07Related CVEs
No directly-cited follow-up CVEs in the KB record for this advisory. The references list in section 09 carries the vendor cross-references.
08Timeline
- Published: 2026-09-22T17:17:28.310
- Last modified: 2026-09-26T04:17:49.733
- Added to CISA KEV: 2026-09-25
09References
- github.com — https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-7hp8-65c…
- patchstack.com — https://patchstack.com/articles/cve-2026-87902-attackers-started-probing-wordpre…
- www.cisa.gov — https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-…
Want this in your SOAR or SIEM?
SARA's API returns EPSS, CVSS, KEV, and an analyst-grade summary in one call.
Read the API reference →