CVE-2026-87902
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
22/09/2026
Last modified:
28/09/2026
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.
Impact
Base Score 3.x
8.10
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:* | 4.7.37 (excluding) | |
| cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:* | 4.8 (including) | 4.8.32 (excluding) |
| cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:* | 4.9 (including) | 4.9.33 (excluding) |
| cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:* | 5.0 (including) | 5.0.29 (excluding) |
| cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:* | 5.1 (including) | 5.1.26 (excluding) |
| cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:* | 5.2 (including) | 5.2.28 (excluding) |
| cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:* | 5.3 (including) | 5.3.25 (excluding) |
| cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:* | 5.4 (including) | 5.4.23 (excluding) |
| cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:* | 5.5 (including) | 5.5.22 (excluding) |
| cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:* | 5.6 (including) | 5.6.21 (excluding) |
| cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:* | 5.7 (including) | 5.7.19 (excluding) |
| cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:* | 5.8 (including) | 5.8.17 (excluding) |
| cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:* | 5.9 (including) | 5.9.18 (excluding) |
| cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:* | 6.0 (including) | 6.0.16 (excluding) |
| cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:* | 6.1 (including) | 6.1.14 (excluding) |
To consult the complete list of CPE names with products and versions, see this page


