Intel

AIKIDO-2026-507351

johnpbloch/wordpress-core is vulnerable to Remote Code Execution (RCE)

CVE-2026-119977Published Oct 30, 2026
October 30, 2026

95

CVE Score

Critical

Remote Code Execution (RCE)

Are you affected? Scan for Free

TL;DR

This vulnerability is known to be exploited in the wild. An unauthenticated attacker can exploit the predictable, publicly accessible directory used during a complete-package WordPress core update to execute code. Updating to this patch also exposes the vulnerable window because extraction starts with the old updater.

How do I fix this?

Upgrade the johnpbloch/wordpress-core package to a patched version. Prefer scheduled downtime with public access blocked at the web server or proxy throughout the update, including the upgrade directory. WordPress maintenance mode alone does not protect the extracted installation.

Who does this affect?

You are affected if you use a vulnerable version and perform a complete-package core update while the upgrade directory is publicly accessible, including when updating to this patch.

Versions

2.7.0 - 4.7.38

Fixed in 4.7.39

4.8.0 - 4.8.33

Fixed in 4.8.34

4.9.0 - 4.9.34

Fixed in 4.9.35

5.0.0 - 5.0.30

Fixed in 5.0.31

5.1.0 - 5.1.27

Fixed in 5.1.28

5.2.0 - 5.2.29

Fixed in 5.2.30

5.3.0 - 5.3.26

Fixed in 5.3.27

5.4.0 - 5.4.24

Fixed in 5.4.25

5.5.0 - 5.5.23

Fixed in 5.5.24

5.6.0 - 5.6.22

Fixed in 5.6.23

5.7.0 - 5.7.20

Fixed in 5.7.21

5.8.0 - 5.8.18

Fixed in 5.8.19

5.9.0 - 5.9.19

Fixed in 5.9.20

6.0.0 - 6.0.17

Fixed in 6.0.18

6.1.0 - 6.1.15

Fixed in 6.1.16

6.2.0 - 6.2.14

Fixed in 6.2.15

6.3.0 - 6.3.13

Fixed in 6.3.14

6.4.0 - 6.4.13

Fixed in 6.4.14

6.5.0 - 6.5.13

Fixed in 6.5.14

6.6.0 - 6.6.10

Fixed in 6.6.11

6.7.0 - 6.7.10

Fixed in 6.7.11

6.8.0 - 6.8.11

Fixed in 6.8.12

6.9.0 - 6.9.10

Fixed in 6.9.11

7.0.0 - 7.0.7

Fixed in 7.0.8

7.1.0 - 7.1.3

Fixed in 7.1.4

Background info

johnpbloch/wordpress-core is vulnerable to Remote Code Execution (RCE) in versions 2.7.0 - 4.7.38, 4.8.0 - 4.8.33, 4.9.0 - 4.9.34, 5.0.0 - 5.0.30, 5.1.0 - 5.1.27, 5.2.0 - 5.2.29, 5.3.0 - 5.3.26, 5.4.0 - 5.4.24, 5.5.0 - 5.5.23, 5.6.0 - 5.6.22, 5.7.0 - 5.7.20, 5.8.0 - 5.8.18, 5.9.0 - 5.9.19, 6.0.0 - 6.0.17, 6.1.0 - 6.1.15, 6.2.0 - 6.2.14, 6.3.0 - 6.3.13, 6.4.0 - 6.4.13, 6.5.0 - 6.5.13, 6.6.0 - 6.6.10, 6.7.0 - 6.7.10, 6.8.0 - 6.8.11, 6.9.0 - 6.9.10, 7.0.0 - 7.0.7 and 7.1.0 - 7.1.3.

Links

Other

core.trac.wordpress.org/browser/tags/7.1.3/src/wp-admin/includes/class-core-upgrader.php#L162
https://core.trac.wordpress.org/browser/tags/7.1.3/src/wp-admin/includes/class-core-upgrader.php#L162
core.trac.wordpress.org/browser/tags/7.1.3/src/wp-admin/includes/class-wp-upgrader.php#L378
https://core.trac.wordpress.org/browser/tags/7.1.3/src/wp-admin/includes/class-wp-upgrader.php#L378
core.trac.wordpress.org/browser/tags/7.1.3/src/wp-admin/includes/update-core.php#L1549
https://core.trac.wordpress.org/browser/tags/7.1.3/src/wp-admin/includes/update-core.php#L1549
core.trac.wordpress.org/browser/tags/7.1.3/src/wp-admin/setup-config.php#L282
https://core.trac.wordpress.org/browser/tags/7.1.3/src/wp-admin/setup-config.php#L282
core.trac.wordpress.org/browser/tags/7.1.4/src/wp-admin/includes/class-wp-upgrader.php#L346
https://core.trac.wordpress.org/browser/tags/7.1.4/src/wp-admin/includes/class-wp-upgrader.php#L346
core.trac.wordpress.org/browser/tags/7.1.4/src/wp-admin/includes/update-core.php#L1545
https://core.trac.wordpress.org/browser/tags/7.1.4/src/wp-admin/includes/update-core.php#L1545
wordpress.org/news/2026/10/wordpress-7-1-4/
https://wordpress.org/news/2026/10/wordpress-7-1-4/
wordfence.com/threat-intel/vulnerabilities/id/4b4da0cf-d9f4-47c4-a0e8-6c4dc5a6f250?source=cve
https://www.wordfence.com/threat-intel/vulnerabilities/id/4b4da0cf-d9f4-47c4-a0e8-6c4dc5a6f250?source=cve
cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-119977
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-119977
wordfence.com/threat-intel/vulnerabilities/wordpress-core/wordpress-core-470-713-unauthenticated-upgrade-window-staged-installer-remote-code-execution
https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-core/wordpress-core-470-713-unauthenticated-upgrade-window-staged-installer-remote-code-execution

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea