WordPress 7.1.4 core update race (GHSA-4w3m-c66w-69mg): unauthenticated code execution during upgrades, now under attack
Full core updates in WordPress 4.7 to 7.1.3 open a brief unauthenticated RCE window. Update to 7.1.4 or your branch’s fix and block wp-content/upgrade.
- Published
- Updated
- Ecosystem
- PHPWebsites and CMS
- Fixed in
- WordPress 7.1.4, 7.0.8, 6.9.11, 6.8.12, 6.7.11, 6.6.11, 6.5.14, 6.4.14, 6.3.14, 6.2.15, 6.1.16, 6.0.18 and each older branch back to 4.7.39
- Exploitation
- Attempts only. Wordfence blocked 62,969 attacks in 24 hours (reported 30 October 2026) and has reported no successful compromise; no CVE assigned, so not in CISA KEV
Live scores
CVE-2026-119977- EPSS
- 0.012
some chance of attack soon - VEDAS
- 0.749
likely exploited - On CISA KEV
- Yes, since 2026-11-03
- Detection rule
- No public rule yet
What happened
On 28 October 2026, WordPress released 7.1.4, a security release that also fixes a series of stored XSS bugs and updates the bundled root certificates for the eMudhra revocation (WordPress). The most serious is a race condition in the core update process, reported by Umut Bayram.
During a core update that uses a complete package, WordPress extracted the new files into a predictable directory inside the web-served upgrade folder. An unauthenticated attacker who wins a race against that extraction could reach remote code execution. Every branch from 4.7.0 to 7.1.3 is affected (GitHub advisory). Wordfence explains that the extracted copy under wp-content/upgrade includes the WordPress installer (The Hacker News).
WordPress rates the issue Low and lists no CVE (GitHub advisory). The Hacker News reports a CVSS score of 8.1. The attacker needs all of these, per Wordfence: a full-package core update that contains the installer files, public web and PHP access to the staging folder, a predictable or discovered staging path, and enough time before WordPress deletes the temporary files. In lab tests the window lasted seconds (The Hacker News). 7.1.4 randomises the staging directory name, adds an index guard and stops staged configuration data from being promoted unsafely (SecurityWeek).
Attackers are trying. Wordfence saw the first match for its new firewall rule nine minutes after deploying it. It recorded more than 18,500 requests for staged setup-config.php installer paths in the first 21 hours (SecurityWeek), and 62,969 blocked attacks in 24 hours. Two of the largest sources polled small groups of sites for about 14.5 hours, which Wordfence says fits an attempt to catch the update window (The Hacker News). No successful compromise has been reported.
Am I affected?
Any site on 4.7.0 to 7.1.3 that has not received the fixed release for its branch is affected. Check each site:
# With WP-CLI, from the site root
wp core version
# Without WP-CLI
grep "wp_version =" wp-includes/version.phpFixed releases by branch (GitHub advisory): 7.1.4, 7.0.8, 6.9.11, 6.8.12, 6.7.11, 6.6.11, 6.5.14, 6.4.14, 6.3.14, 6.2.15, 6.1.16, 6.0.18, 5.9.20, 5.8.19, 5.7.21, 5.6.23, 5.5.24, 5.4.25, 5.3.27, 5.2.30, 5.1.28, 5.0.31, 4.9.35, 4.8.34 and 4.7.39.
Check whether automatic background updates are switched off in wp-config.php:
grep -nE "AUTOMATIC_UPDATER_DISABLED|WP_AUTO_UPDATE_CORE" wp-config.phpLook for probing and possible success in your web server access logs:
grep -E "wp-content/upgrade/|setup-config\.php" /var/log/nginx/access.log* /var/log/apache2/access.log* 2>/dev/nullA 200 response to a setup-config.php or other PHP path under wp-content/upgrade/ is worth investigating. Probes that got 404 or 403 are noise.
What to do now
- Update every site to 7.1.4 or the fixed release for its branch. Sites with automatic background updates update themselves; confirm they did (WordPress).
- Deny web access to
wp-content/upgrade/at the web server. WordPress uses that folder through the file system, not over HTTP, and the attack depends on public web and PHP access to it. Doing this before you run the update also closes the window during the update itself. For nginx:
location ^~ /wp-content/upgrade/ { deny all; }For Apache, in the virtual host:
<Directory "/path/to/site/wp-content/upgrade">
Require all denied
</Directory>- Hunt with the log search above. For any site that returned
200for those paths, check for administrator accounts, plugins or PHP files you did not add (The Hacker News). - Re-enable automatic minor updates on sites where they were turned off, or bring those sites into a patch process that applies security releases within a day.
Update, 3 November 2026
- The flaw is tracked as CVE-2026-119977, which CISA describes as a WordPress Core TOCTOU race condition.
- CISA added it to the KEV catalog on 3 November 2026, citing evidence of active exploitation; page 0 had reported only attack attempts and no confirmed compromise.
- BOD 26-04 requires federal civilian (FCEB) agencies to prioritize remediating it, and CISA urges all organizations to do the same.
Sources for this update: cisa.gov, nvd.nist.gov, cisa.gov
Update, 8 November 2026
- Patchstack says WordPress 7.1.4 fixes what WordPress counts as 22 vulnerabilities across 17 advisories, compared with seven in 7.1.3 three weeks earlier. (patchstack.com)
- Patchstack says backports for every supported branch down to 4.7.39 shipped on the same day as 7.1.4. (patchstack.com)
- Patchstack says that before 7.1.4 the extraction folder in wp-content/upgrade/ took its name from the package, so for anything uploaded through the admin the name was fully predictable. (patchstack.com)
- Patchstack says the cleanup routine that runs before extraction deleted everything in wp-content/upgrade/, including the index.php that stops the folder being listed, leaving a complete WordPress install at a guessable and browsable path while an update runs. (patchstack.com)
- Patchstack says the extracted wp-admin/setup-config.php boots without the site’s configuration, so an attacker who reaches it in time can run the installer against a database they control inside the victim’s document root. (patchstack.com)
- Patchstack says 7.1.4 appends 16 random characters to the extraction folder name, recreates index.php and stops deleting it. (patchstack.com)
- Patchstack says a second change in update-core.php, not mentioned in the release post, adds wp-config.php to the list of files never copied out of the working directory. (patchstack.com)
- Patchstack scored the race condition AC:H and says it would not call it practical to exploit. (patchstack.com)
- Wordfence says it deployed a blocking firewall rule on October 28, 2026, at 20:30 UTC, approximately three hours after WordPress announced the security release. (wordfence.com)
- Wordfence says Premium, Care and Response customers received the firewall rule immediately, and Wordfence Free users will receive it on November 27, 2026, after the standard 30-day delay. (wordfence.com)
- Wordfence says the exploit requests a staged PHP file directly without loading WordPress, so its firewall only covers the attack when it is optimized with Extended Protection, and receiving the rule does not replace installing the security update. (wordfence.com)
- Wordfence says that, besides the polling sources, other sources tested many staging-directory and version-name variations, and not every request used the exact vulnerable path. (wordfence.com)
- Wordfence says WordPress 4.6 and earlier no longer receive security updates and should be upgraded to a supported release. (wordfence.com)
- Wordfence says 7.1.4 also fixes an unauthenticated information disclosure issue that could expose unpublished Customizer changesets, a persistent denial of service condition in the Interactivity API, and an authorization weakness in the Notes REST API affecting custom roles. (wordfence.com)
- Cybersecuritynews.com says a Wordfence threat intelligence snapshot lists 60,471 blocked attempts over 24 hours, and notes these are attack attempts, not confirmed compromises. (cybersecuritynews.com)
- Cybersecuritynews.com says a plugin firewall alone may not cover the extracted installer because it loads separately from the main site. (cybersecuritynews.com)
Update, 9 November 2026
- The Hacker News says Federal Civilian Executive Branch agencies have until November 6, 2026, to apply the fixes for CVE-2026-119977. (thehackernews.com)
- CISA says the flaw could allow unauthenticated attackers to execute code on the server during the upgrade window, and that this is due to predictable, web-accessible staging paths used during full-package core upgrades. (thehackernews.com)
- The Hacker News says Previdian telemetry recorded three exploitation attempts against its honeypot sensors from an IP address geolocated in the U.K. on October 30, 2026. (thehackernews.com)
- The Hacker News reported on November 4, 2026, that 12,632 attacks attempting to exploit the flaw had been blocked in the last 24 hours. (thehackernews.com)
Update, 11 November 2026
- Security Affairs says CISA’s November 6, 2026 due date for federal agencies to fix CVE-2026-119977 comes under Binding Operational Directive (BOD) 22-01, whereas the advisory cites BOD 26-04. (securityaffairs.com)
Sources
- GitHub advisory GHSA-4w3m-c66w-69mg
- WordPress 7.1.4 security release
- The Hacker News: WordPress RCE flaw draws nearly 63,000 attack attempts
- SecurityWeek: fresh WordPress vulnerability in attackers’ crosshairs
- patchstack.com: WordPress 7.1.4 Security Release
- wordfence.com: WordPress 7.1.4 Patches Unauthenticated Upgrade-Window RCE; Exploitation Attempts Detected After Release
- cybersecuritynews.com: Over 60,000 Attacks Target WordPress RCE Vulnerability Within 24 Hours
- thehackernews.com: CISA Confirms Hackers Exploiting WordPress Core Flaw During Software Upgrades
- securityaffairs.com: U.S. CISA adds WordPress flaw to its Known Exploited Vulnerabilities catalog