CVE-2026-87902 wordpress: WordPress: Remote code execution via page template resolution vulnerability
- Published
- Updated
- Exploit status
- Exploited in the wild (confirmed)
- CISA SSVC
- Actively exploited · automatable: no · technical impact: total
- Technology
- PHPWordPressUbuntuDebian
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.
CISA Known Exploited Vulnerability
- Date added
- 2026-09-25
- Due date (FCEB)
- 2026-09-28
- Ransomware use
- Unknown
Required action
Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.
Upgrade path
9 packages: 4 fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/wordpress(Debian 12) | = 6.1.1+dfsg1-1; = 6.1.6+dfsg1-0+deb12u1; = 6.1.9+dfsg1-0+deb12u1; = 6.2+dfsg1-1 +27 more | No fix listed | No fix yet |
| ubuntu/wordpress(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/wordpress(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/wordpress(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/wordpress(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/wordpress(Debian 13) | < 6.8.10+dfsg1-0+deb13u1; = 6.8.1+dfsg1-1; = 6.8.3+dfsg1-0+deb13u1; = 6.8.3+dfsg1-1 +2 more | 6.8.10+dfsg1-0+deb13u1 | Fixed |
| debian/wordpress(Debian 14) | < 7.1.2+dfsg1-1; = 6.8.1+dfsg1-1; = 6.8.3+dfsg1-1; = 6.9+dfsg1-1 +6 more | 7.1.2+dfsg1-1 | Fixed |
| WordPress | < 4.7.37; < 7.1.2; >= 4.8, < 4.8.32; >= 4.9, < 4.9.33 +22 more | 4.7.37, 4.8.32, 4.9.33, 5.0.29, 5.1.26, 5.2.28, 5.3.25, 5.4.23, 5.5.22, 5.6.21, 5.7.19, 5.8.17, 5.9.18, 6.0.16, 6.1.14, 6.2.13, 6.3.12, 6.4.12, 6.5.12, 6.6.9, 6.7.9, 6.8.10, 6.9.9, 7.0.6, 7.1.2 | Fixed |
| WordPress(WordPress) | >= 4.7, < 4.7.37; >= 4.8, < 4.8.32; >= 4.9, < 4.9.33; >= 5.0, < 5.0.29 +21 more | 4.7.37, 4.8.32, 4.9.33, 5.0.29, 5.1.26, 5.2.28, 5.3.25, 5.4.23, 5.5.22, 5.6.21, 5.7.19, 5.8.17, 5.9.18, 6.0.16, 6.1.14, 6.2.13, 6.3.12, 6.4.12, 6.5.12, 6.6.9, 6.7.9, 6.8.10, 6.9.9, 7.0.6, 7.1.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| WordPress | < 7.1.2 | 7.1.2 |
| WordPress(WordPress) | >= 4.7, < 4.7.37 | 4.7.37 |
| WordPress(WordPress) | >= 4.8, < 4.8.32 | 4.8.32 |
| WordPress(WordPress) | >= 4.9, < 4.9.33 | 4.9.33 |
| WordPress(WordPress) | >= 5.0, < 5.0.29 | 5.0.29 |
| WordPress(WordPress) | >= 5.1, < 5.1.26 | 5.1.26 |
| WordPress(WordPress) | >= 5.2, < 5.2.28 | 5.2.28 |
| WordPress(WordPress) | >= 5.3, < 5.3.25 | 5.3.25 |
| WordPress(WordPress) | >= 5.4, < 5.4.23 | 5.4.23 |
| WordPress(WordPress) | >= 5.5, < 5.5.22 | 5.5.22 |
| WordPress(WordPress) | >= 5.6, < 5.6.21 | 5.6.21 |
| WordPress(WordPress) | >= 5.7, < 5.7.19 | 5.7.19 |
| WordPress(WordPress) | >= 5.8, < 5.8.17 | 5.8.17 |
| WordPress(WordPress) | >= 5.9, < 5.9.18 | 5.9.18 |
| WordPress(WordPress) | >= 6.0, < 6.0.16 | 6.0.16 |
| WordPress(WordPress) | >= 6.1, < 6.1.14 | 6.1.14 |
| WordPress(WordPress) | >= 6.2, < 6.2.13 | 6.2.13 |
| WordPress(WordPress) | >= 6.3, < 6.3.12 | 6.3.12 |
| WordPress(WordPress) | >= 6.4, < 6.4.12 | 6.4.12 |
| WordPress(WordPress) | >= 6.5, < 6.5.12 | 6.5.12 |
| WordPress(WordPress) | >= 6.6, < 6.6.9 | 6.6.9 |
| WordPress(WordPress) | >= 6.7, < 6.7.9 | 6.7.9 |
| WordPress(WordPress) | >= 6.8, < 6.8.10 | 6.8.10 |
| WordPress(WordPress) | >= 6.9, < 6.9.9 | 6.9.9 |
| WordPress(WordPress) | >= 7.0, < 7.0.6 | 7.0.6 |
Show 77 more
| Product | Affected versions | Fixed in |
|---|---|---|
| WordPress(WordPress) | >= 7.1, < 7.1.2 | 7.1.2 |
| debian/wordpress(Debian:12) | All versions | No fix listed |
| debian/wordpress(Debian:12) | = 6.1.1+dfsg1-1 | No fix listed |
| debian/wordpress(Debian:12) | = 6.1.6+dfsg1-0+deb12u1 | No fix listed |
| debian/wordpress(Debian:12) | = 6.1.9+dfsg1-0+deb12u1 | No fix listed |
| debian/wordpress(Debian:12) | = 6.2+dfsg1-1 | No fix listed |
| debian/wordpress(Debian:12) | = 6.2.1+dfsg1-1 | No fix listed |
| debian/wordpress(Debian:12) | = 6.2.2+dfsg1-1 | No fix listed |
| debian/wordpress(Debian:12) | = 6.3+dfsg1-1 | No fix listed |
| debian/wordpress(Debian:12) | = 6.3.1+dfsg1-1 | No fix listed |
| debian/wordpress(Debian:12) | = 6.3.2+dfsg1-1 | No fix listed |
| debian/wordpress(Debian:12) | = 6.4.1+dfsg1-1 | No fix listed |
| debian/wordpress(Debian:12) | = 6.4.1+dfsg1-1.1 | No fix listed |
| debian/wordpress(Debian:12) | = 6.4.2+dfsg1-1 | No fix listed |
| debian/wordpress(Debian:12) | = 6.4.3+dfsg1-1 | No fix listed |
| debian/wordpress(Debian:12) | = 6.5+dfsg1-1 | No fix listed |
| debian/wordpress(Debian:12) | = 6.5.2+dfsg1-1 | No fix listed |
| debian/wordpress(Debian:12) | = 6.5.3+dfsg1-1 | No fix listed |
| debian/wordpress(Debian:12) | = 6.5.5+dfsg1-1 | No fix listed |
| debian/wordpress(Debian:12) | = 6.6.1+dfsg1-1 | No fix listed |
| debian/wordpress(Debian:12) | = 6.7.2+dfsg1-1 | No fix listed |
| debian/wordpress(Debian:12) | = 6.7.2+dfsg1-1.1 | No fix listed |
| debian/wordpress(Debian:12) | = 6.8.1+dfsg1-1 | No fix listed |
| debian/wordpress(Debian:12) | = 6.8.3+dfsg1-1 | No fix listed |
| debian/wordpress(Debian:12) | = 6.9+dfsg1-1 | No fix listed |
| debian/wordpress(Debian:12) | = 6.9.4+dfsg1-1 | No fix listed |
| debian/wordpress(Debian:12) | = 7.0+dfsg1-1 | No fix listed |
| debian/wordpress(Debian:12) | = 7.0.2+dfsg1-1 | No fix listed |
| debian/wordpress(Debian:12) | = 7.0.3+dfsg1-1 | No fix listed |
| debian/wordpress(Debian:12) | = 7.1+dfsg1-1 | No fix listed |
| debian/wordpress(Debian:12) | = 7.1.1+dfsg1-1 | No fix listed |
| debian/wordpress(Debian:12) | = 7.1.2+dfsg1-1 | No fix listed |
| debian/wordpress(Debian:13) | < 6.8.10+dfsg1-0+deb13u1 | 6.8.10+dfsg1-0+deb13u1 |
| debian/wordpress(Debian:13) | = 6.8.1+dfsg1-1 | No fix listed |
| debian/wordpress(Debian:13) | = 6.8.3+dfsg1-0+deb13u1 | No fix listed |
| debian/wordpress(Debian:13) | = 6.8.3+dfsg1-1 | No fix listed |
| debian/wordpress(Debian:13) | = 6.8.6+dfsg1-0+deb13u1 | No fix listed |
| debian/wordpress(Debian:13) | = 6.8.7+dfsg1-0+deb13u1 | No fix listed |
| debian/wordpress(Debian:14) | < 7.1.2+dfsg1-1 | 7.1.2+dfsg1-1 |
| debian/wordpress(Debian:14) | = 6.8.1+dfsg1-1 | No fix listed |
| debian/wordpress(Debian:14) | = 6.8.3+dfsg1-1 | No fix listed |
| debian/wordpress(Debian:14) | = 6.9+dfsg1-1 | No fix listed |
| debian/wordpress(Debian:14) | = 6.9.4+dfsg1-1 | No fix listed |
| debian/wordpress(Debian:14) | = 7.0+dfsg1-1 | No fix listed |
| debian/wordpress(Debian:14) | = 7.0.2+dfsg1-1 | No fix listed |
| debian/wordpress(Debian:14) | = 7.0.3+dfsg1-1 | No fix listed |
| debian/wordpress(Debian:14) | = 7.1+dfsg1-1 | No fix listed |
| debian/wordpress(Debian:14) | = 7.1.1+dfsg1-1 | No fix listed |
| ubuntu/wordpress(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/wordpress(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/wordpress(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/wordpress(Ubuntu:26.10) | All versions | No fix listed |
| WordPress | < 4.7.37 | 4.7.37 |
| WordPress | >= 4.8, < 4.8.32 | 4.8.32 |
| WordPress | >= 4.9, < 4.9.33 | 4.9.33 |
| WordPress | >= 5.0, < 5.0.29 | 5.0.29 |
| WordPress | >= 5.1, < 5.1.26 | 5.1.26 |
| WordPress | >= 5.2, < 5.2.28 | 5.2.28 |
| WordPress | >= 5.3, < 5.3.25 | 5.3.25 |
| WordPress | >= 5.4, < 5.4.23 | 5.4.23 |
| WordPress | >= 5.5, < 5.5.22 | 5.5.22 |
| WordPress | >= 5.6, < 5.6.21 | 5.6.21 |
| WordPress | >= 5.7, < 5.7.19 | 5.7.19 |
| WordPress | >= 5.8, < 5.8.17 | 5.8.17 |
| WordPress | >= 5.9, < 5.9.18 | 5.9.18 |
| WordPress | >= 6.0, < 6.0.16 | 6.0.16 |
| WordPress | >= 6.1, < 6.1.14 | 6.1.14 |
| WordPress | >= 6.2, < 6.2.13 | 6.2.13 |
| WordPress | >= 6.3, < 6.3.12 | 6.3.12 |
| WordPress | >= 6.4, < 6.4.12 | 6.4.12 |
| WordPress | >= 6.5, < 6.5.12 | 6.5.12 |
| WordPress | >= 6.6, < 6.6.9 | 6.6.9 |
| WordPress | >= 6.7, < 6.7.9 | 6.7.9 |
| WordPress | >= 6.8, < 6.8.10 | 6.8.10 |
| WordPress | >= 6.9, < 6.9.9 | 6.9.9 |
| WordPress | >= 7.0, < 7.0.6 | 7.0.6 |
| WordPress | >= 7.1, < 7.1.2 | 7.1.2 |
References
- WordPress 7.1.2 Release vendor-advisory
- Debian Security Tracker CVE-2026-87902 vendor-advisory
- bugs.debian.org issue-tracking
- github.com vendor-advisory
- patchstack.com third-party-advisory
- www.cisa.gov government-resource us-government-resource
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2538305 issue-tracking
- www.cve.org
- nvd.nist.gov
- www.cisa.gov
- Wordfence Intelligence third-party-advisory
- Ubuntu CVE tracker vendor-advisory
- ENISA EUVD EUVD-2026-84555 third-party-advisory