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.

