Cybermatic Flash · 2026-11-03
WordPress Core race-condition flaw lets unauthenticated attackers run code during upgrades
CVE-2026-119977 · WordPress WordPress Core
During a full WordPress core upgrade, the installer temporarily places files in a predictable, publicly accessible staging path. An unauthenticated attacker who times a request to that window can plant and execute arbitrary code on the server. No login or prior access is required — only the ability to reach the site over the web.
Affected: WordPress Core versions 4.7.0 through 7.1.3 (all self-hosted installations running full-package core upgrades)
Do this in the next hour
Update WordPress Core to version 7.1.4 immediately via Dashboard → Updates, or via WP-CLI with `wp core update`. If you cannot patch right now, disable automatic and manual core upgrades temporarily and block web access to the wp-content/upgrade/ directory at the web-server or WAF level.
Then, this week: Review web-server and PHP error logs around any recent upgrade windows for unexpected file writes or outbound connections originating from the upgrade staging path. Notify your hosting provider or managed-WordPress vendor so they can confirm patching across all hosted instances.
CISA added CVE-2026-119977 to the Known Exploited Vulnerabilities catalog on 3 November 2026. The vulnerability is a time-of-check time-of-use (TOCTOU) race condition in the WordPress Core upgrade process. When WordPress performs a full-package core update, it extracts files to a staging directory whose path is predictable and reachable over the web. An unauthenticated attacker who monitors or guesses the timing of an upgrade can write a malicious file to that staging path and trigger its execution before WordPress finishes the update and cleans up. The result is remote code execution on the web server with the privileges of the web process.
Any organization running a self-hosted WordPress installation on versions 4.7.0 through 7.1.3 is potentially exposed whenever a core upgrade is performed. This covers a very large share of the web — small business sites, media organizations, government agencies, and enterprise marketing or intranet properties alike. Managed WordPress hosting platforms that run upgrades on behalf of customers are also in scope unless they have already patched or blocked the staging path.
Sources
Get The Cybermatic Signal every week
The cybersecurity news that matters for SMBs, written for people without a security department. Plus Cybermatic Flash when a critical vulnerability is being exploited.
Subscribe freeBriefingIssuesFlashGuidesInsurance checkDomain checkSubscribe
Cybermatic.ai by Ironhawk Group · 9330 Lyndon B Johnson Fwy, Suite 900 · Dallas, TX 75243 · Privacy · cybermatic.ai