CVE-2026-87902
wordpress: WordPress: Remote code execution via page template resolution vulnerability
Overview
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.
Source: OX vulnerability database
Severity
8.1 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-98
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | wordpress | <7.1.2 | 7.1.2 |
| Bitnami | wordpress-multisite | <7.1.2 | 7.1.2 |
Open a package to see all its vulnerabilities.
Operating systems · 7 fixes
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | wordpress | affected |
| 12 | wordpress | affected |
| 13 | wordpress | 6.8.10+dfsg1-0+deb13u1 |
| 14 | wordpress | 7.1.2+dfsg1-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| wordpress | 6.8.10+dfsg1-0+deb13u1 |
minimos 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| wordpress-6 | 6.9.9-r0 | |
| wordpress-7 | 7.1.2-r0 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-87902
- github.com https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-7hp8-65ch-5whp
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-87902
- patchstack.com https://patchstack.com/articles/cve-2026-87902-attackers-started-probing-wordpress-sites-hours-after-the-patch/
- www.cisa.gov https://www.cisa.gov/known-exploited-vulnerabilities-catalog
- www.cisa.gov https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-87902
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-87902
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.