Vulnerability Description
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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Wordpress | Wordpress | < 4.7.37 |
Related Weaknesses (CWE)
References
- https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-7hp8-65cVendor Advisory
- https://patchstack.com/articles/cve-2026-87902-attackers-started-probing-wordpreThird Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-US Government Resource
FAQ
What is CVE-2026-87902?
CVE-2026-87902 is a vulnerability with a CVSS score of 8.1 (HIGH). 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 bot...
How severe is CVE-2026-87902?
CVE-2026-87902 has been rated HIGH with a CVSS base score of 8.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-87902?
Check the references section above for vendor advisories and patch information. Affected products include: Wordpress Wordpress.