WordPress 7.0.2 was released on 17 July 2026 as an urgent security update.
The release addressed one critical and one high-severity issue: a facilitated SQL-injection vulnerability and a REST API batch-route confusion and SQL-injection issue that could lead to remote code execution. WordPress.org enabled forced automatic updates for affected versions because of the severity.
Affected branches
WordPress 6.9 was affected by both issues and received version 6.9.5. WordPress 6.8 was affected by the first issue and received version 6.8.6. Versions before 6.8 were not affected by these two vulnerabilities.
What site owners should do
- Confirm the site reached the appropriate fixed version; do not assume an automatic update completed.
- Check update and PHP error logs, particularly where filesystem permissions or version-control deployment can prevent background updates.
- Review unusual REST requests, new administrator accounts, changed files and unexpected scheduled tasks if the site was exposed while vulnerable.
- Update staging and development copies too, especially if they are publicly reachable.
Source: the official WordPress 7.0.2 security release announcement.