# 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.

- Page: https://www.vulneraibility.com/cve/CVE-2026-87902
- CVSS: 8.1
- Known exploited: yes, in CISA KEV since 2026-09-25; CISA due date 2026-09-28
- EPSS: 95.77%
- Public exploit code: 1 on Exploit-DB · 25 GitHub proofs of concept · 1 Nuclei template (first 2026-09-22)
- CISA SSVC: exploitation active, automatable no, technical impact total (assessed 2026-09-25)
- Weakness: CWE-98
- Published: 2026-09-22

## Affected versions

- WordPress: affected < 7.1.2

A version outside these ranges is not a statement that it is unaffected.

## References

- [other] https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-7hp8-65ch-5whp
- [advisory] https://patchstack.com/articles/cve-2026-87902-attackers-started-probing-wordpress-sites-hours-after-the-patch/
- [other] https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-87902

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
