Sovra Recon·Actively exploited
At a glance
CVE-2026-87902 is a high-severity vulnerability (CVSS score 8.1) affecting Core (WordPress). CISA has confirmed that attackers have been exploiting it since September 25, 2026.
An unauthenticated attacker can make `get_page_template()` page-template resolution include a chosen readable local `.php` file outside the active theme directories. If relevant pre-conditions for both the server and the active theme are met, this can lead to RCE.
An attacker with no account can make WordPress include a PHP file present on the server, outside the theme, which can lead to code execution. The vendor specifies that certain server-side and theme-side conditions must be met: not every site is exploitable, but the vulnerability is confirmed as exploited.
Update WordPress core, and take the opportunity to clean up: .php backups, old installation scripts or test files left on the hosting account are precisely the kind of files an inclusion like this goes looking for.
By Solan Barlet, co-founder of Sovra Recon · October 30, 2026
Details
What to do
Official descriptions from NVD and CISA, in their original wording.
The vulnerabilities specific to your application have no CVE. Our AI agents hunt for them by actually attacking your systems.