---
title: "WordPress upgrade flaw now exploited: which release fixes your branch?"
description: "CISA added CVE-2026-119977 to its list of exploited flaws: a race in the WordPress upgrade process that can lead to code execution without a login. Here is the fixed release for every branch, versions 4.7 through 7.1.3, and how to confirm your site runs it."
url: https://ihsanalapsi.dev/articles/wordpress-upgrade-race-kev
lang: en
date: 2026-11-11
updated: 2026-11-11
tags: ["WordPress", "Security updates", "App security"]
author: Ihsan Alapsi (إحسان العبسي)
---
# WordPress upgrade flaw now exploited: which release fixes your branch?

When WordPress 7.1.4 came out, we wrote about [the security release and what it fixes](/articles/wordpress-7-1-4-security-release), and one of its fixes was a weakness in the upgrade process itself. That weakness now has a number, CVE-2026-119977, and it is on the CISA list of exploited vulnerabilities. Here you will find the release that closes it on your branch, how to confirm your site runs it, and why the WordPress project rated it Low while the CVE record gives it 8.1.

## What is new with the WordPress upgrade flaw?

What is new is that the US cybersecurity agency CISA added CVE-2026-119977 to its KEV catalog on 2026-11-03. KEV is the catalog of vulnerabilities that CISA has evidence are being exploited.

[CISA's alert from that day](https://www.cisa.gov/news-events/alerts/2026/11/03/cisa-adds-one-known-exploited-vulnerability-catalog) says it was added "based on evidence of active exploitation". [Its entry in the catalog](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-119977) names it a Time-of-check Time-of-use (TOCTOU) Race Condition, and says it lets an attacker who is not logged in run code on the server "during the upgrade window", meaning while the site is updating.

The same entry also lists:

- A due date of 2026-11-06, which is for US federal civilian agencies: the alert says directive BOD 26-04 applies only to them, and it encourages every organization to put catalog vulnerabilities first when fixing.
- Known ransomware campaign use: "Unknown".
- A note that reads "Forensic triage required per BOD 26-04: Yes", so agencies also have to run a first forensic check of their systems, on top of updating.

## What exactly is the flaw?

The flaw is a race condition in the WordPress core update: during an update from a full package, the new files were unpacked into a folder whose location was known in advance and open to the web, and an attacker who beats that unpacking can reach code execution.

That is how [the WordPress security advisory on GitHub](https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-4w3m-c66w-69mg) describes it: "WordPress extracted the new files to a predictable directory inside the web-served upgrade folder". The attacker does not need an account on the site: the advisory says "unauthenticated", and the CISA entry uses the same word.

TOCTOU is a mistake where a program checks the state of something before it uses it, the state changes between the check and the use, and the result of the check is no longer true. That is how [the CWE-367 entry](https://cwe.mitre.org/data/definitions/367.html) defines it, and it is the weakness the CVE record lists. In business terms: you unload stock into a warehouse whose door opens onto the street, and before you finish and lock up, someone slips a box of their own in between yours.

## Which versions are affected, and which release fixes each branch?

A WordPress version is affected if it is older than the fixed release of its branch, on every branch the advisory lists, from 4.7.0 up to 7.1.3. The newest branch is fixed in 7.1.4, and every older branch has its own fixed release, from 7.0.8 down to 4.7.39.

According to the same advisory, in each branch every version from the first one up to the last affected one has the flaw, and the next release is the fix:


| Affected versions | Fixed release |
| ----------------- | ------------- |
| 7.1.0 - 7.1.3     | 7.1.4         |
| 7.0.0 - 7.0.7     | 7.0.8         |
| 6.9.0 - 6.9.10    | 6.9.11        |
| 6.8.0 - 6.8.11    | 6.8.12        |


The other rows, from 6.7.0 - 6.7.10 down to 4.7.0 - 4.7.38, each with its own fixed release, are listed in the same [WordPress security advisory](https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-4w3m-c66w-69mg).

For example, a site on 6.8.11 is affected, and a site on 6.8.12 is fixed. So a site on an older branch does not have to jump to 7.1.4 to close this flaw: the fixed release of its own branch is enough.

A site older than 4.7 has no row in the table: [the WordPress 7.1.4 release notes](https://wordpress.org/news/2026/10/wordpress-7-1-4/) say the fixes went back to every branch that still gets security fixes, "currently through 4.7". If your site is there, the way out is an upgrade to a branch in the table.

## How do you confirm your site runs a fixed release?

You check the full version number, then you compare the core files with the WordPress.org releases. The number tells you which version your site says it runs, and the comparison tells you whether the files themselves match that version.

Run the check even if your site takes automatic updates: the release notes say the automatic update "will begin automatically", and the number is what confirms it finished.

1. Open Tools, then Site Health, then the Info tab, and expand the WordPress section. The Version line is your current version, according to [the Site Health screen documentation](https://wordpress.org/documentation/article/site-health-screen/).
2. Find your branch in the table (the first two numbers of your version), and make sure your version equals the fixed release or is newer.

If you have SSH and WP-CLI, run these two commands in the site folder:

```bash
wp core version
wp core verify-checksums
```

[The first command prints the version number](https://developer.wordpress.org/cli/commands/core/version/), and [the second compares the core files with the checksums that WordPress.org publishes](https://developer.wordpress.org/cli/commands/core/verify-checksums/) for the same version. If everything matches, you get "Success: WordPress installation verifies against checksums.", and if a file does not match, its name appears on a Warning line.

If you run several sites, WordPress.org publishes the status of every version in one file called [stable-check](https://api.wordpress.org/core/stable-check/1.0/). For example, 6.8.11 (the last affected version of its branch) is marked insecure, 6.8.12 (the fixed release) is marked outdated, and 7.1.4 is marked latest. You can ask it about your version like this:

```bash
curl -s https://api.wordpress.org/core/stable-check/1.0/ | grep '"6.8.11"'
```

Replace 6.8.11 with your version. If it says insecure, update.

## Why did WordPress say Low while the CVE record says 8.1?

The two ratings come from two different parties. The WordPress advisory sets the severity to Low with no CVSS score and no explanation, and the CVE record, which Wordfence issued, gives it 8.1 (High) on CVSS 3.1.

[The CVE record on CVE.org](https://cveawg.mitre.org/api/cve/CVE-2026-119977) holds the vector `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`. This is how to read it according to [the CVSS specification](https://www.first.org/cvss/v3.1/specification-document):

- `AV:N`: the attack comes over the network.
- `AC:H`: success depends on conditions beyond the attacker's control. For this flaw, according to the WordPress advisory, the attacker has to win a race against the file unpacking.
- `PR:N` and `UI:N`: the attacker has no permissions, and nobody on the site has to do anything.
- `C:H`, `I:H` and `A:H`: if it works, the loss of confidentiality, integrity and availability is total.

In the same CVE record, CISA added its own assessment: exploitation "active", automatable "no", technical impact "total".

The WordPress advisory does not explain why it chose Low, and its CVE field reads "No known CVE" at the time of writing, so if you search the advisory for the number you will not find it. I won't guess the reason.

What matters to you as a site owner: the rating describes the flaw on paper, and the catalog says it is being exploited now. A code execution flaw with evidence of exploitation gets updated today, whatever its rating says.

## What should you do if your site stayed on an affected version?

If your site stayed on an affected version, update first, then look for signs of a break-in. The update closes the flaw, but it does not remove anything that was planted on the site before it.

[The WordPress documentation for hacked sites](https://wordpress.org/documentation/article/faq-my-site-was-hacked/) lists behavior you did not authorize, such as the creation of new users, among the signs of a hack. When you reinstall the core files, it advises against the reinstall button in the dashboard and suggests copying wp-admin and wp-includes of your same version over SFTP, because "installers often only overwrite existing files, and hacks often introduce new files".

In order:

1. Update to the fixed release for your branch from the table.
2. Open the user list and look for accounts you did not create, especially ones with the administrator role.
3. Run `wp core verify-checksums` and look at any core file that does not match.
4. If you find a trace, change all passwords and the secret keys in `wp-config.php`, replace wp-admin and wp-includes as above, and change the passwords again after the cleanup, as the same documentation says.

If you want to see how a backdoor shows up on a WordPress site, we wrote about [the stolen UpdraftCentral keys that planted backdoors](/articles/updraftcentral-key-compromise-backdoors).

## Where do you start now?

Start with your version number: it is the fastest way to tell whether your site is exposed to this flaw.

1. Read your version from Site Health or with `wp core version`.
2. Find your branch in the table, and make sure your number equals the fixed release or is newer.
3. If it does not, open Updates in the dashboard and update now.
4. Run `wp core verify-checksums`, and look over the user list.

If you run several sites and want someone to test them the way an attacker would, that is what [Muhassan](/muhassan) does. And all our WordPress articles are in one place: [WordPress articles](/articles?tag=wordpress).

## FAQ

**Can the flaw be exploited at any time, or only during an update?**

Only during an update. The CVE record and the CISA entry say the code runs during the upgrade window, while core updates from a full package. The fix is the patched release for your branch, not turning updates off.

**Does the attacker need an account on my site?**

No. The WordPress advisory and the CVE record both say the attacker does not need to log in.

**My site runs 6.8.12. Do I have to move to 7.1.4 to close this flaw?**

No. According to the WordPress advisory, versions 6.8.0 to 6.8.11 are affected and 6.8.12 is the fixed release of that branch, so this flaw is closed on your site.

**My site runs a version older than 4.7. What do I do?**

Upgrade to a branch from the table. The 7.1.4 release notes say the security fixes went back to the branches that still get fixes, currently through 4.7, so your branch has no fixed release.

**Why can't I find the CVE number in the WordPress advisory?**

Because the WordPress advisory on GitHub still says No known CVE at the time of writing. CVE-2026-119977 comes from the CVE record that Wordfence issued, and it is the same number that appears in the CISA catalog.
