CVE-2026-87902
WordPress Core Remote File Inclusion Vulnerability
WordPress·Core
- Added
- Sep 25, 2026
- Fix due
- Sep 28, 2026
- Ransomware
- Not known
- Published
- Sep 22, 2026
- Updated
- Sep 26, 2026
- First covered
- Sep 24, 2026
- Latest story
- 2 months ago
Summary
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.
CWE-98Remote File Inclusion
Attack profile
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HCISA 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.
Affected products
- WordPressbefore 7.1.2