Check a site
Check a website Service status Outages Blog
All tools
Check a websiteBrowse all tools
A terminal running wp core version and showing 7.1.4, next to a folder icon for wp-content/upgrade with a padlock on it

WarningAlerts

WordPress core flaw CVE-2026-119977 is being exploited: update to 7.1.4

Posted Jimel S.4 min read

CISA says attackers are exploiting a WordPress core bug that lets anyone run code on the server while a core upgrade is in progress. Every version from 4.7 to 7.1.3 is affected. Make sure each site is on 7.1.4 or its branch’s security release.

Illustration: UtiBox

Warning

Ongoing

WordPress core flaw CVE-2026-119977 is being exploited. Update to 7.1.4, or your branch’s security release, now.

Started
Ends
Not known yet
On this page 7 sections
  1. What happened
  2. How the bug works
  3. Fixed versions
  4. How to check and update
  5. Extra hardening (our suggestion)
  6. Signs you may already have been hit
  7. Sources

What happened

On 28 October 2026 WordPress released 7.1.4, a security release that fixes 12 security issues. One of them is in a different league from the rest. The release post describes it as:

A weakness in the WordPress upgrade process which can lead to remote code execution during the upgrade window

WordPress 7.1.4 release announcement

It was reported by Umut Bayram and is tracked as CVE-2026-119977, rated 8.1 (High). On 3 November 2026 CISA added it to its Known Exploited Vulnerabilities (KEV) catalog, which only lists bugs with evidence of real attacks, and gave US federal agencies until 6 November to fix it.

How the bug works

The CVE record sums it up:

WordPress Core is vulnerable to Remote Code Execution in versions 4.7 through 7.1.3. This is due to predictable, web-accessible staging paths used during full-package core upgrades. This makes it possible for unauthenticated attackers to execute code on the server during the upgrade window.

CVE-2026-119977 record

In plain English: when WordPress updates itself, it unpacks the new release into a working folder inside wp-content/upgrade/ before copying the files into place. That folder sits inside your website, so it can be reached from a browser, and before 7.1.4 its name was easy to guess. An attacker who reaches the unpacked copy at the right moment doesn’t need a login. The CVE’s title calls it a “staged-installer” remote code execution, and its references point to the upgrader code and to setup-config.php, WordPress’s installation script.

The fix is visible in WordPress’s own source code. In 7.1.4 the upgrader adds a random 16-character suffix to the working folder’s name. It also places an index.php file in wp-content/upgrade/ so the folder can’t be listed, with a code comment that starts: “The upgrade directory is web-served.”

The catch for attackers is timing: they have to hit the site while an upgrade is running. That’s why the CVSS score rates the attack complexity as high and lands at 8.1 rather than higher. But WordPress sites upgrade often, many of them automatically, and an attacker can simply keep trying.

Fixed versions

BranchFixed in
7.17.1.4 (28 October 2026)
7.07.0.8 (28 October 2026)
4.7 to 6.9The newest security release for that branch

WordPress says the fixes are being backported to “all branches eligible to receive security fixes (currently through 4.7)”, and that those backports “will ship as they become ready”. It also points out that only the most recent version is actively supported. If you’re on an old branch, run the minor update below and check the version it reports, then plan the move to 7.1.

How to check and update

From the dashboard, Dashboard → Updates shows your version and offers the update. With WP-CLI, run these from the site’s folder:

wp core version             # which version is installed
wp core update --minor      # newest security release on your branch
wp core update              # or move to the latest version (7.1.4)
wp core verify-checksums    # confirm core files match the official release

WordPress says sites that support automatic background updates will start the update on their own. If a site didn’t update, check whether someone switched automatic updates off in wp-config.php:

grep -nE "AUTOMATIC_UPDATER_DISABLED|WP_AUTO_UPDATE_CORE" wp-config.php

Extra hardening (our suggestion)

These steps aren’t part of WordPress’s advice, but they close off the route this bug relied on. WordPress works with wp-content/upgrade/ on disk; visitors have no reason to load anything from it.

  • Turn off directory listings. In Apache, use Options -Indexes. In nginx, leave autoindex off (the default).
  • Deny web access to the upgrade folder in your server config, not in a file inside the folder, because WordPress empties that folder before each upgrade.
# Apache (site .htaccess or virtual host)
RedirectMatch 403 ^/wp-content/upgrade/

# nginx (inside the server block)
location ^~ /wp-content/upgrade/ { deny all; }

Then confirm that https://your-site/wp-content/upgrade/ returns 403 with our HTTP Status Checker, and test one update on a staging copy.

Signs you may already have been hit

If a site was behind on updates, check it before you move on:

  • wp user list --role=administrator for admin accounts you don’t recognise
  • wp core verify-checksums for modified core files
  • find wp-content/uploads -name "*.php" for PHP files where only media should be
  • Leftover folders in wp-content/upgrade/ and recently changed wp-config.php or .htaccess files

If you find a web shell, updating isn’t enough. Restore from a clean backup or rebuild, then change every password and key the site held, including the database password and the salts in wp-config.php. Our guide to rotating leaked secrets covers that part. And don’t forget the layer underneath: the php2shell flaws in PHP itself need a separate update.

Sources

Related

More from Alerts

Most read

Latest

Most read

  1. 01November Patch Tuesday lands on the 10th: what October’s record release tells us19
  2. 02Introducing UtiBox: the Web’s Utility Box2
  3. 03Ivanti Connect Secure zero-days gave attackers root on VPN gateways1
  4. 04“Black October”: attackers raid secrets at cloud and AI developer platforms1

Embed this post

Paste this code into your page. It shows the post as a card that links back here. In WordPress you can also paste the post’s address on a line of its own.

Cookies on UtiBox

UtiBox is free because of ads. Google and its partners use cookies to show, limit and measure ads, Google Analytics, Ahrefs Web Analytics and Microsoft Clarity show us how the site is used, and we use a few essential cookies to run the site.