Skip to main content
CRITICAL SEVERITYCVSS 9.8 BaseEPSS 98.4% PercentileCISA KEV EXPLOITED
Disclosed: Sep 24, 2026

CVE-2026-87902

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

Affected Vendors:WordPress
CVSS v3.1 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
PoC Code Status
Public PoC Verified
Sentinel KQL Detectors
1 Queries
Campaign Indicators
5 IOCs

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

1. Remote Attack Surface Fingerprint (cURL Probe)
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.

2. Host-Level Process & Socket Inspection
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.

3. DFIR Artifact & Web Shell Sweep
find /tmp /var/tmp /dev/shm -mtime -7 -type f -exec ls -la {} + 2>/dev/null

Search Linux scratch directories for dropped secondary payloads, ELF droppers, or staged reverse shells executed via this vulnerability.

Production Detection Queries (Sentinel KQL & Sigma)

1 DETECTORS AVAILABLE

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 desc

Campaign Indicators of Compromise (5 IOCs)

Extract & Defang in SOC Workbench
ipWordPress Core RCE Flaw CVE-2026-87902 Exploited in the WildSeen: 2026-09-24
2001:df1:e8c0::106b
file-pathWordPress Core RCE Flaw CVE-2026-87902 Exploited in the WildSeen: 2026-09-24
/tmp/poc87902.php
file-pathWordPress Core RCE Flaw CVE-2026-87902 Exploited in the WildSeen: 2026-09-24
/tmp/wp-pear-rce-flag.php
ipWordPress Core RCE Flaw CVE-2026-87902 Exploited in the WildSeen: 2026-09-24
169.58.48.195
ipWordPress Core RCE Flaw CVE-2026-87902 Exploited in the WildSeen: 2026-09-24
169.58.48.193
CVE_EXPLOIT_DOSSIER_FEEDBACK

Have updated exploit telemetry, unlisted PoC repository, or triage runbook correction for CVE-2026-87902?

Submit CVE Correction →

CyberNewsAI Intelligence Briefs Covering CVE-2026-87902