WordPress update fixes a flaw that can appear during the update itself
A narrow window opens during the update that can let an attacker run code on the server. Here is what to do before and after updating.
Patch release:

Update to WordPress 7.1.4 or the patched release for your branch. Do not postpone the update, and ask your administrator about blocking web access to PHP files under wp-content/upgrade before updating.
What happened?
On 28 October 2026, WordPress released security update 7.1.4. It fixes a flaw tracked as CVE-2026-119977 that could let an unauthenticated attacker run code on the server during an update.
The flaw has a distinctive trait: it concerns the moment of updating, not just running an old version. During a full-package update, the new files are first unpacked into a predictable staging directory (wp-content/upgrade). If that directory is reachable from the web, an attacker can request installer files at the right moment and reach code execution on the server.
That opportunity is described as a narrow window. Wordfence reports that in lab environments it often lasted only seconds. Even so, attackers began probing for it on the day of release. On 3 November, the U.S. cybersecurity agency CISA added the flaw to its Known Exploited Vulnerabilities (KEV) catalog.
CISA’s inclusion establishes known exploitation in real attacks. However, Wordfence’s count of exploit attempts is not a count of successfully compromised websites. The sources checked do not establish a confirmed total of affected victims.
Who is affected?
The flaw affects WordPress versions 4.7 through 7.1.3. Version 7.1.4 fixes it, with backported fixes for older branches that still receive security updates. That does not mean every old branch remains supported: the safest path is to move to 7.1.4.
Sites with automatic background updates should already be updated, but it is worth checking yourself.
How to reduce the risk?
- Update to 7.1.4, or the patched release for your branch. Do not postpone the update: the vulnerable step runs one last time, but the patched version no longer carries that risk.
- If you manage the server yourself, you can block access to PHP files in
wp-content/upgradeat the web server level before updating. This is an extra precaution, not a substitute for the update. - After updating, check the dashboard to confirm the site is actually running the patched version.
- If the server may already have been attacked, review logs and look for unfamiliar administrator accounts, plugins, or PHP files.
What should you ask your hosting provider?
Has my WordPress been updated to 7.1.4 or the patched release for its branch? Did you restrict web access to PHP files under
wp-content/upgradebefore updating? Do the logs show signs of attempts against this flaw?
An external website check does not detect this flaw or show whether the server was already attacked. Installing the fix and reviewing logs remain the owner’s and host’s job.
Sources and fixes
Original sources and instructions you can check yourself.
- Original sourceWordPress · 7.1.4 security releasewordpress.org · Checked 7 November 2026
- Fix or instructionsWordPress · fix and upgrade instructionswordpress.org · Checked 7 November 2026
- ContextCISA · Known Exploited Vulnerabilities catalog (CVE-2026-119977)www.cisa.gov · Checked 7 November 2026
- ContextWordfence · attackers probing the upgrade-window flawwww.wordfence.com · Checked 7 November 2026