CVE-2026-87902

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.

Severity
HIGH
CVSS v3
8.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H · source adp
Exploit chance (EPSS)
95.769%
chance of exploitation in the next 30 days
higher than 99.9% of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2026-09-25
Public exploit code
Yes
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 1
Exploit-DB: 1

Weakness

CISA Known Exploited Vulnerabilities entry

Vulnerability nameWordPress Core Remote File Inclusion Vulnerability
Vendor / productWordPress / Core
Date added2026-09-25
Federal remediation due date2026-09-28
Required actionApply 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.
Known ransomware campaign useUnknown

CISA SSVC decision points

Exploitationactive
Automatableno
Technical impacttotal
Scored2026-09-25

Timeline

  1. 2026-09-22Published by the CNA16:44 UTC
  2. 2026-09-25Added to the CISA KEV catalog3 days after publication
  3. 2026-09-25CISA SSVC decision recorded3 days after publication
  4. 2026-10-01First Exploit-DB entry (EDB-ID 52690)9 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

Exploit-DBTypePlatformPublishedEDB-verified
EDB-ID 52690webappsmultiple2026-10-01no

Nuclei templates:

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
wordpress wordpressbefore 4.7.37fixed in 4.7.37from 4.8 before 4.8.32fixed in 4.8.32from 4.9 before 4.9.33fixed in 4.9.33from 5.0 before 5.0.29fixed in 5.0.29from 5.1 before 5.1.26fixed in 5.1.26(+20 more)4.7.374.8.324.9.335.0.295.1.26

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources