WordPress Core
CVE-2026-87902: unauthenticated file inclusion in WordPress core.
An unauthenticated attacker can make WordPress core's page template resolution include a chosen readable PHP file outside the active theme's directories, and where the server and theme preconditions are met that becomes remote code execution. CISA lists it as exploited.
Exploitation
- Exploitation
- Exploited in the wild
- CISA KEV
- Listed 25 Sep 2026
- Federal due date 28 Sep 2026; catalogue read 31 Oct 2026
- EPSS
- 96% in 30 days
- Percentile 100%, scored 29 Oct 2026
- 8.1High, (CVSS 3.1)Scored by NVD
- 96%EPSS, chance of exploitation in 30 daysPercentile 100%; scored 29 Oct 2026
- 22 SepPublished by NVD22 Sep 2026; record read 28 Sep 2026
Versions
Affected and fixed.
.
| Affected | Fixed in |
|---|---|
| Core before 4.7.37 | 4.7.37 |
| Core before 4.8.32 | 4.8.32 |
| Core before 4.9.33 | 4.9.33 |
| Core before 5.0.29 | 5.0.29 |
| Core before 5.1.26 | 5.1.26 |
| Core before 5.2.28 | 5.2.28 |
| Core before 5.3.25 | 5.3.25 |
| Core before 5.4.23 | 5.4.23 |
What to do now
Update WordPress core on every site, including sites an agency runs, and review each one for files that were not yours. The list sits in our digest.
How to check exposure
WordPress prints its version in the dashboard's at a glance panel and in the site's generator tag. The NVD configuration lists fixed releases on every branch from 4.7 upward, among them 4.7.37, 4.8.32, 4.9.33, 5.0.29, 5.1.26, 5.2.28, 5.3.25 and 5.4.23, because the project backported the fix. The WordPress project's advisory GHSA-7hp8-65ch-5whp, opens in a new tab is the primary source.
The preconditions involve the active theme and the server, so two sites on the same release can differ in exposure; the update removes the question.
Who this reaches in Australia
WordPress is the website of most Australian small firms, practices and associations, almost always managed by someone else. An exploited flaw in core reaches every one of them, and the EPSS score reflects how widely it was probed after the patch shipped.
Under the Essential Eight the fix is patch applications for an internet-facing service within 48 hours. The PHP runtime flaws of October sit a layer below, in the runtime under the site, and updating WordPress fixes neither of those.
Timeline
Disclosed, published, listed, advised.
- : Published by NVD
- : Added to the CISA Known Exploited Vulnerabilities Catalog
- : CISA due date for US federal agencies
- : NVD record last modified
Questions, answered.
Is CVE-2026-87902 exploited?
Yes. CISA added it to the Known Exploited Vulnerabilities Catalog on 25 September 2026 with a 28 September due date.
Which releases fix it?
The WordPress project backported the fix across supported branches; the NVD configuration lists fixed releases from 4.7.37 upward. A site on the current release after the September update carries the fix.
Does it need credentials?
No. The NVD description says an unauthenticated attacker can trigger the inclusion; whether it becomes code execution depends on the server and the active theme meeting the preconditions.
Provenance
Sources, and when they were read.
Every source was read 31 Oct 2026.
- 1NVD, CVE-2026-87902NIST. US Government work, public domain.
- 2CISA, Known Exploited Vulnerabilities CatalogUS Government work, public domain.
- 3FIRST, EPSS score for CVE-2026-87902EPSS terms of use.
- 4Black Shard, Essential Eight assessment
- 5Black Shard, Exploited in August and September 2026: 74 flaws added, from SharePoint to RouterOS
- 6Vendor reference for CVE-2026-87902: github.comgithub.com. terms of use.
