CVE-2026-119977: Unauthenticated RCE in WordPress Core Upgrade Staging
- Vendor
- Wordpress
CVE-2026-119977 is a time-of-check/time-of-use race condition in the WordPress Core upgrade process affecting unpatched releases across branches 4.7 through 7.1.3. During full-package upgrades, WP_Upgrader::unpack_package() extracts a complete, unconfigured WordPress installation into a temporarily web-accessible staging directory. An unauthenticated attacker who discovers the directory and reaches its installer before cleanup can configure the staged installation against an attacker-controlled database and potentially execute arbitrary PHP. Vulnerable update_core() processing can also deploy an attacker-created staged configuration over the live site's configuration. Partial updates are exposed only when their package contents include the files necessary for a runnable installer. WordPress 7.1.4 and corresponding branch security releases address the issue through randomized staging directories, directory-listing protection, and exclusion of staged configuration files from deployment.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can compromise the confidentiality, integrity, and availability of the affected WordPress installation. Arbitrary PHP executes with the web-server account's permissions, potentially allowing access to live-site files, configuration secrets, and database credentials; unauthorized content modification; malicious plugin or backdoor installation; and service disruption. Configuration replacement can redirect the live installation to an attacker-controlled database and facilitate administrative takeover. The staged installation loads independently of the live site's security plugins, so ordinary application-level monitoring may miss the attack. Observed probing and blocked-request totals do not establish the number of successfully compromised sites.
Mitigation
If you can’t patch tonight, do this now.
Deny HTTP access to wp-content/upgrade/ at the web server or reverse proxy, disable directory listing, and retain these restrictions after patching. Configure the restriction outside the upgrade directory because the vulnerable updater can delete access-control files stored inside it. Blocking web access does not prevent updates, which access staging files locally. If relying on a WAF, ensure it intercepts direct staged PHP requests before WordPress loads; Wordfence requires Extended Protection mode for this coverage. Automatic updates and the standard WP-CLI core update command use the same extraction mechanism and are not independent workarounds. Correlate web-access logs with upgrade times and investigate successful staged-installer requests, unexpected outbound database connections, configuration changes, and unfamiliar administrator accounts or plugins.
Remediation
Patch, then assume compromise.
Before updating, block external web access to wp-content/upgrade/ and verify that requests receive HTTP 403. Then install WordPress 7.1.4 or the corresponding patched branch release, such as 7.0.8, 6.9.11, 6.8.12, 6.7.11, or 6.6.11, and verify update completion. Security backports extend through branch 4.7; migrate older installations to an actively supported release. The first update from a vulnerable installation still uses the old extraction code, so access restrictions must precede patching. Alternatively, back up the site and database, extract the patched release outside the web root, manually replace core files while preserving wp-config.php and wp-content, and complete the database update. Remove unnecessary staging remnants. If compromise is suspected, preserve evidence, investigate configuration changes, unauthorized accounts and executable files, restore known-good components, and rotate database credentials, administrator credentials, and WordPress authentication keys and salts. Patching alone does not remove existing attacker access.
Exploits
5 exploits validated by Mallory's analysis. Hidden: 6 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-119977 exploited in the wild?
- Yes. As of Nov 27, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Nov 3, 2026.
- Is there a public exploit for CVE-2026-119977?
- Yes. Mallory tracks 5 public exploits or proofs of concept for CVE-2026-119977, the earliest disclosed Nov 4, 2026.
- Is there a patch for CVE-2026-119977?
- Before updating, block external web access to wp-content/upgrade/ and verify that requests receive HTTP 403. Then install WordPress 7.1.4 or the corresponding patched branch release, such as 7.0.8, 6.9.11, 6.8.12, 6.7.11, or 6.6.11, and verify update completion.
- What products are affected by CVE-2026-119977?
- Wordpress.
- How severe is CVE-2026-119977?
- CVE-2026-119977 has a CVSS v3.1 score of 8.1 (High) and an EPSS score of 2.1% (83rd percentile) as of Nov 27, 2026.
Recent activity
259 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.