high CVSS 8.1 Actively exploited EPSS 1.2%

CVE-2026-119977·WordPress vulnerability

WordPress Core is vulnerable to Remote Code Execution in versions 4.7 through 7.1.3. This is due to predictable, web-accessible staging paths used during full-package core upgrades. This makes it possible for unauthenticated attackers to execute code on the server during the upgrade window.

Severity
high
Software
WordPress
Fixed in
7.1.4
Published

How likely is exploitation

FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 1.2% — higher than 69% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.

Affected versions

From: 7.1

Until: 7.1.4

Fixed in: 7.1.4

How to fix this CVE

Immediately upgrade WordPress to version 7.1.4 or later to close a critical remote code execution window that occurs during core package updates. The vulnerability resides in the upgrade mechanism's use of predictable, publicly accessible temporary directories. If you are currently running versions 7.1 through 7.1.3, prioritize this patch as the flaw can be exploited by unauthenticated attackers without requiring user interaction.

sudo dnf update wordpress

Defensia detects this vulnerability

What an exploitation attempt looks like

Sample log line indicative of exploitation attempts:

POST|GET /wp-content/upgrade/ .* (HTTP|php|shell|exec|system|passthru|eval) | Access to wp-content/upgrade/ from non-admin IPs during upgrade window | Multiple requests to wp-content/upgrade/{random-hash}/wp-load.php|wp-config.php

WAF mitigation (if patching is not yet possible)

Add this rule to your WAF to block exploitation attempts while you schedule the patch.

Block all HTTP requests to /wp-content/upgrade/ from non-localhost sources. Implement rate limiting on wp-admin/includes/ paths. Consider blocking file uploads and script execution in the wp-content/upgrade/ directory via .htaccess: <Directory "/path/to/wordpress/wp-content/upgrade"> <FilesMatch "\.php$"> Deny from all </FilesMatch> </Directory>

How to check if you are affected

  1. Step 1: Check your installed WordPress version by running: grep 'wp_version' wp-includes/version.php | grep -oP "'\K[^']+"
  2. Step 2: Verify the upgrade staging directory is not world-readable: ls -la wp-content/ | grep -E '^d.*w.*w' (look for unusual permissions on temporary upgrade folders)
  3. Step 3: Examine web server access logs for requests to /wp-content/upgrade/ or similar staging paths during the time window of recent updates: grep 'upgrade\|staging' /var/log/apache2/access.log /var/log/nginx/access.log
  4. Step 4: After upgrading, confirm the new version is active: curl -s http://localhost | grep -i 'wordpress' or check wp-includes/version.php for version >= 7.1.4

FAQ

What is CVE-2026-119977?

CVE-2026-119977 is a remote code execution vulnerability in WordPress' core upgrade mechanism that exposes temporary staging directories to unauthenticated attackers. During the upgrade process, WordPress extracts package contents into predictable, web-accessible locations, allowing attackers to inject and execute malicious PHP code before the upgrade completes.

Is CVE-2026-119977 being actively exploited?

Yes. CVE-2026-119977 is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, indicating active, real-world exploitation has been confirmed. Organizations should treat this as a critical priority.

What versions of WordPress are affected by CVE-2026-119977?

WordPress versions 7.1 through 7.1.3 are vulnerable. Version 7.1.4 and all later releases include the necessary security patches.

How do I check if my server is vulnerable to CVE-2026-119977?

Run 'grep wp_version wp-includes/version.php' to display your WordPress version. If it shows 7.1.0, 7.1.1, 7.1.2, or 7.1.3, your installation is vulnerable and requires immediate patching to 7.1.4.

Does Defensia detect CVE-2026-119977?

Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If WordPress is installed on a monitored server, CVE-2026-119977 will appear in your dashboard with remediation steps.

Related WordPress CVEs

References

Track CVEs across your fleet automatically

Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-119977. Free for 1 server.

Get started free