WordPress Core File Inclusion Flaw Draws Exploit Attempts From Over 30,000 IPs
Active Exploitation · 2 sources · Updated 2mo ago · First seen Oct 9, 2026
WordPress released version 7.1.2 and security backports through the 4.7 branch on September 22, 2026, to fix CVE-2026-87902, an unauthenticated path traversal and local PHP file inclusion vulnerability affecting core versions 4.7.0 through 7.1.1. Crafted page requests using double-encoded traversal in the pagename parameter can cause template resolution to include readable PHP files outside the active theme directory. The flaw can enable remote code execution and complete site compromise, but exploitation requires a compatible top-level page-* directory in the active parent or child theme and suitable local PHP files and configuration; not every vulnerable installation permits code execution. A public exploitation chain uses PEAR to write a PHP payload.
Exploitation attempts reportedly began on the patch release date. CrowdSec recorded 322,680 matching signals during September 23–27 and 30,813 unique source IP addresses by September 28, indicating widespread targeting rather than confirmed compromises. Administrators should install and verify the appropriate fixed release, investigate suspicious pagename requests, and inspect previously exposed sites for malicious PHP files. Firewall protection should supplement patching, not replace it.


