CVE-2026-87902
JSON

8.1highExploited

WordPress Core Remote File Inclusion Vulnerability

Severity
8.1high CVSS:3.1 by CISA-ADP
Exploit likelihood
26.7% (higher than 98% of CVEs)
Published
Last changed
Assigned by
hackerone
Also known as
BIT-WORDPRESS-2026-87902BIT-WORDPRESS-MULTISITE-2026-87902GHSA-7hp8-65ch-5whp

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.

Affected

Product or packageVersionsReported by
WordPress WordPressbefore 7.1.2, before 4.7.37, from 4.8 before 4.8.32, from 4.9 before 4.9.33, from 5.0 before 5.0.29, from 5.1 before 5.1.26, from 5.2 before 5.2.28, from 5.3 before 5.3.25 and 18 moreCVE List, NVD
wordpress (Bitnami)before 7.1.2Bitnami Vulnerability Database
wordpress-multisite (Bitnami)before 7.1.2Bitnami Vulnerability Database
WordPress CoreNot specifiedCISA KEV

All scores

CISA-ADP8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-98

SSVC (CISA-ADP): exploitation active, automatable no, technical impact total.

What each source says

CVE List

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.

CISA KEV

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.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-87902 changed 2026-09-26CVE Terms of Use
NVDCVE-2026-87902 changed 2026-09-28Public domain
Bitnami Vulnerability DatabaseBIT-WORDPRESS-2026-87902 changed 2026-11-06Apache-2.0
Bitnami Vulnerability DatabaseBIT-WORDPRESS-MULTISITE-2026-87902 changed 2026-11-06Apache-2.0
CISA KEVCVE-2026-87902 changed 2026-09-25CC0-1.0