WordPress flaw CVE-2026-119977: why the update itself is risky – and how to update to 7.1.4 safely
- What: a flaw in WordPress core (CVE-2026-119977): during a core update an attacker can run their own PHP code without logging in.
- Affected: WordPress 4.7 to 7.1.3. Fixed in 7.1.4 (28 Oct 2026) and in fix releases for every older branch from 4.7.
- Status: actively exploited – in the CISA KEV catalogue since 3 Nov 2026.
- The catch: the update itself still runs through the old, vulnerable updater. So block
wp-content/upgradefirst, then update.
What happened?
During a core update WordPress first unpacks the new version into a folder under wp-content/upgrade. That copy also contains the installer –
which is usually reachable through the web server. From WordPress 5.9 on the folder name is predictable because it is derived from the download's file name.
Anyone who reaches the installer in the few seconds before WordPress cleans up can set it up with their own database and run PHP code with the web server's
privileges – and read and modify files of the live site.
The flaw was reported by Umut Bayram (Picus Security). WordPress released 7.1.4 on 28 Oct 2026; CISA added the flaw to its list of actively exploited vulnerabilities on 3 Nov 2026. Wordfence counted more than 18,500 attack attempts on the installer paths in the first 21 hours, the first ones nine minutes after its firewall rule went live. Public exploit code has appeared on GitHub.
Why the update itself is the risky moment
Whether an update is safe depends on the updater already installed – not on the new version. Updating from 7.1.3 to 7.1.4 therefore uses the
vulnerable code one last time. Full packages (e.g. when jumping branches, 7.0.x → 7.1.4) and automatic background updates are most exposed. Only once 7.1.4 or
your branch fix is installed do later updates use random folder names. wp core update (WP-CLI) uses the same process and is not a safe substitute.
Update safely – in this order
- Block web access to
wp-content/upgrade(see below). Updates still work because WordPress reads the folder from disk. - Do not put an
.htaccessinsidewp-content/upgrade– the old updater empties the folder before unpacking. - Test the block: requesting
https://your-domain.com/wp-content/upgrade/test.phpmust return 403 (not 404). - Update to 7.1.4 or the fix release of your branch (table below).
nginx
location ^~ /wp-content/upgrade/ {
deny all;
}
Apache (vhost or .htaccess in the WordPress root)
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^wp-content/upgrade/ - [F,L]
</IfModule>
The rule belongs in the .htaccess in the WordPress root – before the # BEGIN WordPress block.
If WordPress lives in a subfolder, adjust the path.
Alternative: manual update
Unpack the new version outside the web root, replace the files (keeping wp-config.php and wp-content) and then run the
database update in the admin area.
Fix releases per branch
| Branch | Safe from | Branch | Safe from |
|---|---|---|---|
| WordPress 7.1 | 7.1.4 | WordPress 5.8 | 5.8.19 |
| WordPress 7.0 | 7.0.8 | WordPress 5.7 | 5.7.21 |
| WordPress 6.9 | 6.9.11 | WordPress 5.6 | 5.6.23 |
| WordPress 6.8 | 6.8.12 | WordPress 5.5 | 5.5.24 |
| WordPress 6.7 | 6.7.11 | WordPress 5.4 | 5.4.25 |
| WordPress 6.6 | 6.6.11 | WordPress 5.3 | 5.3.27 |
| WordPress 6.5 | 6.5.14 | WordPress 5.2 | 5.2.30 |
| WordPress 6.4 | 6.4.14 | WordPress 5.1 | 5.1.28 |
| WordPress 6.3 | 6.3.14 | WordPress 5.0 | 5.0.31 |
| WordPress 6.2 | 6.2.15 | WordPress 4.9 | 4.9.35 |
| WordPress 6.1 | 6.1.16 | WordPress 4.8 | 4.8.34 |
| WordPress 6.0 | 6.0.18 | WordPress 4.7 | 4.7.39 |
| WordPress 5.9 | 5.9.20 |
WordPress 4.6 and older no longer gets security updates – according to the researcher the flaw goes back to 2.7. Those sites should move to a current branch. A higher version number in the same branch is not automatically enough: what counts is reaching at least the fix release.
How to check your site
- Version: Dashboard → Updates, or
wp core versionwith WP-CLI. The in-depth check on PHPCheck.net rates the version if it is visible in the meta generator tag. - Block: the Superlative check (for your verified own domain) tests whether
wp-content/upgradeis blocked from the web. - Integrity:
wp core verify-checksumsreports modified core files.
Signs of an attack
- Requests to PHP files under
wp-content/upgradein the web server logs – especially around update times. - PHP files in the upgrade folder that nobody put there.
- Unknown administrator accounts or plugins.
- Unusual outbound connections from the server.
zgrep -E "/wp-content/upgrade/.*\.php" /var/log/apache2/*access*.log* /var/log/nginx/access.log*
find /var/www -path "*wp-content/upgrade*" -name "*.php" -mtime -14
A match is a lead, not proof. If there are concrete signs: preserve the logs, rotate credentials and restore from a clean backup or fresh packages. More on basic hardening: Harden WordPress.
Other current reports (early November 2026)
- Node-RED (CVE-2026-58115, CVSS 10): instances without login (
adminAuth) have been actively attacked since 30 Oct 2026 – a single HTTP request deploys a flow running system commands, followed by bots or web shells. Do not expose the editor to the internet, enableadminAuth, review flows for unknown exec nodes. PHPCheck.net detects publicly reachable Node-RED editors in the in-depth check. - SonicWall SonicOS SSL VPN (CVE-2026-19868): bypass of SAML login (possibly incl. MFA), in the KEV catalogue since 6 Nov 2026. Only affected with SAML login enabled. Fixed in SonicOS 7.3.4-7013 (Gen7) and 8.2.3-8015 (Gen8), no workarounds.
- Ruby on Rails Active Storage (GHSA-f3w6-w445-fwh9, CVSS 9.8): arbitrary file write and read via crafted uploads when ImageMagick is used (default with
load_defaults 6.1and older) and users may upload files. Fixed in 8.1.4.1 and 8.0.5.2; older branches get no fix. - PHP: there is still no patch for CVE-2026-115560 – keep
session.upload_progress.enabled = 0(see PHP2Shell).
Sources
- The Hacker News: Installing the Fix for an Exploited WordPress Flaw Can Expose Some Sites One Last Time
- The Hacker News: CISA Confirms Hackers Exploiting WordPress Core Flaw
- aicybr: fixed versions per branch (per Wordfence)
- SecurityWeek: Critical Node-RED Flaw Exploited in Attacks
- SecurityWeek: SonicWall Patches Exploited SonicOS Vulnerability
- The Hacker News: Critical Rails Flaw (Active Storage)