On October 28, 2026, WordPress 7.1.4 was released - a pure security update. It fixes 22 security vulnerabilities, including a weakness in the update process itself that can lead to remote code execution. The WordPress team recommends updating all websites without delay. Older versions back to WordPress 4.7 get their own security updates.
No time to take care of it yourself? I install the update and check afterwards that everything works:
These WordPress versions are safe
WordPress officially supports only the latest version. As a courtesy, however, the team has also released the fixes for older branches. Not every branch is affected by all 22 vulnerabilities - the older the version, the fewer of the newer features it has and the fewer vulnerabilities affect it.
| Branch | Safe version | Affected by |
|---|---|---|
| 7.1 | 7.1.4 | all 22 vulnerabilities |
| 7.0 | 7.0.8 | all 22 vulnerabilities |
| 6.9 | 6.9.11 | all 22 vulnerabilities |
| 6.8 | 6.8.12 | 20 vulnerabilities |
| 6.7 | 6.7.11 | 20 vulnerabilities |
| 6.6 | 6.6.11 | 19 vulnerabilities |
| 6.5 | 6.5.14 | 17 vulnerabilities |
| 6.4 | 6.4.14 | 17 vulnerabilities |
| 6.0 to 6.3 | 6.0.18, 6.1.16, 6.2.15, 6.3.14 | 9 vulnerabilities |
| 5.9 | 5.9.20 | 9 vulnerabilities |
| 5.0 to 5.8 | 5.0.31 to 5.8.19 | 6 vulnerabilities |
| 4.7 to 4.9 | 4.7.39, 4.8.34, 4.9.35 | 2 to 4 vulnerabilities |
| 4.6 and older | no more updates | - |
If your website still runs on WordPress 4.6 or older, there is no fix anymore. The only option then is moving to a current version - ideally tested on a copy of the website first.
The most important vulnerability: a race condition during core updates
The most serious vulnerability is in the update process, of all places. According to the official release notes, it is a race condition during core updates that could lead to remote code execution. It was reported by Umut Bayram.
An analysis by HOL describes how it works: during an update, WordPress unpacks a complete copy of the new version into the folder wp-content/upgrade/. Like almost everything under wp-content, this folder can be reached through the web server. Before 7.1.4, anyone who requested the right address during this short window could reach the installer of that copy and plant their own wp-config.php, which the update then copied over the real one. The window opens with every update, including automatic background updates.
No login is required. The good news: the window is short, and the attack is hard to carry out in a targeted way. According to HOL, Patchstack rates it as hard to exploit. As of the afternoon of October 28, no CVE IDs had been published and no attacks were known.
The other vulnerabilities: mostly with a user account
In most cases, the other vulnerabilities require a user account, often starting with the Contributor role. The main groups:
- Stored cross-site scripting (XSS): in the Interactivity API (several vulnerabilities), in the Customizer’s selective refresh, in the Categories, Comments Pagination and Post Navigation Link blocks, via whitespace in block delimiters and on the personal data erasure requests screen (Editor role and up). Through XSS, an attacker can inject malicious code into pages that then runs in other users’ browsers - in the worst case, in an administrator’s browser.
- Unpublished Customizer changes were visible to visitors who were not logged in. This is the second vulnerability that works without logging in. It reveals drafts but does not run any code.
- Notes: custom user roles with the right to moderate comments could read, edit and delete notes on posts they are not allowed to edit themselves. According to HOL, the default roles are not affected.
- Denial of service via the Interactivity API.
- Hardening: unescaped usernames in the user management of multisite networks and unsafe replacements in the Image and Playlist blocks.
In addition, the bundled root certificates were updated because the certificate authority eMudhra was revoked.
Who is most affected?
A blog where only you log in is hardly at risk from the vulnerabilities that need a user account. It is different for:
- websites with several authors or external contributors,
- membership areas, communities and shops where visitors can register themselves and get a higher role,
- multisite networks with many users,
- websites with stolen or weak login credentials - a hijacked Contributor account is enough for most of the vulnerabilities.
How severe are the vulnerabilities?
WordPress does not publish CVSS scores with its security updates, and as of the evening of October 28, no CVE IDs had been assigned. So there is no official score yet. The prerequisites and possible consequences still give a clear picture:
| Vulnerability | Prerequisite | Possible consequence | My assessment |
|---|---|---|---|
| Race condition during updates | no login, request exactly during an update | takeover of the entire website | serious, but hard to exploit |
| Stored XSS (most vulnerabilities) | account with Contributor role, some Author or Editor | takeover via an administrator’s browser | medium, high for websites with many accounts |
| Denial of service | account with Contributor role | affected pages stop working | low to medium |
| Customizer drafts | no login | unpublished design changes visible | low |
| Notes | custom role with moderation rights | read, edit, delete other people’s notes | low, only with custom roles |
According to HOL, Patchstack rates the race condition as a high-complexity attack and considers practical exploitation unlikely. HOL still lists the update as “high severity” - because a successful attack means a complete takeover and no login is needed. At the time of release, there were no known attacks and no public proof-of-concept code.
How an attack via the race condition could work
The fix in the source code shows where the problem was. Before 7.1.4:
- The working folder under
wp-content/upgrade/was named after the update package and was therefore predictable in some cases. - During cleanup, the protective
index.phpin this folder was deleted. - During a core update, a
wp-config.phpfrom the working folder was copied into the website.
An attacker therefore had to call the installer of the unpacked copy (setup-config.php) during the few seconds the update runs and have it create their own configuration - for example with credentials for a database they control. The update then copied this file over the real wp-config.php. From then on, the website would have worked with the attacker’s database, the attacker would have been an administrator and could have run any code through a plugin.
This is difficult because the attacker has to hit the right folder name and the exact moment of the update. Automatic background updates, however, run at times that cannot be seen from outside. WordPress 7.1.4 closes the gap in three ways: the folder name gets 16 random characters, the index.php stays in place, and a wp-config.php from the working folder is no longer copied.
How an attack via stored XSS could work
For the XSS vulnerabilities, the typical sequence is simpler and therefore the bigger risk for websites with several accounts:
- The attacker has an account with the Contributor role - through open registration, stolen credentials or as a guest author.
- They save a post with prepared content, such as a manipulated block or Interactivity API attribute. According to HOL, seven of the reports share the same root cause: the WordPress filter for allowed HTML let certain
data-*attributes through. - An editor or administrator opens the post to review it or in the preview.
- The injected script runs in that person’s browser with their rights - and can, for example, create a new administrator or install a plugin with malicious code.
A Contributor account normally cannot publish anything. Through XSS, this small account can, in the worst case, gain full control of the website.
How to install the update
- Create a backup: back up files and database before updating.
- Start the update: in the dashboard under Dashboard → Updates, click “Update Now”. With WP-CLI, use
wp core update. - Check the version: under Dashboard → Updates or with
wp core version, you should see 7.1.4 (or the safe version of your branch). - Check the files:
wp core verify-checksumscompares the WordPress files with the originals and shows modified or unknown files.
If you have automatic background updates for security releases enabled (the WordPress default), the update arrives on its own. Still check the version - background updates can fail because of missing write permissions or a plugin.
Extra protection: block the upgrade folder
The folder wp-content/upgrade/ never needs to be reachable from the browser - WordPress accesses it directly through the file system during an update. HOL therefore recommends blocking it at the web server level. With Apache, one line in the .htaccess in the root directory is enough:
RedirectMatch 403 ^/wp-content/upgrade/
With nginx, in the server configuration:
location ^~ /wp-content/upgrade/ {
deny all;
}
A security plugin does not help here: it runs in PHP, but the files in this folder are requested directly. After the change, test whether the website and the next update work normally. If you update manually, it is best to add the block before updating.
After the update: a quick check that everything is clean
An attack via the race condition is unlikely, but not impossible. A few quick checks show whether your website looks normal:
- After the update, the folder
wp-content/upgrade/should be empty - no leftovers of an unpacked WordPress. - The
wp-config.phpshould not have changed unexpectedly (modification date, database credentials, unknown code). - The server’s access log should not show any requests for
install.phporsetup-config.phpunderwp-content/upgrade/. wp core verify-checksumsreports no unknown PHP files.- Under Users, check all accounts with the Contributor, Author and Editor roles: do you know all of them? Are all of them still needed?
If you find anything suspicious, proceed as you would after a hack: take the website offline, change credentials, restore from a clean backup. How to recognize an attack is also covered in my post on PHP2Shell.
What happens next?
The next major update, WordPress 7.2, is planned for December 8, 2026. The current test version 7.2 Beta 3 already contains the fixes. As soon as CVE IDs or details about attacks become known, I will add them to this post.
I can help
Not sure whether the update has arrived on your website, or is your website still running an old WordPress version? I check your website, install the update and then make sure everything is clean. For very old versions, I test the move on a copy first so the live site does not go down.
- WordPress Maintenance - ongoing care including updates and security
- WordPress Emergency Support - fast help if your website is already affected
Sources
- WordPress.org: WordPress 7.1.4 Security Release
- WordPress.org: Version 7.1.4 - release notes with all vulnerabilities and backports
- HOL: WordPress 7.1.4 security release - upgrade race RCE, how to fix
- Windows Report: WordPress 7.1.4 Fixes Remote Code Execution Flaw and Multiple XSS Vulnerabilities
- GitHub (wordpress-develop): commit “Improve the handling of the upgrade working directory”
- HOL Guard: WordPress 7.1.4 - analysis of the race condition
- CSO: WordPress patches a critical severity security vulnerability (CVE-2026-87902)




