What happened
CVE-2026-119977 affects WordPress Core and is a time-of-check time-of-use (TOCTOU) race condition. Predictable, web-accessible staging paths used during full-package core upgrades create an opportunity for unauthenticated attackers to execute code on the server during the upgrade window. The vulnerability is actively exploited, according to CISA KEV. Its severity is high, with a CVSS score of 8.1. A fix is available.
Who is affected
The affected component is WordPress Core. The verified affected-version information lists WordPress releases 4.7.0 to 4.7.38, 4.8.0 to 4.8.33, 4.9.0 to 4.9.34, and 5.0.0 to 5.0.30. The vulnerability concerns full-package core upgrades and their staging paths. Further affected-version information is not yet available.
Recommended actions
- Apply the available fix for CVE-2026-119977 to affected deployments.
- Restrict public access to staging paths used during full-package core upgrades, addressing the web-accessible paths described in the vulnerability.
- Monitor those staging paths during upgrade windows for unexpected changes that could indicate exploitation.
- Review activity associated with full-package core upgrades for signs of unauthorised changes or code execution on the server.

