AI, Development & Tech News

WordPress vulnerability CVE-2026-87902 is being actively attacked

An open server cabinet in the semi-darkness, in front of it a damaged paper file and a small protective shield as symbols of a security vulnerability and an update.
Skip to table of contents
Contents 6 sections
  1. What the security vulnerability enables
  2. Affected and fixed WordPress versions
  3. Indications of possible compromises
  4. What this means for you in practice
  5. Keep learning on TutKit
  6. Sources

Attackers are searching for vulnerable WordPress installations and are now trying to place PHP files on servers. Versions from 4.7.0 to 7.1.1 are affected.

Just a few hours after the release of WordPress 7.1.2, Patchstack registered the first probing attempts against the now publicly known security vulnerability CVE-2026-87902. According to heise, attackers have since expanded their approach: they are trying to write PHP files to servers. Website operators should therefore promptly check whether their installation has already been updated.

What the security vulnerability enables

CVE-2026-87902 is based on a path traversal vulnerability. It allows attackers to include local PHP files without logging in. Under certain conditions regarding the server and the active theme, this can lead to the execution of malicious code.

Patchstack initially observed probing attempts. Since Wednesday, according to the report, attacks aimed at writing PHP files to the file system have also been registered. Traffic targeting the vulnerability has reportedly risen to more than ten times its level since the first evening.

Affected and fixed WordPress versions

WordPress versions from 4.7.0 up to and including 7.1.1 are affected. Patched versions are available for several branches:

  • WordPress 7.1.2, 7.0.6, 6.9.9 and 6.8.10
  • Backports for older version branches all the way down to 4.7.37

If you are running an affected version, update to the appropriate patched version. According to heise, WordPress rolls out the fix automatically if automatic updates are enabled.

Indications of possible compromises

In attacks observed so far, PHP files were placed in, among other locations, /tmp and /var/tmp. File names mentioned included, for example, wp-pear-rce-flag.php, poc87902.php, as well as files matching the patterns luci_<random>.php and zeta_<random>.php. Patchstack points to indicators of possible compromise that administrators can use to check their WordPress instances.

What this means for you in practice

An available update alone does not clarify whether an installation has already been attacked. Therefore, check whether your WordPress version is affected and whether the appropriate patched version has been installed. For affected or previously vulnerable instances, the file paths and file names mentioned are also relevant as indicators. The report documents attack attempts and observed attempts to write PHP files; it does not state the overall scale of affected websites.

Keep learning on TutKit

Sources

Comments

Register and comment.

Continue reading

You might also like

View all articles →