WordPress before 7.1.4: a flaw in core updates is being exploited
A flaw in how WordPress updates itself can let someone run code on a site while an update is in progress. It is being used in attacks. Make sure your site is on 7.1.4 or your branch's latest security release.
- Affected
- WordPress 7.1: 7.1.0 to 7.1.3
- WordPress 7.0: 7.0.0 to 7.0.7
- WordPress 6.9: 6.9.0 to 6.9.10
- WordPress 6.8: 6.8.0 to 6.8.11
- WordPress 6.7: 6.7.0 to 6.7.10
- WordPress 6.6: 6.6.0 to 6.6.10
- WordPress 6.5: 6.5.0 to 6.5.13
- WordPress 6.4: 6.4.0 to 6.4.13
- WordPress 6.3: 6.3.0 to 6.3.13
- WordPress 6.2: 6.2.0 to 6.2.14
- WordPress 6.1: 6.1.0 to 6.1.15
- WordPress 6.0: 6.0.0 to 6.0.17
- WordPress 5.9: 5.9.0 to 5.9.19
- WordPress 5.8: 5.8.0 to 5.8.18
- WordPress 5.7: 5.7.0 to 5.7.20
- WordPress 5.6: 5.6.0 to 5.6.22
- WordPress 5.5: 5.5.0 to 5.5.23
- WordPress 5.4: 5.4.0 to 5.4.24
- WordPress 5.3: 5.3.0 to 5.3.26
- WordPress 5.2: 5.2.0 to 5.2.29
- WordPress 5.1: 5.1.0 to 5.1.27
- WordPress 5.0: 5.0.0 to 5.0.30
- WordPress 4.9: 4.9.0 to 4.9.34
- WordPress 4.8: 4.8.0 to 4.8.33
- WordPress 4.7: 4.7.0 to 4.7.38
- Fixed in
- WordPress 7.1: 7.1.4
- WordPress 7.0: 7.0.8
- WordPress 6.9: 6.9.11
- WordPress 6.8: 6.8.12
- WordPress 6.7: 6.7.11
- WordPress 6.6: 6.6.11
- WordPress 6.5: 6.5.14
- WordPress 6.4: 6.4.14
- WordPress 6.3: 6.3.14
- WordPress 6.2: 6.2.15
- WordPress 6.1: 6.1.16
- WordPress 6.0: 6.0.18
- WordPress 5.9: 5.9.20
- WordPress 5.8: 5.8.19
- WordPress 5.7: 5.7.21
- WordPress 5.6: 5.6.23
- WordPress 5.5: 5.5.24
- WordPress 5.4: 5.4.25
- WordPress 5.3: 5.3.27
- WordPress 5.2: 5.2.30
- WordPress 5.1: 5.1.28
- WordPress 5.0: 5.0.31
- WordPress 4.9: 4.9.35
- WordPress 4.8: 4.8.34
- WordPress 4.7: 4.7.39
- CVE
- CVE-2026-119977
- Being exploited
- Yes, according to the sources below
What happened
On 28 October 2026 WordPress released 7.1.4, a security release with 13 fixes. The most serious, CVE-2026-119977 (rated 8.1 out of 10, CVSS v3.1), is in the way WordPress updates its own core files. During a full core update, WordPress unpacks the new version into a temporary folder whose location can be guessed and reached from the web. Someone who finds it in time can run their own code on the server, without logging in.
On 3 November 2026 CISA added the flaw to its Known Exploited Vulnerabilities catalog, which means it has evidence the flaw is being used in attacks.
Who is affected
Sites running WordPress 4.7 through 7.1.3 that haven't installed their branch's October 2026 security release. The fix is in WordPress core, not in a plugin or a theme, and your host's server software is not at fault.
The WordPress project backported the fix to every branch from 4.7 onwards, so an older site doesn't have to move to 7.1 to be fixed. It only actively supports the newest version, though, so older branches are a stopgap.
What to do
- Check your version. In WordPress, go to Dashboard, then Updates. You want 7.1.4, or the version listed above for your branch.
- Protect the update itself. The update that installs the fix is run by the old updater, so the
researcher who found the flaw advises blocking web access to the
wp-content/upgrade/folder first. WordPress never needs that folder to be reachable from the web.- Ask your host to block it, or add the rule to your server's configuration or your site's main
.htaccessfile. Don't put the rule inside theupgradefolder: the updater empties that folder, and the rule would go with it. - Test it with two small files in that folder: a text file, and a PHP file that only prints a
word. Open each in a browser at
/wp-content/upgrade/plus the file name, with your WordPress folder in front if the site lives in one (such as/wordpress/wp-content/upgrade/). If yourwp-contentfolder has been moved or renamed, use its address instead. Both should be refused with a 403 error. Then delete them. - Checking the folder or the text file alone isn't enough: some servers handle PHP files with a separate rule that can get past the block.
- Don't let this hold up the update for long.
- Ask your host to block it, or add the rule to your server's configuration or your site's main
- Update if you aren't there yet. Most sites update minor releases by themselves, but some hosts and some settings turn that off. If yours is behind, update now, at a quiet time if you can.
- If you manage several sites, check each one rather than assuming automatic updates ran.
- If you're on 6.5 or older, plan a move to the current version once you've updated your branch. The fixed releases go back to 4.7 only, so if you're on 4.6 or older, move to a supported version now.
- If you notice anything unusual after an update, such as an administrator you didn't add, files you don't recognise or pages you didn't publish, treat it as a possible hack and get help.
How to check
Dashboard, then Updates shows the version you're running at the top of the page. Your host's control
panel or a tool such as WP-CLI (wp core version) shows it too. A version at or above the one for your
branch in this advisory is fixed.
Sources
For information: this is a summary for site owners written from the sources above, not a complete list of every affected version or setup. The sources have the full details.