WordPress - LFI (CVE-2026-87902)
Active exploitation with moderate targeting or momentum
Prioritize patching. Consider deploying a blocklist for affected CVEs.
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.
psychologyCrowdSec Analysis
CVE-2026-87902 is a high-severity local file inclusion vulnerability in WordPress that allows unauthenticated attackers to cause page-template resolution to include a chosen readable local PHP file outside the active theme directories. Under specific server and theme conditions, successful exploitation could enable remote code execution, potentially leading to unauthorized access, data disclosure, and complete system compromise.
CrowdSec has been tracking this vulnerability and its exploits since 23rd of September 2026.
CrowdSec network data shows that most actors exploiting CVE-2026-87902 rely on broad, untargeted scans with minimal filtering. The activity is largely automated and opportunistic in nature. Data from the CrowdSec community also indicates a gradual decrease in attacks targeting CVE-2026-87902. While still present in the wild, exploitation levels have dropped noticeably week-over-week. This may signal that the vulnerability is becoming less relevant or that defenses are improving fast enough for attackers to lose interest.
Attackers target the WordPress root endpoint (/?page_id=...) using the pagename parameter with double URL-encoded directory traversal sequences (%252F%252E%252E%252F) to escape theme directories. The traversal attempts to include readable PHP files such as wp-includes/theme-compat/footer or wp-links-opml, potentially enabling local file disclosure or remote code execution.
Exploitation Timeline
groupSignals collected from the CrowdSec community network.
| Event | Date |
|---|---|
| CVE Published | 2026-09-22 |
| CrowdSec First Seen | 2026-09-22 |
| Rule Released | 2026-09-23 |
| Insufficient Datatrending_upEarly Exploitation | 2026-09-24 |
| CISA KEV | 2026-09-25 |
| Early Exploitationtrending_upRapid Escalation | 2026-09-25 |
| CISA Remediation Deadline | 2026-09-28 |
Active Attackers
Unique IPs observed exploiting this CVE in the last 14 days.
Remediation & Protection
codeAPI Access
Retrieve full intelligence data for CVE-2026-87902