8.1highExploited
WordPress Core Remote File Inclusion Vulnerability
- Severity
- 8.1high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 26.7% (higher than 98% of CVEs)
- Published
- Last changed
- Assigned by
- hackerone
- Also known as
- BIT-WORDPRESS-2026-87902BIT-WORDPRESS-MULTISITE-2026-87902GHSA-7hp8-65ch-5whp
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| WordPress WordPress | before 7.1.2, before 4.7.37, from 4.8 before 4.8.32, from 4.9 before 4.9.33, from 5.0 before 5.0.29, from 5.1 before 5.1.26, from 5.2 before 5.2.28, from 5.3 before 5.3.25 and 18 more | CVE List, NVD |
| wordpress (Bitnami) | before 7.1.2 | Bitnami Vulnerability Database |
| wordpress-multisite (Bitnami) | before 7.1.2 | Bitnami Vulnerability Database |
| WordPress Core | Not specified | CISA KEV |
All scores
| CISA-ADP | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation active, automatable no, technical impact total.
What each source says
CVE List
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.
CISA KEV
WordPress Core contains a remote file inclusion vulnerability which could allow an unauthenticated attacker to make page-template resolution include a chosen readable local `.php` file outside the active theme directories, leading to remote code execution.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-87902 changed 2026-09-26 | CVE Terms of Use |
| NVD | CVE-2026-87902 changed 2026-09-28 | Public domain |
| Bitnami Vulnerability Database | BIT-WORDPRESS-2026-87902 changed 2026-11-06 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-WORDPRESS-MULTISITE-2026-87902 changed 2026-11-06 | Apache-2.0 |
| CISA KEV | CVE-2026-87902 changed 2026-09-25 | CC0-1.0 |