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.
References
| Link | Resource |
|---|---|
| https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-7hp8-65ch-5whp | Vendor Advisory |
| https://patchstack.com/articles/cve-2026-87902-attackers-started-probing-wordpress-sites-hours-after-the-patch/ | Third Party Advisory |
| https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-87902 | US Government Resource |
Configurations
Configuration 1 (hide)
|
History
28 Sep 2026, 12:20
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:* | |
| First Time |
Wordpress
Wordpress wordpress |
|
| References | () https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-7hp8-65ch-5whp - Vendor Advisory | |
| References | () https://patchstack.com/articles/cve-2026-87902-attackers-started-probing-wordpress-sites-hours-after-the-patch/ - Third Party Advisory | |
| References | () https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-87902 - US Government Resource |
25 Sep 2026, 20:17
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
22 Sep 2026, 17:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-09-22 17:17
Updated : 2026-09-28 12:20
NVD link : CVE-2026-87902
Mitre link : CVE-2026-87902
CVE.ORG link : CVE-2026-87902
JSON object : View
Products Affected
wordpress
- wordpress
CWE
CWE-98
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')
