InfoSecNexus briefing

CVE-2026-87902: WordPress Core Remote File Inclusion Vulnerability

A clean development and systems administration workspace

Known exploitation makes this an urgent exposure review for teams running WordPress Core.

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 Known Exploited Vulnerabilities

Key facts

Verified source facts
Identifier CVE-2026-87902
Affected technology WordPress Core
CVSS A numeric score is not supplied in the collected source record.
Weakness CWE-98 Remote File Inclusion
Exploitation evidence Reported by the linked official source; review exposure immediately.
CISA remediation due date 2026-09-28 (covered US federal civilian agencies)
Primary record CVE CNA: hackerone

Who is affected and which versions are fixed

Affected and fixed versions reported by the sources
Product or package Affected range / status Reported fix Source
WordPress WordPress 0 to < 7.1.2 (version type: semver) [affected] Not stated in this record CVE CNA: hackerone
WordPress WordPress Versions outside the explicitly listed ranges [unaffected] Not stated in this record CVE CNA: hackerone

Compare the exact product, branch, package, platform, and vendor status. An upstream version boundary is not proof that a distribution backport or appliance firmware is vulnerable or fixed.

How the vulnerability works

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. CVE CNA: hackerone

WordPress Core may sit directly on a public website, so a vulnerable core, plugin, or theme can turn a routine content system into an initial-access path.

How to check your systems

Record the exact WordPress core and extension versions, confirm whether the affected feature is enabled, review administrator accounts, and inspect web requests before and after the update.

Continue reading the full briefing.

Updates to this article

  1. Expanded this briefing with attributed primary-source facts, affected-version details, and remediation guidance.

Keep the context

Get the next security briefing.

Security news and practical guidance, delivered by email.

Confirm by email. Unsubscribe any time. Privacy policy

Corrections and tips

Need to add context to this briefing?

Send corrections, security tips, source updates, or collaboration notes through the contact page so the editorial team can review them properly.

Contact InfoSecNexus