Skip to main content
UNIFIED SOC INCIDENT RESPONSE BLUEPRINT

WordPress Core RCE Flaw CVE-2026-87902 Exploited in the Wild

Adversaries are actively exploiting a critical path traversal flaw (CVE-2026-87902) in WordPress Core to execute remote commands via abused pearcmd components.

Detection & Hunting Detectors (1)

[T1595.002] WordPress Core RCE Flaw CVE-2026-87902 Exploited in the Wild Hunt QueryStandalone Rule
// 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 desc

Verified Indicators of Compromise (5)

Indicators of Compromise (IOCs)
5 Identified
FILE-PATH/tmp/poc87902.php
FILE-PATH/tmp/wp-pear-rce-flag.php
IP2001:df1:e8c0::106b
IP169.58.48.195
IP169.58.48.193