Home / WordPress / WordPress / CVE-2026-87902
CVE-2026-87902: is it exploited, and which versions of WordPress are affected and fixed?
CVE-2026-87902 is a PHP file inclusion vulnerability in WordPress, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on September 25, 2026, with a federal due date of September 28, 2026. Affected: WordPress before 7.1.2 (CVE record by hackerone). Fixed in 7.1.2 (CVE record by hackerone). Severity: High (8.1, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 06:08 UTC, CVE record November 19, 2026, 07:06 UTC and NVD November 19, 2026, 07:07 UTC.
What is CVE-2026-87902?
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.
From the CVE record by hackerone, last updated September 26, 2026, 03:55 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| WordPress | WordPress | before 7.1.2 | 7.1.2 |
As the CVE record by hackerone states it, last updated September 26, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| wordpress | wordpress | before 4.7.37 | application |
| wordpress | wordpress | from 4.8 before 4.8.32 | application |
| wordpress | wordpress | from 4.9 before 4.9.33 | application |
| wordpress | wordpress | from 5.0 before 5.0.29 | application |
| wordpress | wordpress | from 5.1 before 5.1.26 | application |
| wordpress | wordpress | from 5.2 before 5.2.28 | application |
| wordpress | wordpress | from 5.3 before 5.3.25 | application |
| wordpress | wordpress | from 5.4 before 5.4.23 | application |
| wordpress | wordpress | from 5.5 before 5.5.22 | application |
| wordpress | wordpress | from 5.6 before 5.6.21 | application |
| wordpress | wordpress | from 5.7 before 5.7.19 | application |
| wordpress | wordpress | from 5.8 before 5.8.17 | application |
| wordpress | wordpress | from 5.9 before 5.9.18 | application |
| wordpress | wordpress | from 6.0 before 6.0.16 | application |
| wordpress | wordpress | from 6.1 before 6.1.14 | application |
| wordpress | wordpress | from 6.2 before 6.2.13 | application |
| wordpress | wordpress | from 6.3 before 6.3.12 | application |
| wordpress | wordpress | from 6.4 before 6.4.12 | application |
| wordpress | wordpress | from 6.5 before 6.5.12 | application |
| wordpress | wordpress | from 6.6 before 6.6.9 | application |
| wordpress | wordpress | from 6.7 before 6.7.9 | application |
| wordpress | wordpress | from 6.8 before 6.8.10 | application |
| wordpress | wordpress | from 6.9 before 6.9.9 | application |
| wordpress | wordpress | from 7.0 before 7.0.6 | application |
| wordpress | wordpress | from 7.1 before 7.1.2 | application |
NVD analysis (status Analyzed), last modified September 28, 2026, 12:20 UTC.
How severe is CVE-2026-87902?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-87902 exploited in the wild?
- CISA KEV
- Listed as WordPress Core Remote File Inclusion Vulnerability, added September 25, 2026; federal agencies must act by September 28, 2026
- 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.
- Ransomware use
- Unknown
- CISA's summary
- WordPress Core contains a remote file inclusion vulnerability which could allow an unauthenticated attacker to make page-template resolution include a chosen readable local `.php` file outside the active theme directories, leading to remote code execution.
- CISA SSVC
- Exploitation: active; automatable: no; technical impact: total (CISA ADP, September 25, 2026)
- EPSS
- 95.8% probability of exploitation activity in the next 30 days, percentile 99.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program
Is there a workaround? (from the CVE record)
WordPress 7.1.2 has been released containing a fix for the vulnerability, and as a courtesy to users on older branches the fix has been backported to all branches back to 4.7.
Where are the vendor advisories and 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
Who found and reported it?
- Robert (ressl) (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- September 9, 2026
- Published
- September 22, 2026, 16:44 UTC
- CVE record updated
- September 26, 2026, 03:55 UTC by hackerone
- NVD
- Analyzed, last modified September 28, 2026, 12:20 UTC
- Last checked
- CVE list November 19, 2026, 07:06 UTC; NVD November 19, 2026, 07:07 UTC; KEV December 3, 2026, 06:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD · CISA KEV
What other CVEs affect WordPress?
- Jul 17, 2026CVE-2026-60137 WordPress: SQL injection exploited
- Jul 17, 2026CVE-2026-63030 WordPress: interpretation Conflict exploited
- Dec 30, 2016CVE-2016-10033 Phpmailer Project Phpmailer: argument injection exploited
- Aug 17, 2026CVE-2026-65640 WordPress: unrestricted file upload
- Aug 7, 2026CVE-2026-64638 WordPress: cross-site scripting (XSS)
- Sep 23, 2025CVE-2025-58674 WordPress: cross-site scripting (XSS)
- Sep 23, 2025CVE-2025-58246 WordPress: information disclosure in sent data
- Jul 21, 2025CVE-2025-54352 WordPress: incorrect resource transfer
Questions about CVE-2026-87902
Is CVE-2026-87902 exploited in the wild?
Yes. CISA added CVE-2026-87902 to its Known Exploited Vulnerabilities catalog on September 25, 2026 and set federal agencies a due date of September 28, 2026. FIRST's EPSS gives it a 95.8% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of WordPress are affected by CVE-2026-87902?
WordPress before 7.1.2, per the CVE record by hackerone. The tables above give every range the sources list.
Which version fixes CVE-2026-87902?
7.1.2, per the CVE record by hackerone. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-87902?
High (8.1, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2026-87902?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.