November 9, 2026
Before You Update WordPress: Block One Folder First
Attackers are probing WordPress flaw CVE-2026-119977, and updating can briefly expose some sites. Block /wp-content/upgrade/ first, then update to 7.1.4.
High Power Technical Solutions · November 9, 2026
Last week WordPress released a fix for a serious flaw. This week, the picture got worse: attackers are probing for it, and the update that installs the fix can still leave some sites briefly exposed. The good news is there's a clear order of operations that closes that window.
What happened
The flaw is tracked as CVE-2026-119977. It affects self-hosted WordPress versions 4.7 through 7.1.3. During a core update that uses a complete package, WordPress unpacks a copy of the new version into a temporary folder under `wp-content/upgrade`. That copy can include the WordPress installer, and the web server can usually reach it.
An attacker with no account who can guess the folder name and hit the installer before WordPress deletes the copy may be able to run code on the server. CISA added the flaw to its Known Exploited Vulnerabilities catalog earlier this month based on evidence of active use.
WordPress released the fix in version 7.1.4 and in matching updates for older branches back to 4.7. The fix gives the temporary folder a random name. But here's the catch, according to Umut Bayram of Picus Security, the researcher who found the flaw: the update that installs the fix still unpacks its files using the site's old, unpatched updater code. On sites running 5.9 or later, that old code names the folder after the downloaded file, so the name can be predicted one last time.
Not every update exposes the installer. Complete packages (for example, jumping from 7.0.7 to 7.1.4) always include it. Smaller partial packages within a branch (for example, 7.1.3 to 7.1.4) usually don't — though WordPress can fall back to a complete package if core files don't match official checksums. The researcher's bottom line: what matters is whether the updater already on the site has been fixed.
Wordfence, the WordPress security company that assigned the CVE, reported that attack attempts began nine minutes after it deployed a firewall rule on release day. Two of the busiest sources kept checking small groups of sites for about 14.5 hours — a pattern that looks like attackers trying to catch sites mid-update. Code described by its authors as an exploit has appeared on GitHub; whether that code works has not been independently confirmed.
Automatic background updates use the same updater, so they are not a free pass. WP-CLI's `wp core update` command also uses the same updater and is not a safe alternative by itself.
Who is affected
- Self-hosted WordPress 4.7–7.1.3
- Fixed in 7.1.4 and branch releases back to 4.7
- WordPress 4.6 and older receive no fix and should move to a supported version
- Hosted WordPress.com sites managed by Automattic are a different product; this post is about self-hosted installs
Wordfence rates the flaw 8.1 on the CVSS scale. WordPress's own advisory rates it low. In lab tests Wordfence saw the exposure window lasting only seconds — but seconds are enough if an attacker is watching for that moment.
What to do now
Do these steps in order. Blocking the folder first is the point.
- Block public web access to `/wp-content/upgrade/`. WordPress still uses that folder on disk for updates; blocking web access does not break updates.
- Nginx: add `location ^~ /wp-content/upgrade/ { deny all; }` - Apache (virtual host): add `Require all denied` for that folder - Apache (.htaccess only): add `RedirectMatch 403 ^/wp-content/upgrade/` to the `.htaccess` file in the WordPress root, above the WordPress rewrite rules - Do not put an `.htaccess` file inside `wp-content/upgrade` itself — the old updater deletes everything in that folder before unpacking, so the file would be gone when you need it
- Confirm the block. Visit `https://yoursite.com/wp-content/upgrade/` and make sure you get a 403 response.
- Update to 7.1.4 (or the fixed release for your branch).
- If the site stayed on an affected version after the fix was released, check for:
- Unexpected requests to PHP files under `wp-content/upgrade` - Administrator accounts no one recognizes - Plugins no one installed - Stray PHP files in `wp-content/upgrade`
Another safe route, if you're comfortable with it: a manual update outside the web root — back up files and database, unpack the new release in a folder the web server does not serve, copy core files into place without touching `wp-config.php` or `wp-content`, then run the WordPress database update. That way no temporary installer is ever created where the web can reach it.
How High Power Technical Solutions can help
If you run a WordPress site for your business and you're not sure whether the upgrade folder is blocked or whether you're on 7.1.4, High Power Technical Solutions can help. We work with small businesses across Hampton Roads and can walk through the checklist above with you — including sites that auto-updated.
No update list can promise a site is completely safe, but closing this window before you update is a simple step that removes a known attack path.
This post was drafted with AI and approved for publishing by a person at High Power Technical Solutions.
---
Sources: The Hacker News (read in full; Wordfence blog claims summarized there after that page returned 403 to our fetcher); CISA Known Exploited Vulnerabilities Catalog; WordPress 7.1.4 security release notes.