CVE-2026-87902
CVSS Score
8.1
EPSS Score
2.9%
EPSS Percentile
86th
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.
| CWE | CWE-98 |
| Vendor | wordpress |
| Product | wordpress |
| Ecosystems | |
| Industries | WebMedia |
| Published | Sep 22, 2026 |
| Last Updated | Sep 26, 2026 |
โ ๏ธ Actively Exploited โ Act Now
Get instant alerts for wordpress wordpress
This vulnerability is actively exploited in the wild. Set up free real-time alerts so you're first to know about threats like CVE-2026-87902.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
WordPress / WordPress
0 < 7.1.2
References
github.com: https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-7hp8-65ch-5whp patchstack.com: https://patchstack.com/articles/cve-2026-87902-attackers-started-probing-wordpress-sites-hours-after-the-patch/ cisa.gov: https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-87902
Credits
Robert (ressl)