StraitOfVuln
Latest / CVE-2026-87902

CVE-2026-87902

HighCVSS 8.1 (v3.1)Actively exploited · CISA KEVAnalyzed
CVE.org ↗NVD ↗Vendor advisory ↗

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.

Details

CVE ID
CVE-2026-87902
Published / updated
22 Sept 2026, 17:17 UTC · last modified 28 Sept 2026, 12:20 UTC
Severity
HIGH
CVSS score
8.1 · v3.1 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H · Attack vector: Network
Affected vendor
Affected products
Wordpress
Affected versions
Wordpress: < 4.7.37
Wordpress: ≥ 4.8, < 4.8.32
Wordpress: ≥ 4.9, < 4.9.33
Wordpress: ≥ 5.0, < 5.0.29
Wordpress: ≥ 5.1, < 5.1.26
Wordpress: ≥ 5.2, < 5.2.28
Wordpress: ≥ 5.3, < 5.3.25
Wordpress: ≥ 5.4, < 5.4.23
Wordpress: ≥ 5.5, < 5.5.22
Wordpress: ≥ 5.6, < 5.6.21
Wordpress: ≥ 5.7, < 5.7.19
Wordpress: ≥ 5.8, < 5.8.17
+13 more configurations
Fixed versions
wordpress 4.7.37, wordpress 4.8.32, wordpress 4.9.33, wordpress 5.0.29, wordpress 5.1.26, wordpress 5.2.28, wordpress 5.3.25, wordpress 5.4.23, wordpress 5.5.22, wordpress 5.6.21, wordpress 5.7.19, wordpress 5.8.17, wordpress 5.9.18, wordpress 6.0.16, wordpress 6.1.14, wordpress 6.2.13, wordpress 6.3.12, wordpress 6.4.12, wordpress 6.5.12, wordpress 6.6.9, wordpress 6.7.9, wordpress 6.8.10, wordpress 6.9.9, wordpress 7.0.6, wordpress 7.1.2
Exploitation status
In CISA KEV since 25 Sept 2026 (federal due date 28 Sept 2026). Ransomware use: Unknown.
EPSS
95.77% probability of exploitation in the next 30 days · 100% percentile (02 Dec 2026)
Weakness
Remediation
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.
Source (CNA)
support@hackerone.com
AI plain-English explainer

A short explanation of who is affected, the impact and what to do, written only from this record's data.

AI isn't configured on this server (set AI_PROVIDER and an API key).

Track this software

Add the affected products to your watchlist and get an e-mail when new CVEs list your versions.

+ Wordpress Wordpress

CISA KEV entry

WordPress Core Remote File Inclusion Vulnerability

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.

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.

Notes: https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-7hp8-65ch-5whp ; ; BOD 26-04: https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk ; Forensics Triage Requirements: https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk ; https://nvd.nist.gov/vuln/detail/CVE-2026-87902