Source: BleepingComputer — Hackers start exploiting critical WordPress flaw for code execution
CVE-2026-87902 is a critical (CVSS 9.2) unauthenticated path traversal flaw in WordPress core that is now being actively exploited for remote code execution (RCE).
- Root cause:
get_page_template()can be tricked into including an attacker-chosen local.phpfile outside the active theme directories (via path traversal in thepagenamequery var). - RCE conditions: