WordPress Security Flaw Exploited During Updates as Attackers Target Thousands of Websites
A serious vulnerability in WordPress is being actively exploited, allowing unauthenticated attackers to potentially compromise websites during the brief period when core software updates are being installed.
Tracked as CVE-2026-119977, the flaw affects WordPress versions 4.7 through 7.1.3. During certain full-package updates, the software temporarily places installation files in a predictable directory that can be accessible from the internet. Attackers who reach the vulnerable files at the right moment may be able to gain control of the website.
Security researchers recorded more than 18,500 attack attempts within 21 hours of deploying protection against the vulnerability. The US Cybersecurity and Infrastructure Security Agency added the flaw to its Known Exploited Vulnerabilities catalog on November 3.
WordPress has released security fixes, including version 7.1.4. However, researchers warn that the final update from an affected version can itself expose the vulnerable installation process. Administrators are advised to block web access to PHP files in the wp-content/upgrade directory before updating, then verify that the security fix has been installed successfully.
The incident highlights an unusual security risk: the process intended to protect a website can temporarily create an opportunity for attackers if appropriate precautions are not taken.