Actively exploited CVSS 8.1 Security news

WordPress: attackers exploit a flaw in the core update process

Run a WordPress site? CVE-2026-119977 lets an attacker with no account run code on your server while WordPress is updating itself, and CISA says it is being exploited. WordPress fixed it on 28 October 2026 in version 7.1.4 and in security releases for older branches.

Kyberkit editorial team · · event date · reading time 6 minutes · updated

Actively exploited: WordPress, CVE-2026-119977, CVSS 8.1

Key points

  • During a full-package core update, WordPress stages files in a predictable, web-accessible location. An unauthenticated attacker can use that window to run code on the server.
  • Versions 4.7 to 7.1.3 are affected. The fix is WordPress 7.1.4 (28 October 2026) or the security release for your branch, such as 6.8.12.
  • CISA added the flaw to its Known Exploited Vulnerabilities catalog on 3 November 2026.
  • Update, block web access to wp-content/upgrade/, and look through your access logs for requests to that folder.

Vulnerabilities: CVE-2026-119977

What happened

WordPress powers a huge share of the web, from personal blogs to WooCommerce shops. CVE-2026-119977 is in WordPress core itself, not in a plugin or theme, so every site on an affected version is exposed regardless of what it has installed.

WordPress released version 7.1.4 on 28 October 2026 as a security release with 13 fixes. The most serious one, credited to researcher Umut Bayram, is described by WordPress as a weakness in the upgrade process "that could lead to remote code execution during the upgrade window". WordPress recommended updating immediately. The CVE record was published in NVD on 31 October, and on 3 November 2026 CISA added it to its Known Exploited Vulnerabilities (KEV) catalog, which means it has evidence of exploitation in the wild.

Detail Value
Type time-of-check/time-of-use race condition (CWE-367) leading to code execution
Severity CVSS 3.1 8.1 (High), scored by Wordfence: AV:N/AC:H/PR:N/UI:N
Affected WordPress 4.7 to 7.1.3
Fixed 28 October 2026 – 7.1.4 and security releases for older branches
In CISA KEV since 3 November 2026 (deadline for US federal agencies: 6 November)

CISA doesn't say whether ransomware groups are using the flaw, and neither WordPress nor CISA has published how many sites have been hit.

Technical details

According to the NVD record, the problem lies in full-package core upgrades. When WordPress installs a new version from a complete package, it unpacks the files into a staging location first. That location is predictable and reachable from the web. For the few moments the staged copy exists, an unauthenticated attacker who requests it can get code to run on the server.

That's why it's classed as a race condition: the attacker has to hit the staged files after they appear and before WordPress moves or deletes them. NVD's references point to the core upgrader classes in wp-admin/includes/ and to the installer script wp-admin/setup-config.php in 7.1.3, alongside the changed upgrade code in 7.1.4. In other words, the risk sits in the update routine, not in the normal running site.

A few points matter for defenders:

  • No login is needed. The CVSS vector has PR:N – no privileges and no user interaction.
  • Timing is everything. The attack complexity is rated high (AC:H) because it only works while an update is being unpacked. Patchstack calls the window "extremely small".
  • A PHP-level firewall can't stop it. Patchstack notes that no rule in its own firewall can cover it, because the staged files are requested directly. The block has to be at the web server.
  • Automatic updates create the window. A site that updates itself in the background goes through exactly this sequence, so the fix has to be in place – or the folder blocked – before the next full-package update.

We're not publishing request patterns that would help someone reproduce the attack. The detection advice below is enough to find suspicious traffic.

Who is affected

Anyone running WordPress 4.7 through 7.1.3: businesses, schools, councils, charities, individuals. According to NVD, you're safe once you have at least the fixed release for your branch:

Branch Fixed version
7.1 7.1.4
7.0 7.0.8
6.9 6.9.11
6.8 6.8.12
6.7 6.7.11
6.6 6.6.11
6.5 6.5.14
6.4 6.4.14
6.0 to 6.3 6.0.18, 6.1.16, 6.2.15, 6.3.14
5.x 5.0.31, 5.1.28, 5.2.30, 5.3.27, 5.4.25, 5.5.24, 5.6.23, 5.7.21, 5.8.19, 5.9.20
4.7 to 4.9 4.7.39, 4.8.34, 4.9.35

WordPress backports security fixes to every branch back to 4.7, but it only fully supports the latest version. Treat old-branch releases as a stopgap. Visitors to WordPress sites don't need to do anything.

How to tell if you were compromised

Neither WordPress nor CISA has published official indicators of compromise. Based on how the flaw works, these are the checks we'd run first:

  • Access logs. Look for requests to anything under /wp-content/upgrade/, especially .php files. Legitimate visitors and WordPress itself have no reason to fetch files from that folder over HTTP, so any such request deserves a closer look – even if it returned 404. Repeated probing of different subfolders suggests someone is scanning and waiting for an update window.
  • Timing. Compare suspicious requests with the times your site updated its core. A successful request during an update is the red flag.
  • Users. Check Users for unfamiliar accounts, particularly with the Administrator role.
  • Files. Look for .php files where they don't belong – in wp-content/uploads/ or left behind in wp-content/upgrade/ – and for recently modified core files.
  • Behaviour. Unknown plugins, unexpected redirects for visitors, or new scheduled tasks.

Paste suspicious log lines into our IOC extractor to pull out the source IP addresses as a clean list for blocking or further checks. It runs entirely in your browser.

CISA also requires US federal agencies to carry out a forensic triage for this flaw, which is a good hint that patching alone isn't the end of the job if you were exposed.

What to do

  1. Check your version under Dashboard → Updates.

  2. Back up files and database first. Most hosting control panels let you download a backup.

  3. Update with Update now. If automatic updates are on, confirm that the update actually completed.

  4. Block web access to wp-content/upgrade/. Patchstack recommends denying it at the web server and making sure the folder can't be listed. WordPress keeps writing to the folder through the file system, so this doesn't break updates. On nginx:

    location ^~ /wp-content/upgrade/ {
        deny all;
    }

    On Apache, put a .htaccess file in wp-content/upgrade/ containing Require all denied. If you're on shared hosting, ask your host to do it.

  5. Run the compromise checks above, especially if your site updated between 28 October and the day you patched.

  6. If you find signs of compromise, change the passwords for WordPress admins, the database and FTP/SSH (our password generator creates strong ones), remove unknown accounts and files, and involve your host. If personal data such as customer records may have leaked, check your data protection obligations. In the US you can report incidents to CISA; in the UK, to the NCSC.

Timeline

Timeline of CVE-2026-119977 in WordPress core28 Oct 2026: WordPress releases 7.1.4 and fixes for older branches; 31 Oct 2026: CVE record published in NVD; 3 Nov 2026: CISA adds the flaw to its KEV catalog; 6 Nov 2026: CISA deadline for US federal agencies28 Oct 2026WordPress releases 7.1.4 andfixes for older branches31 Oct 2026CVE record published in NVD3 Nov 2026CISA adds the flaw to its KEVcatalog6 Nov 2026CISA deadline for US federalagencies
From the fix to CISA's deadline (WordPress.org, NVD and CISA data)

FAQ

How do I find out which WordPress version I'm running?

In the admin area, go to Dashboard → Updates. The current version is shown at the top. If an agency or a freelancer looks after your site, ask them today.

I'm on 6.8. Do I have to move to 7.1.4 right away?

For this flaw, the fixed release of your own branch is enough – for 6.8 that's 6.8.12. WordPress only fully supports the latest version, though, so plan the move to the current branch.

Automatic updates are on. Am I safe?

WordPress says sites that support automatic background updates will start updating on their own. Check Dashboard → Updates to make sure it actually happened. The irony of this flaw is that the update itself is the risky moment, so a fast update shortens your exposure rather than adding to it.

The attack window is only a few seconds. Why the fuss?

Patchstack calls the window extremely small, and NVD rates the attack complexity as high. But CISA only lists flaws in its KEV catalog when it has evidence of real exploitation, and attackers can scan many sites automatically and wait for an update to start. Patch anyway.

Do visitors to a WordPress site need to do anything?

No. Only the people who run the site – owners, admins or their hosting provider – need to act.

Sources

  1. WordPress.org – WordPress 7.1.4 Security Release (28 October 2026)
  2. NVD – CVE-2026-119977
  3. CISA – Known Exploited Vulnerabilities Catalog (CVE-2026-119977)
  4. Patchstack – WordPress Core <= 7.1.3 Remote Code Execution (RCE)

Spotted a mistake? Let us know and we will correct it openly.