Actively exploited · Published Sep 22, 2026 · Assigned by hackerone
CVE-2026-87902
High 8.1 Exploited
In plain English
A high-severity security flaw in WordPress from WordPress. Attackers are actively exploiting it in the wild (listed by CISA on September 25, 2026). The chance it is exploited in the next 30 days is estimated at 95.8% (higher than 99.9% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei, public proof-of-concept code. Fixed versions are available - upgrade the affected package.
CISA guidance
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.
Federal agencies must remediate by Sep 28, 2026.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | wordpress | no fix listed | DEBIAN-CVE-2026-87902 |
| Debian:13 | wordpress | 6.8.10+dfsg1-0+deb13u1 | DEBIAN-CVE-2026-87902 |
| Debian:14 | wordpress | 7.1.2+dfsg1-1 | DEBIAN-CVE-2026-87902 |
| Ubuntu:22.04:LTS | wordpress | no fix listed | UBUNTU-CVE-2026-87902 |
| Ubuntu:24.04:LTS | wordpress | no fix listed | UBUNTU-CVE-2026-87902 |
| Ubuntu:26.04:LTS | wordpress | no fix listed | UBUNTU-CVE-2026-87902 |
| Ubuntu:26.10 | wordpress | no fix listed | UBUNTU-CVE-2026-87902 |
Affected products (as reported)
Weakness: CWE-98 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-7hp8-65ch-5whp
- 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 government-resource