The Update That Fixes the Updater: Inside WordPress 7.1.4’s Unauthenticated RCE
A race condition in WordPress's core updater left an unpacked, unconfigured copy of WordPress at a guessable URL while an update ran, letting an unauthenticated attacker run the installer against a database they control and then execute code. The release also fixed 21 other flaws, mostly stored XSS needing Contributor access, plus data exposure and permission gaps.
Published on medium.com
If you run a WordPress site, October 2026 has asked a lot of you. A week after PHP pushed emergency fixes for two critical server-side flaws, WordPress followed with version 7.1.4 on October 28, a security release that patches 22 vulnerabilities.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the temporary upgrade directory used a predictable name and its index.php protection was removed during cleanup, so an unconfigured copy of WordPress was briefly web-reachable.
Impact
An unauthenticated attacker could potentially achieve remote code execution, though the window is only seconds long, the directory must be web-reachable, and Patchstack rates the complexity high and real-world exploitation impractical; a PHP-based firewall plugin would not help because the extracted copy loads its own files.
What the attacker needed
A core update running; wp-content/upgrade/ reachable over web; no account needed; no user interaction
The fix
It was fixed in 7.1.4 by giving temporary upgrade folders 16 random characters, restoring index.php protection, and ensuring wp-config.php is never copied out of the working directory.
How it was found
- Wait for a core update to start unpacking files into the upgrade working folder.
- Reach the unpacked copy of WordPress at its guessable URL before cleanup runs.
- Launch the WordPress installer from that copy.
- Point the installer at a database the attacker controls.
- Use that foothold to run code on the server.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
When WordPress updates itself, it briefly unpacks the new files into a temporary folder on your website before copying them into place. Before this patch, that folder had a predictable name and was reachable from the internet, so anyone who loaded it during those few seconds could run WordPress's setup wizard and point it at their own database. That gave them a way to run their own code on the server without ever logging in.
What is Race condition?
Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.