WordPress shipped an emergency security release after researchers found a way for an unauthenticated attacker to pull unexpected PHP files into page-template resolution. Under the wrong theme and server conditions, that becomes remote code execution. The bug is CVE-2026-87902.

Screenshot: WordPress Foundation / Wikimedia Commons (GPL), cropped