CVE-2026-87902
HighExploitedPublic exploitAn unauthenticated attacker can make get_page_template() page-template resolution include a chosen readable local .php file outside the active theme directories.
Published Sep 22, 2026 · Updated Oct 1, 2026 · Also known as 6ff76d9b-aa12-4391-90cd-f9df36d4a3a5, BIT-wordpress-2026-87902, BIT-wordpress-multisite-2026-87902, EUVD-2026-84555, TR-26-1350
Key Facts
Patch immediately- CVE-2026-87902 is a high-severity vulnerability (CVSS 8.1 v3.1) affecting WordPress, wordpress-6 (minimos), wordpress-7 (minimos) and 1 more product.
- It is exploited in the wild, listed in CISA KEV, Industry KEV feed, CIRCL KEV, ENISA EUVD since Sep 22, 2026. Public exploit code is available.
- EPSS estimates a 40% probability of exploitation in the next 30 days.
- Fixed versions are available, including WordPress 4.7.37, WordPress 4.8.32, WordPress 4.9.33.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
CVSS v3.1
8.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
40%
Higher than 98.6% of all scored CVEs
Exploited in the wild
Yes
4 catalog listings
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2026-87902 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
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.
Known-Exploited Catalog Listings
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| CISA KEV | Sep 25, 2026 | Sep 28, 2026 | Not reported |
| Industry KEV feed | Sep 22, 2026 | Sep 28, 2026 | Not reported |
| CIRCL KEV | Sep 23, 2026 | Sep 28, 2026 | Not reported |
| ENISA EUVD | Sep 23, 2026 | n/a | Not reported |
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.
Affected Products
13 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| WordPressWordpress | >= 4.7 | 4.7.37 |
| wordpress-6minimos | See advisory | 6.9.9-r0 |
| wordpress-7minimos | See advisory | 7.1.2-r0 |
| wordpress-multisitebitnami | See advisory | 4.7.37 |
Patched Releases
WordPress
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.8.10+dfsg1-0+deb13u1, 6.9.9, 7.0.6, 7.1.2, 7.1.2+dfsg1-1
wordpress-6
6.9.9-r0
wordpress-7
7.1.2-r0
wordpress-multisite
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
Timeline
Publicly disclosed
Sep 22, 2026
Added to Industry KEV feed
Sep 22, 2026
Added to CIRCL KEV
Sep 23, 2026
Added to ENISA EUVD
Sep 23, 2026
Added to CISA KEV
Sep 25, 2026
Last updated
Oct 1, 2026
Weakness Type
- CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')
References
- advisoryhttps://core.trac.wordpress.org/changeset/63792
- advisoryhttps://feedly.com/cve/CVE-2026-87902
- advisoryhttps://github.com/joaovicdev/EXPLOIT-CVE-2026-87902
- advisoryhttps://github.com/ressl/cve-2026-87902-poc
- advisoryhttps://socprime.com/blog/cve-2026-87902-critical-wordpress-core-rce-flaw/
FAQ
Common Questions.
An unauthenticated attacker can make get_page_template() page-template resolution include a chosen readable local .php file outside the active theme directories.
Affected: WordPress versions >= 4.7; wordpress-6 (minimos); wordpress-7 (minimos), among others. The full list is in the CVE brief.
It is exploited in the wild, listed in CISA KEV, Industry KEV feed, CIRCL KEV, ENISA EUVD since Sep 22, 2026.
Yes. It was added on Sep 25, 2026 with a federal remediation due date of Sep 28, 2026.
Public exploit code is available.
Fixed versions are available, including WordPress 4.7.37, WordPress 4.8.32, WordPress 4.9.33.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2026-87902 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo