WordPress Security Flaw Allows Unauthenticated Code Execution, Affecting Millions of Sites
A significant security flaw in WordPress, known as wp2shell, has been identified, allowing unauthenticated attackers to execute code on WordPress sites. The flaw consists of two vulnerabilities: CVE-2026-63030, a REST API batch-route confusion, and CVE-2026-60137, a SQL injection in WordPress core. These vulnerabilities can be exploited by an anonymous user to execute code on affected sites. WordPress has released updates 6.9.5 and 7.0.2 to address these issues, enabling forced updates through its auto-update system. The vulnerabilities affect versions 6.9 and 7.0, with the SQL injection going back to version 6.8. The flaw was discovered by Adam Kues at Assetnote and reported through WordPress's HackerOne program. The patch is now public, and a proof-of-concept has been published on GitHub.