Table of contents
On 18 July 2026, wordpress.org released version 7.0.2, patching a critical REST API vulnerability that allowed remote code execution as well as an SQL injection flaw — and for the first time in years it triggered forced automatic updates for all sites, including those with updates disabled. Sites that blocked this mechanism at the code or server level remained vulnerable. The takeaway for site owners: automatic security updates must be enabled, and "we don't update because it works" is no longer an option.
Scenario: Friday, July 17
The day before 7.0.2 was released, the vulnerability had already been publicly described in a report to the security team. Bot scanners started looking for vulnerable sites within hours. Version 7.0.2 came out on Saturday; wordpress.org triggered a forced update that also covered the 6.x branches with the corresponding patches.
Three types of sites we saw in the following days:
| Type of website | What happened | Outcome |
|---|---|---|
| With automatic updates enabled | Updated overnight from Saturday to Sunday | Secure; in isolated cases, a plugin conflict to fix on Monday |
With updates disabled in wp-config.php (AUTOMATIC_UPDATER_DISABLED) | The forced update didn't work | Vulnerable until updated manually — some were updated only weeks later |
| On hosting that blocks outgoing connections or with cron inactive | No updates | Same as above; several cases of break-ins through the REST API |
The technical details of the vulnerability don't matter here. What matters is that the gap between disclosure and the first exploitation attempts is measured in hours, not weeks.
Why the forced update didn't reach everyone
WordPress's automatic update mechanism runs through WP-Cron (triggered when someone visits the site) and requires an outgoing connection to wordpress.org. It won't work when:
- w
wp-config.phpdefine('AUTOMATIC_UPDATER_DISABLED', true);orWP_AUTO_UPDATE_COREis set tofalse— a common "hardening" tip from tutorials, - a security or "optimization" plugin has disabled updates,
- WP-Cron is disabled with no system cron to replace it,
- the hosting provider blocks outbound traffic,
- the site is managed by a system that overwrites files (e.g., a deployment from a repository without a core update).
Each of these cases makes sense in a specific situation — but it requires someone to track security releases manually. If no one does, disabling automatic updates is a mistake.
What to do on your site — today
- Check your version: Dashboard → Updates. Required: 7.0.3 or newer (7.1+). Release context in the article on WordPress 7.
- Check whether automatic updates are working: Tools → Site Health — the section on automatic updates tells you plainly whether they're enabled and what's blocking them.
- If they're disabled — enable them at least for core security releases. That's the WordPress default; disabling them was someone's decision.
- If your site was vulnerable for weeks — check whether it has been compromised: unknown users with the administrator role, files modified in July/August, new posts or redirects. The procedure is in the article WordPress hacked — what now.
- WP-Cron: if disabled — a system cron every 5–15 minutes.
What to enable automatically and what not to
The July incident doesn't change the rule: automatic updates for core security releases — always. Major core releases, WooCommerce, payment gateways, page builders — after testing on a copy. The difference is the scale of risk: a security release rarely breaks anything, while skipping it leaves your site open to known attacks.
| Element | Automatically | Rationale |
|---|---|---|
| Core security releases (7.0.x) | Yes | Critical patches; minimal risk of regression |
| Major core releases (7.0 → 7.1) | After testing | API changes, possible conflicts |
| Security plugins and forms | Yes | Frequent patches, low impact on the front end |
| WooCommerce, payments, builder | No — on staging | Impact on sales |
| Theme | After testing | Appearance |
Testing before every major change — in the article on staging.
An extra layer: what protects you when a patch is late
Automatic updates are a reaction. Three elements that work before a patch is released:
- A web application firewall (WAF) with rules updated by the provider — it blocks known REST API attack patterns before you update the core.
- Restricting the REST API for logged-out users if the site doesn't need it publicly (note: some plugins and Elementor require access — test on staging).
- File change monitoring — an alert when a file that shouldn't be there appears in the core.
The basics are in our WordPress security guide.
What July teaches us — 4 takeaways
- Response time is measured in hours. Updating manually "when you have a spare moment" doesn't fit into that window.
- Disabling automatic updates is a decision that comes with an obligation — someone has to track releases every day.
- Old branches aren't safe — 6.x got the patch, but future ones may not. Updating to 7.x is a must.
- A forced update is a safety net, not a strategy — wordpress.org used it because the scale was exceptional. Don't count on it happening again for every vulnerability.
From our experience
On the weekend of July 18–19, we checked all the sites under our care: those with automatic updates moved to 7.0.2 on their own, and we updated the rest manually on Sunday morning. On Monday, we ran conflict tests with page builders on staging and made two fixes.
If you don't know whether your site updated in July, we'll check it and set up updates — with security release monitoring and testing on a copy for bigger changes.
FAQ — the 7.0.2 vulnerability and forced updates
Check the version in Dashboard → Updates — 7.0.2 or newer means it did. In Tools → Site Health you'll see whether automatic updates are active. If your version is older than 7.0.2 — update immediately.
Yes — for security releases this has been the default behavior since version 3.7, and in exceptional cases wordpress.org can force an update even when some opt-outs are in place. You can block it in the configuration, but then the responsibility for tracking patches falls on you.
Yes, the appropriate versions were released for the supported 6.x branches. That doesn't mean 6.x is safe in the long term — future patches may no longer cover older branches. Upgrading to 7.x is recommended.
Author: Adrian Kamiński — Websky Studio, Poznań. WordPress site administration and security — security releases deployed on the day of publication, major ones after testing on a copy.
Your feedback
Was this article helpful?
One click — it helps me choose future topics.

