WordPress Core Vulnerability CVE-2026-119977 Exploited
CISA confirms exploitation of a race condition in the WordPress upgrade process. 7.1.4 fixes it, but the update itself is still a risk window; how to reduce it.

A WordPress core vulnerability that CISA has confirmed as exploited in the wild comes with a rare irony: the most dangerous moment is the one in which you install the update. On 3 November 2026 CISA added CVE-2026-119977 to its Known Exploited Vulnerabilities (KEV) catalogue, and the fix had already shipped on 28 October in WordPress 7.1.4.
WordPress runs a very large share of the world’s websites, including company brochure sites, WooCommerce shops and the blogs of many small firms. This article explains how the flaw works, who is affected, how to update safely, and what to do so that the patch does not become an opening for attackers.
What the WordPress core vulnerability CVE-2026-119977 is
CVE-2026-119977 is a time-of-check to time-of-use (TOCTOU) race condition in WordPress core’s upgrade process. The WordPress security team describes it as a weakness in the upgrade process that can lead to remote code execution during the upgrade window. The researcher who found it and published the technical analysis is Umut Bayram of Picus Security.
According to BleepingComputer (4 November 2026), unauthenticated remote attackers can achieve code execution, though the attacks are described as high complexity. Picus gives a CVSS score of 8.1, which is high. The root cause is that staging paths used during full-package core upgrades are predictable and reachable from the web.
CISA confirmed active exploitation on Tuesday 3 November 2026 but did not share details of the attacks. Under directive BOD 26-04, US federal agencies had to secure their systems by the Friday of that week. The directive applies only to federal agencies, but CISA urged all defenders, including private-sector organisations, to prioritise patching.
How the flaw works
According to Picus’s analysis, the attack proceeds in these steps:
- During a core update WordPress extracts the package into wp-content/upgrade/package-name/ and then copies files into the live site.
- Between extraction and copying, the extracted tree is effectively a second WordPress installation that a browser can reach.
- The setup-config.php file in that staging copy checks only two locations for an existing wp-config.php, not the live file in the parent directory, so it believes the site is unconfigured.
- An attacker uses that installer to write their own wp-config.php pointing at an empty database they control.
- WordPress’s copy step skips only files that match its checksum manifest. wp-config.php is neither in the manifest nor in the skip list, so the malicious file overwrites the real configuration.
- The site then shows its install workflow. The attacker creates an administrator account and, on a typical single-site install, uploads a malicious plugin to run PHP.
Put simply: for a few seconds or minutes during an upgrade, the site has two doors open, and the attacker uses the second to swap out the configuration of the real one. That is why this WordPress core vulnerability is especially dangerous for busy sites, where an attacker can keep probing until the right moment.

Affected versions and exposure conditions
Picus says the updater behaviour affects versions 2.7.0 through 7.1.3. The fix has been backported to every maintained branch, as far back as 4.7. Versions 2.7 to 4.6 received no fix and should be upgraded to a supported release. BleepingComputer does not state the range, so if you run a very old version, check against WordPress’s official notice.
How predictable the staging path is depends on the version:
- 2.7.0 to 2.7.1: fixed path wp-content/upgrade/core.
- 2.8.0 to 4.3.35: a name derived from the package filename, with no random suffix.
- 4.4.0 to 5.8.18: a six-character random suffix, exploitable only conditionally if the path is disclosed some other way, such as verbose error messages.
- 5.9.0 to 7.1.3: renaming based on the Content-Disposition filename makes the path predictable again.
The other condition is that the update uses a package containing the installer files, such as the full, no_content and new_bundled packages. Partial and rollback packages are affected only if they contain those files. In general, an ordinary core upgrade to a new release can fall into this category.
Scale of the attacks and numbers to know
Wordfence said in an advisory update that it had blocked 13,095 attacks targeting this flaw in the previous 24 hours. That figure counts attempts, not compromised websites. Security vendors’ numbers also vary with timing and counting method, so do not treat it as a precise measure of spread.
BleepingComputer recalled another incident this year to show that WordPress core remains an attractive target. The wp2shell chain, patched in WordPress 7.0.2 in July, combines a REST API batch-route confusion flaw (CVE-2026-63030) with an SQL injection (CVE-2026-60137). Public exploits appeared a day after the patches, and within days attackers were breaching unpatched servers to install web shells and malicious plugins. In September a Chinese-speaking threat actor used the same chain to steal more than 18,500 records belonging to small businesses and government organisations.
The general lesson is that the gap between a patch and exploitation keeps shrinking, so waiting a few weeks to update is no longer a safe choice.
What the 7.1.4 patch fixes, and what remains tricky
WordPress 7.1.4, released on 28 October 2026 as a security release, makes three changes, as Picus describes them:
- It adds a 16-character random suffix to the staging directory name.
- It preserves upgrade/index.php to prevent directory listing that could reveal the random name.
- It adds wp-config.php to the skip list in update_core().
There is an important caveat, though. The very update that installs 7.1.4 is extracted by the old, unpatched updater, so the staging path remains predictable during that run. The wp-config.php skip still protects the live configuration, but an attacker can still run PHP in the temporary installation before cleanup and read or write files in the live directory. In other words, the moment you press “Update” is still a risk, which is why you should reduce it using the measures below. Several security outlets have described this as an update that can expose a site to the very flaw it is meant to fix.
How to update your website safely
Picus suggests these mitigations to apply before updating:
- Block web access to wp-content/upgrade/. On Nginx use a deny-all location block, on Apache a Require all denied directory block, or, if that is the only option, a RedirectMatch 403 in the root .htaccess. Do not put an .htaccess inside the upgrade directory, because the unpatched updater deletes it. Confirm that a request to the directory returns 403 before updating.
- Update manually outside the web root. Extract the release elsewhere and copy the core files, excluding wp-content and wp-config.php. The WP-CLI command wp core update uses the same vulnerable path and is not a substitute.
- Detection and prevention: Picus lists validated signatures for Check Point NGFW, Palo Alto IPS and Fortigate IPS. Treat these as an extra layer, not a replacement for patching.
If an outside team manages your site, ask them straight away: are we on 7.1.4, has the upgrade directory been blocked, has anyone checked for strange administrator accounts? A website maintenance and security service tracks security updates, takes backups before upgrades and verifies results afterwards as a routine.

How to check whether your site was compromised
After updating, do not stop at seeing 7.1.4 in the dashboard. Also check:
- The administrator list: are there unknown or newly created accounts?
- The plugin list: is any plugin one you did not install, with an odd name or unclear origin?
- wp-config.php: are the database connection details correct, and is the modified date plausible?
- Web server logs around the time of the update: any unusual requests to wp-content/upgrade/ or setup-config.php?
- The wp-content/uploads and mu-plugins directories: any unexpected PHP files?
- Run a scan with a reputable security tool and compare core files against the originals.
If you find anything unusual, put the site into maintenance mode, restore from a clean backup, and change all administrator passwords, database passwords and the secret keys in wp-config.php. Then work out how the attacker got in before bringing the site back online.
Longer-term lessons for site owners
This episode shows that WordPress security is not only about choosing good plugins. The upgrade process, server configuration and monitoring are all part of the problem. Some principles worth adopting:
- Have an emergency update process: for exploited flaws, update within 24 to 72 hours rather than waiting for a monthly maintenance cycle.
- Back up first, test after: always keep an off-server backup and test restoring it periodically.
- Remove unnecessary write permissions: limit what the web process can write to.
- Monitor core file changes: alert when wp-config.php or core files are modified.
- Upgrade very old sites: sites on WordPress 4.6 or earlier have no fix and need to move to a supported version.
- Use a WAF: a web application firewall can block known probes while you wait to patch.
For a broader walkthrough of WordPress security, our guide to WordPress website security for businesses has a full checklist. When you need to upgrade or rebuild a site on a safer footing, our website design for business service is worth a look.

Who should worry most
Not every site carries the same risk. This WordPress core vulnerability is most worrying for WooCommerce shops that hold customer and order data, for service-company sites that receive contact forms, and for agencies that manage dozens of sites at once with one shared update routine. If a bulk upgrade runs before the staging directory is blocked, a whole portfolio of sites could be exposed together.
Static sites or those behind managed hosting may already have their own protection, but do not assume so. Ask your hosting provider or business hosting and email service whether they block the upgrade path at server level and whether they will confirm in writing when the patch has been applied. For sites updated by in-house staff, add this check to the routine.
Finally, remember that the biggest risk is often complacency. A site that is “running fine” is not therefore safe from targeting; once a WordPress core vulnerability is exploited at automated scale, unpatched sites get probed even if their owners have no idea they are on anyone’s list.
It also helps to agree on who owns each site. Many incidents begin with a forgotten blog or a campaign microsite that nobody updates because nobody feels responsible. Write down an owner and a backup contact for every site, and review the list every quarter.
Quick checklist
- List every WordPress site the company owns, including old, test and campaign sites.
- Block web access to wp-content/upgrade/ and verify that it returns 403.
- Take a full off-server backup.
- Update to 7.1.4, or the matching patched release of the branch you use.
- Review administrators, plugins and wp-config.php after updating.
- Turn on alerts for core file changes and watch access logs.
- Plan upgrades for any sites running versions that are no longer supported.
If you want someone to review your running sites quickly and set up a safe update process, you can contact Quy Nhon ADV for initial help.
FAQ
My site uses automatic updates. Do I need to do anything else?
Yes. Automatic updates still use the core upgrade process, so the risk window exists in the very run that installs 7.1.4. Block web access to the upgrade directory and check the site afterwards, especially administrator accounts and wp-config.php.
Is running wp core update with WP-CLI enough?
No. According to Picus, WP-CLI uses the same vulnerable upgrade path, so it is not a substitute for blocking access or updating manually outside the web root.
Does the figure of 13,095 attacks mean that many sites were taken over?
No. It is the number of attempts Wordfence blocked in 24 hours, as relayed by BleepingComputer. It shows attackers are active but does not say how many sites were compromised.
My site runs a very old WordPress, say 4.5. What now?
According to Picus, versions 2.7 to 4.6 received no fix. You need to upgrade to a supported release and take care over plugins and themes that may not be compatible.
Why is a flaw rated only “high” being exploited?
A CVSS score reflects complexity and conditions, not the real-world likelihood of attack. When exploit code exists and a site is unpatched, attackers can still automate probing, especially around an upgrade window they know will occur.
Sources: BleepingComputer, Picus Security