CVE-2026-119977 — WordPress WordPress Core Time-of-check Time-of-use (TOCTOU) Race Condition Vulnerability
Description
WordPress WordPress Core contains a time-of-check time-of-use (TOCTOU) race condition vulnerability that could allow unauthenticated attackers to execute code on the server during the upgrade window. This is due to predictable, web-accessible staging paths used during full-package core upgrades.
Required action
Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.
Notes
https://wordpress.org/news/2026/10/wordpress-7-1-4 ; https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-core/wordpress-core-470-713-unauthenticated-upgrade-window-staged-installer-remote-code-execution ; BOD 26-04: https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk ; Forensics Triage Requirements: https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk ; https://nvd.nist.gov/vuln/detail/CVE-2026-119977
Executive AI analysis
Plain-English summary
WordPress Core suffers from a time-of-check time-of-use (TOCTOU) race condition during software upgrades. Because update packages utilize predictable, publicly accessible staging directories while replacing core files, unauthenticated remote attackers can inject and execute arbitrary code on the web server during the brief upgrade window.
Business impact
Successful exploitation grants full administrative control of the hosting server without requiring login credentials. Attackers can deface websites, steal customer databases, implant persistent backdoors, or deploy ransomware across enterprise networks, resulting in operational downtime, compliance failures, and significant reputational damage.
Cloud / AWS relevance
For environments running WordPress on AWS EC2, Lightsail, or ECS, an exploited instance could serve as an initial foothold. Attackers with remote code execution might access instance metadata, potentially harvesting attached IAM role credentials to pivot into wider cloud infrastructure and S3 data stores if least privilege and IMDSv2 protections are not strictly enforced.
Recommended action
Immediately update WordPress Core to version 7.1.4 or later in accordance with vendor guidance and CISA BOD 26-04. Block direct web access to internal and staging directories via web server rules (such as Nginx or Apache access configurations), and run forensic triage on update logs to identify potential race-condition exploitation attempts.
Need help remediating this vulnerability?
Our team helps organizations patch, mitigate, and respond to CISA KEV advisories fast.