Skip to content

grep CVE-2026-87902 /var/log/security.log

CVE-2026-87902

WordPress Core Remote File Inclusion Vulnerability

CVSS high 8.1 EPSS 95.7 % KEV: exploited due 2026-09-28 Analyzed

why: in CISA KEV

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.

Published
Last modified
NVD status
Analyzed
Weakness (CWE)
CWE-98

Actively exploited (CISA KEV)

Added to KEV
2026-09-25
Due date (US federal agencies)
2026-09-28
Known ransomware use
unknown
Vendor / product
WordPress · Core

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.

Severity and exploit probability

CVSS base score
high 8.1 CVSS 3.1
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Rated by
ADP (an authorised data publisher, usually CISA)
EPSS
95.7 % probability of exploitation in the next 30 days (percentile 99.8 %) · model of 2026-12-01

Affected products

  • WordPress · Core
  • WordPress · WordPress
1 CPE name
  • cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*

Vendor advisories

Further references

SOURCES

CVE descriptions are shown unchanged, in their original English. No warranty: check the vendor's advisory before you act.