← ka-blag!
Articles

A WordPress core flaw is under attack and 7.2 lands Dec 8. Here's my patch plan

WordPress Core under attack

A WordPress core bug is being exploited right now, and a major release lands in days. I still look after 32 WordPress sites, so here's how I'm handling both.

If you read my post on why I left WordPress, you might wonder why I'm still writing about it. The short answer: I manage a lot of sites, some on care plans and some not. I've moved more than 20 to Payload CMS and Astro, and a few to plain static Astro. But around 32 are still on WordPress, and most will likely stay there well into 2027.

I first heard about this exploit in one of my Facebook groups, so I dug into it. If you look after other people's sites, this is a lot of updating in a short window. Here's my plan.

What happened

On October 28, WordPress shipped 7.1.4 as a security release and told everyone to update immediately. The fix that matters here is the one the release post lists as "a weakness in the WordPress upgrade process which can lead to remote code execution during the upgrade window."

On November 3, CISA added that flaw, CVE-2026-119977, to its Known Exploited Vulnerabilities catalog. In plain terms, people are using it against real sites, not just writing about it. In an advisory update that weekend (October 31 and November 1), Wordfence said it had blocked 13,095 attacks against it in the previous 24 hours (BleepingComputer).

The NVD entry for the flaw lists versions 4.7 to 7.1.3. The researcher who found it, Umut Bayram of Picus Security, says the bug goes back to 2.7.0.

Then on November 18, WordPress shipped 7.1.5, another security release, with twenty more fixes. One of them is an unauthenticated privilege escalation that could lead to remote code execution.

And WordPress 7.2 is scheduled for December 8. It is the last major release of 2026, and a new default theme ships with it.

What the flaw is, in plain words

The bug lives in the moment WordPress updates itself. A full core upgrade drops the new files into a temporary folder, and on most servers anyone on the web can reach that folder while the upgrade runs. BleepingComputer describes it as a race condition: an attacker who times things right can run code on the server, without logging in. It is not easy to pull off, but people are trying.

The fix is to be on a patched version. WordPress also backported the fix to every older branch that still gets security updates, back to 4.7. Those releases came out the same day as 7.1.4 (7.0.8, 6.9.11 and so on down to 4.7.39), and November 18 brought another round alongside 7.1.5 (WordPress release archive).

So when I say a site is unpatched below, I mean 7.1.3 or older on the 7.1 branch, or below its own branch's October 28 release on an older one (7.0.7 or earlier on 7.0, 6.9.10 or earlier on 6.9, and so on). Sites older than 4.7 get no fix at all, because WordPress only backports security fixes as far as 4.7. They need a full upgrade. The safest target is still the latest release, 7.1.5. On an older branch, take at least its November 18 release.

Sites with automatic background updates should have been updated on their own. "Should" is doing a lot of work in that sentence, which is why I check. And even the ones that did update went through the old updater to get there, which is why step 7 includes them.

There is one catch that changes how I update. On a site that is still vulnerable, the update that installs the fix is still unpacked by the old, unpatched updater. So the act of patching can open the window the patch is meant to close. That is why step 4 below exists.

My patch order

This is the checklist I run. It is boring on purpose.

  1. Inventory. List every site, its WordPress version, and whether auto-updates are on. You cannot patch what you have not counted. My sites and those of my direct clients are now all on Ploi so it is much easier to manage and update. I can deploy a script that would automate all this. But I also have white-label clients who uses their own tools such as ModularDS, ManageWP, WP-Staq, etc...
  2. Backup first, off the server, and test it. A backup you have never restored is a guess. UpdraftPlus is my backup tool of choice.
  3. Highest risk first. Sites with open registration, lots of admin users, or plugins nobody has touched in a year go to the top. Fortunately, none of the sites I manage gets to this point. I keep plugins to a minimum and prefer to custom write plugins/functions using WPCodebox. The WPCodebox Functionality plugins comes in pretty handy.
  4. Close the window before you update. If a site is still unpatched, the update runs the old, vulnerable updater. Bayram advises blocking web access to wp-content/upgrade first. Check that it returns a 403. Only then update. On Ploi, I created a script that handles this.

Nobody needs to load that folder in a browser, so updates still work with the block in place. Two things will not protect you: an .htaccess file dropped inside the folder, since the old updater wipes it, and switching to WP-CLI for the core update, since it goes through the same updater. If you cannot block the folder, his fallback is to back up everything and do the update by hand outside the web root (Expert Insights, Nov 9).

  1. Update to the latest security release, 7.1.5. Not 7.1.4. Then check the front end, the forms, and checkout if there is one.
  2. Finish the update cleanly. I do not leave an update half-done or a site stuck in maintenance mode. If an update fails, I fix it right away.
  3. Look for signs of trouble on sites that were behind. That includes sites that auto-updated from an unpatched version. That first update ran the old updater too, so they went through the same window. New admin users you did not create. Files in uploads that should not be there. Core files that do not match a clean copy.
  4. Write it down. Per site: date, old version, new version, anything odd. Clients rarely ask, but when they do, you have the answer.

7.2 is a different job

A security release and a major release are two different kinds of change, and I keep them apart. Patch now. Upgrade separately, on purpose.

The WordPress 7.2 Field Guide lists more than 440 tickets. A few that matter if you maintain sites:

  • Admin menu icons change. The admin menu and toolbar switch from the Dashicons font to SVG icons. If you have a custom admin color scheme, swapped icons, or CSS aimed at Dashicons, check them.
  • Database connection settings change. WordPress now switches off the NO_BACKSLASH_ESCAPES SQL mode for its own connection. The server's settings stay as they are. Most sites will not notice. Custom code that relied on the old behavior might.
  • Interactivity API cleanup. Old behaviors that were already deprecated, data-wp-ignore among them, are gone in 7.2. Custom blocks that still use them need a look.
  • jQuery Migrate goes to 3.6.0. jQuery 4 itself is not in 7.2; it is tentatively aimed at 7.3.
  • Client-side media processing grows, but only in Chromium-based browsers. In Firefox and Safari, uploads are still processed on the server.
  • The Abilities API gets new core abilities for content, users and settings, part of WordPress's work on letting AI agents interact with sites.

The fourth release candidate came out on December 1, with a code freeze on December 7 and the final release on December 8. That is a schedule for core contributors, not a deadline for client sites.

What I tell clients without a maintenance plan

Some clients don't pay for maintenance. That's their call, and the site is theirs. But in a month like this, they should hear it from me, not from their hosting company after something has gone wrong.

A few months ago, one of my sites was hit by an earlier WordPress 7.1.0 vulnerability, a different flaw from the one in this post. That site was on a maintenance plan, so I caught it quickly and fixed it. A site without a plan has nobody watching.

So when something like this comes up, clients without a plan still get a heads-up from me. It usually turns into a short paid job to run the patch, and then we go back to the no-maintenance arrangement. If a client ignored my message and something did happen, I'd at least have it on record that I reached out. So far, none of them has ignored a warning and been hit.

This week, in short

  1. Back up first, and make sure you can restore.
  2. Block web access to wp-content/upgrade before updating any site that is still unpatched, and confirm it returns a 403.
  3. Get every site to 7.1.5 now. Do not wait for 7.2.
  4. Check the sites that were behind, and the ones that auto-updated from an unpatched version, for anything that should not be there.
  5. Try 7.2 locally or on staging before it reaches client sites. Test admin styling, custom blocks and forms.
  6. Keep a log.

Patch the security release now. Stage the major release. Keep backups you have tested.

Wrapping up

My rule is simple: the security patch and the major upgrade never go out as one change. If something breaks, I want to know which one did it.

Beyond that, release day is mostly a day of watching. When I have the time, I've already run the latest release candidate locally. And the way I build on WordPress has changed over the years: very few plugins, usually just ACF, with the rest in custom functions through WPCodeBox and its Functionality Plugin. The less a site depends on, the less a major release can break.

So patch now, upgrade on purpose, and never do both at once.

Comments

Join the conversation: reply on Bluesky. Replies show up here.

Leave a comment

Thanks — your comment is waiting for approval.

Thanks — your comment will show here in a minute or two.

Comments are plain text and may be held for approval.