Active Exploitation of Critical WordPress Core Path Traversal Flaw
Active Exploitation · 7 sources · Updated 2mo ago · First seen Sep 30, 2026

WordPress released fixes for CVE-2026-87902, a critical unauthenticated path-traversal/local file inclusion flaw affecting WordPress versions 4.7 through 7.1. The vulnerability abuses page-template resolution via get_page_template() to include attacker-selected readable PHP files outside the active theme directory. In susceptible server and theme configurations, this can enable remote code execution. WordPress 7.1.2 fixes the issue, with patches backported across supported branches; the flaw has a CVSS 3.1 score of 8.1.
Exploitation began shortly after the patch release, with observed traffic increasing tenfold from reconnaissance into attempts to write files to vulnerable servers, including marker payloads intended to identify hosts for subsequent operations. CISA reportedly added the vulnerability to its Known Exploited Vulnerabilities catalog on September 25. Administrators should apply the relevant WordPress update immediately; where remediation is delayed, restrict access and deploy compensating WAF controls. Teams should also review logs and the /tmp/ directory for suspicious files or activity that may predate patching.
Why it matters
The supplied reports describe active exploitation of CVE-2026-87902 against unpatched WordPress sites, with unauthenticated file inclusion escalating to remote code execution under specific theme and PHP configurations. Successful exploitation can compromise website content and data, establish attacker persistence, disrupt services, and expose visitors to malicious content; scanning is broad rather than limited to a named industry.
- Affected populations: Organizations running vulnerable WordPress Core releases across branches 4.7–7.1, including Fedora-packaged installations. CERT.UG/CC highlights government, education, and business sites in Uganda as potentially exposed, not confirmed victims.
- Observed activity: Patchstack reportedly recorded a tenfold increase in exploitation traffic after disclosure, progressing from reconnaissance to file writes and host-marking payloads. Indusface cites honeypot observations of temporary-file writes and PHP uploader retrieval.
- Exploitability: The reported PEAR-based execution chain requires additional theme and PHP conditions. These conditions constrain that chain, but their absence does not establish that a vulnerable site is safe from file inclusion.
- Exploitation status: CSIRT Panama reports CISA KEV inclusion on September 25, 2026; Nessus records list a September 28 remediation deadline, already passed as of October 3.
- Separate incident context: Finland’s NCSC reports ongoing WordPress compromises and July–August malware distribution using ClickFix. Its notice does not identify CVE-2026-87902, and the earlier activity must not be attributed to this September-disclosed flaw.

