Skip to content

WordPress CVE-2026-119977: Patch the Exploited Upgrade-Window RCE and Verify the Fix

CVE-2026-119977 lets unauthenticated attackers run code during WordPress core upgrades. CISA lists it as exploited. Update to 7.1.4 or a backport, then verify.

MGMCSA Guru Team November 15, 2026 7 min read
Server rack mid-update with a holographic progress bar while a shadowy hand reaches for a briefly open hatch and a shield and magnifying glass inspect the server

CVE-2026-119977 is a race condition in WordPress core’s upgrade process. NVD says WordPress 4.7 through 7.1.3 uses predictable, web-accessible staging paths during full-package core upgrades, and that lets an unauthenticated attacker execute code on the server during the upgrade window. WordPress fixed it in 7.1.4 on October 28, 2026, and backported the fix to older branches.

CISA added CVE-2026-119977 to its Known Exploited Vulnerabilities (KEV) catalog on November 3, with a federal due date of November 6 and forensic triage required. The flaw is not open on every page request. It sits around the moment a site upgrades, so the update needs a plan: update, confirm the running version, and check whether a site was hit before you patched.

What CVE-2026-119977 is

The WordPress 7.1.4 release notes list “a weakness in the WordPress upgrade process which can lead to remote code execution during the upgrade window,” reported by Umut Bayram. The HelpHub page for 7.1.4 calls it “a race condition during core updates that could lead to remote code execution.” CISA’s KEV entry classifies it as a time-of-check time-of-use (TOCTOU) race condition, CWE-367.

CVE-2026-119977 at a glance

Product WordPress core
Affected 4.7 through 7.1.3 (branch ranges below)
Fixed 7.1.4, plus a backport on each older branch
Weakness CWE-367, time-of-check time-of-use (TOCTOU) race condition
CVSS 3.1 (CNA, Wordfence) 8.1 High, AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Vendor release October 28, 2026 (WordPress 7.1.4)
NVD published October 31, 2026
CISA KEV added November 3, 2026, federal due date November 6, 2026
Forensic triage Required (CISA)
Known ransomware use Unknown (CISA)

The 8.1 score comes from Wordfence as the CVE Numbering Authority; NVD carries it as a secondary score rather than a NIST assessment. The high attack complexity in the vector fits NVD’s description, since the attack depends on the window while a full-package core upgrade is in progress.

7.1.4 also fixes a batch of stored XSS issues, an information disclosure in unpublished Customizer changesets and a notes permission issue, and updates the bundled root certificates. Those are separate bugs, but they ship in the same update.

Fixed versions by branch

WordPress says the security fixes were backported “to all branches eligible to receive security fixes (currently through 4.7),” and that only the most recent version is actively supported. When the release post went out, the backports were still in progress. NVD’s branch ranges list the first fixed release on each branch, and the WordPress.org version API now lists each of those releases as outdated, not insecure, so they are published.

BranchVulnerableFirst fixed
7.17.1.0 – 7.1.37.1.4
7.07.0.0 – 7.0.77.0.8
6.96.9.0 – 6.9.106.9.11
6.86.8.0 – 6.8.116.8.12
6.76.7.0 – 6.7.106.7.11
6.66.6.0 – 6.6.106.6.11
6.56.5.0 – 6.5.136.5.14
6.46.4.0 – 6.4.136.4.14
6.36.3.0 – 6.3.136.3.14
6.26.2.0 – 6.2.146.2.15
6.16.1.0 – 6.1.156.1.16
6.06.0.0 – 6.0.176.0.18
5.95.9.0 – 5.9.195.9.20
5.85.8.0 – 5.8.185.8.19
5.75.7.0 – 5.7.205.7.21
5.65.6.0 – 5.6.225.6.23
5.55.5.0 – 5.5.235.5.24
5.45.4.0 – 5.4.245.4.25
5.35.3.0 – 5.3.265.3.27
5.25.2.0 – 5.2.295.2.30
5.15.1.0 – 5.1.275.1.28
5.05.0.0 – 5.0.305.0.31
4.94.9.0 – 4.9.344.9.35
4.84.8.0 – 4.8.334.8.34
4.74.7.0 – 4.7.384.7.39

A backport closes this CVE on an old branch, but the branch still lacks everything else that only ships in current releases. If a site can move to 7.1.4, move it.

You can check any version against the WordPress.org API, which returns latest, outdated or insecure:

curl -s https://api.wordpress.org/core/stable-check/1.0/ | jq -r '."7.1.3", ."7.1.4"'

Why the upgrade window matters for your patch plan

NVD ties the attack to full-package core upgrades. Updating a vulnerable site to the fixed release is itself a core upgrade, started by the installed version’s upgrader. Neither WordPress nor NVD publishes a workaround for that, so the precautions below are our operational suggestions, not vendor guidance.

Practical options, in rough order of preference:

  1. Immutable or container deployments: build a new image or release from the official 7.1.4 package (or the fixed backport for your branch) and redeploy. No in-dashboard core upgrade runs on the live site.
  2. Hosts you manage with WP-CLI: run the update from the shell during a short window where public traffic is blocked at the proxy, and confirm the version straight after.
  3. Sites that auto-update: WordPress says sites that support automatic background updates start the update automatically. Confirm it actually finished instead of assuming it did.

Patch and verify with WP-CLI

Start with an inventory: every production site, staging copy, replica and container image, with its installed core version. Internet-facing sites go first.

# Installed core version and available updates
wp core version
wp core check-update

# Update to the latest release (7.1.4)
wp core update

# Or stay on the current branch and take its security backport
wp core update --minor

# Confirm the result and check core files against WordPress.org checksums
wp core version
wp core verify-checksums

wp core verify-checksums compares core files with the official checksums for the installed version and reports modified or unexpected files. Run it after the update, from the real webroot the web server serves. A stale build directory or an old release folder can look patched while the live site isn’t.

For containers, check the running instance, not the image tag:

docker exec <wordpress-container> wp core version --allow-root

If the webroot sits on a persistent volume, a new image may not replace the core files already on that volume. Check the version inside the running container and on the volume itself. Our WordPress with Docker Compose guide shows where those files live in a typical setup.

Check for signs of compromise

CISA lists this CVE with forensic triage required, and it publishes no indicators of compromise with the KEV entry. The checks below are general incident-response steps, not CVE-specific IOCs. A clean result does not prove a site is clean.

After you patch each exposed site

  • Preserve access, error and deployment logs from before the update where you can, without delaying the update itself.
  • Look at web requests around past core-upgrade timestamps for unexpected requests to temporary or staging locations, followed by unexpected PHP execution. Treat this as a hunting lead, not a known indicator.
  • Run wp core verify-checksums and investigate any modified or extra core files.
  • Search for PHP files where they don't belong, such as the uploads folder, and review recently changed files under wp-content.
  • List administrator accounts (wp user list --role=administrator) and remove anything you can't account for.
  • Review wp-config.php, active plugins and must-use plugins for changes you didn't make.
  • If you find anything suspicious, follow your incident response process: isolate the site, rotate database and admin credentials and salts, and rebuild from a known-good source.
wp user list --role=administrator --fields=ID,user_login,user_registered
find wp-content/uploads -type f -name '*.php'
find wp-content -type f -name '*.php' -mtime -30

If you run sites behind a reverse proxy, as in our Nginx reverse proxy guide, the proxy access logs are a useful record of what hit a site during an upgrade.

What to do now

CVE-2026-119977 is exploited, the fix has been out since October 28, and every branch from 4.7 up has a fixed release. Update each site to 7.1.4, or at least the fixed backport for its branch, and keep the upgrade window short and closed to the public where you can. Then confirm the version on the live webroot, run wp core verify-checksums, and check exposed sites for compromise, because the update does not undo one.

Frequently asked questions

Which WordPress versions are affected by CVE-2026-119977?

NVD lists WordPress core 4.7 through 7.1.3 as affected, split into branch ranges. On the 7.1 branch, 7.1.0 through 7.1.3 are vulnerable and 7.1.4 is fixed. Each older branch has its own fixed backport, such as 7.0.8, 6.9.11 and 6.8.12.

Is CVE-2026-119977 being exploited?

Yes. CISA added it to the Known Exploited Vulnerabilities catalog on November 3, 2026, with forensic triage required. CISA lists known ransomware use as unknown, and no public campaign details or indicators were published with the listing.

Is every WordPress site exposed all the time?

No. NVD says the code execution is possible during the upgrade window, because full-package core upgrades use predictable, web-accessible staging paths. The risk sits around core upgrades, which is why the update itself needs planning.

Does updating remove a compromise?

No. Updating closes the hole for future upgrades but does not remove files, accounts or settings an attacker already added. CISA marks this CVE for forensic triage, so check exposed sites for signs of compromise after patching.

What is the CVSS score for CVE-2026-119977?

Wordfence, the CNA, scores it 8.1 High under CVSS 3.1 (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H). NVD carries that as a secondary score, not its own assessment.

Sources & further reading

Official vendor documentation referenced while writing this guide.

MG

MCSA Guru Team

IT & Systems Administration

We are working IT pros and system administrators who spend our days in Windows Server, Microsoft 365, and the wider Microsoft stack. MCSA Guru is where we write down the fixes and walkthroughs we wish we had found the first time.

MCSA Guru provides independent, educational IT guidance. Microsoft, Windows, Windows Server, Microsoft 365, Exchange, and Microsoft Teams are trademarks of Microsoft Corporation; Docker is a trademark of Docker, Inc. MCSA Guru is not affiliated with or endorsed by Microsoft or Docker. Always test changes in a safe environment before applying them in production.

Related guides

Fixing something right now?

Jump straight into the guide library or search for the exact error or task you are dealing with.