CVEBrief

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.

Exploited in the wild
Yes, CISA KEV
added September 25, 2026, due 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
Exploit odds (EPSS)
95.8% in 30 days
higher than 100% of CVEs; FIRST, December 2, 2026

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?

VendorProductAffectedFixed or not affected from
WordPressWordPressbefore 7.1.27.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?

VendorProductVersionsType
wordpresswordpressbefore 4.7.37application
wordpresswordpressfrom 4.8 before 4.8.32application
wordpresswordpressfrom 4.9 before 4.9.33application
wordpresswordpressfrom 5.0 before 5.0.29application
wordpresswordpressfrom 5.1 before 5.1.26application
wordpresswordpressfrom 5.2 before 5.2.28application
wordpresswordpressfrom 5.3 before 5.3.25application
wordpresswordpressfrom 5.4 before 5.4.23application
wordpresswordpressfrom 5.5 before 5.5.22application
wordpresswordpressfrom 5.6 before 5.6.21application
wordpresswordpressfrom 5.7 before 5.7.19application
wordpresswordpressfrom 5.8 before 5.8.17application
wordpresswordpressfrom 5.9 before 5.9.18application
wordpresswordpressfrom 6.0 before 6.0.16application
wordpresswordpressfrom 6.1 before 6.1.14application
wordpresswordpressfrom 6.2 before 6.2.13application
wordpresswordpressfrom 6.3 before 6.3.12application
wordpresswordpressfrom 6.4 before 6.4.12application
wordpresswordpressfrom 6.5 before 6.5.12application
wordpresswordpressfrom 6.6 before 6.6.9application
wordpresswordpressfrom 6.7 before 6.7.9application
wordpresswordpressfrom 6.8 before 6.8.10application
wordpresswordpressfrom 6.9 before 6.9.9application
wordpresswordpressfrom 7.0 before 7.0.6application
wordpresswordpressfrom 7.1 before 7.1.2application

NVD analysis (status Analyzed), last modified September 28, 2026, 12:20 UTC.

How severe is CVE-2026-87902?

ScoreVersionVectorSource
High 8.1CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HCISA-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?

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?

Who found and reported it?

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?

Every CVE in WordPress

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.