Skip to content
Threat Brief

← All advisories

CVE-2026-87902

High 8.1KEV · exploitedPublic exploitFix available

WordPress Core Remote File Inclusion Vulnerability

Record last updated

CVSS score

8.1

High on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

96%

Among the highest-scored CVEs. A prediction, not evidence.

CISA remediation deadline

54days overdue

Passed 54 days ago for U.S. federal agencies

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.

Weakness: CWE-98

Patching and mitigation

Patch status
Fix available (source: CVE record (hackerone))
Fix documented (source date)
Mitigation
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.
Vendor guidance
github.com (opens in a new tab)

Affected products

VendorProductAffected versionsFixed inPer
WordPressCoreNot documentedNot documentedCISA KEV
WordPressWordPressall versions before 7.1.27.1.2CVE Program

Timeline

  1. Disclosure

    CVE record published by hackerone

    Source: CVE Program (opens in a new tab)

  2. 25 Sep 2026KEV

    Added to the CISA Known Exploited Vulnerabilities catalog

    Source: CISA KEV (opens in a new tab)

  3. 25 Sep 2026Exploitation

    Exploitation confirmed by CISA KEV

    Source: CISA KEV (opens in a new tab)

  4. Patch

    Fix documented by CVE record (hackerone)

    Source: CVE record (hackerone) (opens in a new tab)

Vendor guidance and references

Public exploit code

Exploit or proof-of-concept code is publicly available on Exploit-DB. Shown as a prioritization and defensive-testing signal — treat exploit code as hostile and run it only against systems you are authorized to test.