CVE-2026-119977 is a race condition in the WordPress core updater that lets an unauthenticated attacker run code on affected servers. CISA confirmed exploitation on 3 November. Block web access to wp-content/upgrade/, confirm it returns 403, then update to WordPress 7.1.4, which fixes the flaw.
Table of contents 5 sections
- CISA added the WordPress core flaw CVE-2026-119977 to its Known Exploited Vulnerabilities catalog on 3 November.
- The bug affects WordPress 4.7 through 7.1.3 and traces back to behaviour first seen in version 2.7, released in 2008.
- WordPress 7.1.4, released on 28 October, contains the fix, and patches were backported to branches down to 4.7.
- Block web access to wp-content/upgrade/ before updating, because the normal updater uses the vulnerable code path.
- After patching, check wp-config.php, the admin list and server logs for signs of an earlier compromise.
CISA added a WordPress core flaw, CVE-2026-119977, to its Known Exploited Vulnerabilities catalog on 3 November, confirming that attackers are using it against live sites. The bug lets an unauthenticated attacker run code on a server during a core update, and the fix is WordPress 7.1.4, released on 28 October.
What the WordPress core flaw does
The flaw is a time-of-check time-of-use race condition in the part of WordPress that installs core updates. When WordPress updates itself, it unpacks files into a temporary folder under wp-content/upgrade/. If that folder can be reached from the web and PHP is allowed to run there, an attacker can reach a temporary installer.
According to Hackread's report, the attacker can point that installer at a database they control and cause it to create a wp-config.php file. On vulnerable releases the updater may then copy that file over the real configuration, which can lead to administrator access and code execution on the server.
The attack is not trivial. The attacker has to win a race against the updater and learn the name of the staging directory. Even so, the CVSS score is 8.1 out of a possible 10, or 81 percent of the scale, and BleepingComputer describes it as a high-complexity attack that needs no login.
Eighteen years old and now exploited
The underlying behaviour goes back to WordPress 2.7, released in 2008, which makes the weakness about 18 years old. Public advisories list WordPress 4.7 through 7.1.3 as affected. Umut Bayram of Picus Security found the bug and told Hackread it took about four hours with an AI model as a research aid, and he warned that the same speed helps attackers.
CISA gave federal civilian agencies until 6 November to fix their systems and to carry out forensic triage under Binding Operational Directive 26-04. It did not say who is exploiting the flaw or how many sites were compromised. The security firm Wordfence reported that it blocked 13,095 attacks against the vulnerability in a 24-hour period, according to BleepingComputer. That figure counts attempts on sites Wordfence protects, not successful intrusions. Wordfence did not say how many of the attempts would have succeeded, and because the attack depends on timing, some will not have worked.
How to patch without leaving a gap
The flaw lives in the updater itself, so the order of steps matters. Running the normal updater to install the fix uses the same code path that is vulnerable. Hackread's account of the researcher's advice sets out a safer sequence:
- Deny web access to wp-content/upgrade/ in your server configuration or in the root .htaccess file, not in a file inside that folder.
- Test that a request to that directory returns HTTP 403.
- Update to 7.1.4. Fixes were also backported to branches down to 4.7.
- Remove the temporary block only if your host recommends it, and keep it otherwise.
Sites that cannot restrict the folder have a second route. Download the patched release, extract it outside the public web directory and replace core files by hand while keeping wp-config.php and wp-content. The report says that wp core update does not give the same protection because it uses the same updater.
Releases from 2.7 through 4.6 did not receive a fix. Those sites need a full upgrade to a supported version, and since WordPress supports only its latest release, running an old branch is a risk whether or not this bug is active.
Check whether your site was hit
Because exploitation began before many owners patched, updating alone may not clear an existing compromise. After you update, look for a wp-config.php with a recent modification time or an unfamiliar database host. Check the administrator list for accounts you did not create. Review the wp-content/upgrade/ folder and your web server logs for requests to temporary installer files between late October and the day you patched.
If anything looks wrong, restore from a clean backup taken before the exposure and rotate the database password, the secret keys in wp-config.php and every administrator password. A second factor on admin accounts limits what a stolen password can do, as our explainer on two-factor authentication options shows.
A pattern of core bugs this year
This is not the first WordPress core problem to reach CISA's list in 2026. BleepingComputer's article also mentions a separate chain from July, tracked as CVE-2026-63030 and CVE-2026-60137, that was exploited to plant web shells. Other widely used server software has faced similar pressure, as in the recent PHP flaw exploited in the wild.
Hosting providers that manage WordPress for customers may already have applied the fix or the folder block, so ask yours. Agency owners with many client sites should audit every installation by version number rather than assuming auto-updates ran. The next thing to watch is whether CISA or Wordfence publishes confirmed compromise numbers, which would show how many sites were hit before patching.
0 comments
No comments yet — be the first.