CVE-2026-87902
WordPress Core RCE Flaw CVE-2026-87902 Exploited in the Wild
Executive Vulnerability Brief & Attack Vector
Adversaries are actively exploiting a critical path traversal flaw (CVE-2026-87902) in WordPress Core to execute remote commands via abused pearcmd components.
Terminal Triage Runbook & Exposure Verification
curl -I -s -k -m 5 "https://TARGET-HOST:PORT/" | grep -Ei "(server|x-powered-by|wordpress)"Quick probe to verify remote server header exposure and identify listening versions without sending destructive payloads.
ss -tulpn | grep -Ei "(80|443|8080|8443|wordpress)" ; ps aux | grep -Ei "wordpress"Inspect active listening sockets and running process arguments on suspected victim hosts to confirm if exposed services are active.
find /tmp /var/tmp /dev/shm -mtime -7 -type f -exec ls -la {} + 2>/dev/nullSearch Linux scratch directories for dropped secondary payloads, ELF droppers, or staged reverse shells executed via this vulnerability.
Production Detection Queries (Sentinel KQL & Sigma)
The flaw abuses get_page_template() resolution with double-encoded payloads, leveraging pearcmd.php to write arbitrary executable PHP webshells to /tmp.
// Microsoft Sentinel / Defender Hunting Query: Detect Web Server File Creation in Temporary Paths and Pearcmd Execution
DeviceFileEvents
| where Timestamp > ago(7d)
| where FolderPath has_any ("/tmp", "/var/tmp", "/dev/shm")
| where FileName endswith ".php"
| where InitiatingProcessFileName in~ ("php-fpm", "httpd", "nginx", "apache2", "php")
| project Timestamp, DeviceName, ActionType, FolderPath, FileName, InitiatingProcessFileName, InitiatingProcessCommandLine
| sort by Timestamp descCampaign Indicators of Compromise (5 IOCs)
Have updated exploit telemetry, unlisted PoC repository, or triage runbook correction for CVE-2026-87902?