Attackers Exploit Critical WordPress Flaw to Write Files That Can Execute Shell Commands

· Original article ↗

Summary

Attackers have moved from probing CVE-2026-87902 to writing PHP files that can execute shell commands when accessed. WordPress 7.1.2 fixes the flaw; administrators are urged to update and check logs.

Key points

  • CVE-2026-87902 is an unauthenticated path traversal flaw that can lead to remote code execution under specific theme and file conditions.
  • WordPress security firm Patchstack observed initial reconnaissance less than five hours after the WordPress 7.1.2 patch was released.
  • Patchstack later reported a tenfold increase in related traffic, including attempts to write attacker-controlled PHP files to disk.
  • Some observed files contain code that executes a shell command when accessed; other payloads only mark a host as exploitable.
  • The WordPress security team assigned the flaw a critical severity score of 9.2 out of 10.
  • WordPress 7.1.2 fixes the flaw, with fixes backported to branches down to 4.7; versions before 4.6 will not receive a fix.
  • Administrators are advised to upgrade, review logs for malicious activity, and block the reported source IPs: 169.58.48.193, 169.58.48.195, and 2001:df1:e8c0::106b.

Article Details

Vulnerability Types
  • Unauthenticated path traversal
  • Remote code execution
Severity
Critical (9.2/10)
Exploitation Status
active
Exploit Availability
unknown
Patch Status
available
Workarounds
  • Block the reported source IP addresses.

Indicators of compromise

TypeIndicatorContext
IPV4169[.]58[.]48[.]193Source IP reported in exploitation activity; administrators were advised to block it.
IPV4169[.]58[.]48[.]195Source IP reported in exploitation activity; administrators were advised to block it.
IPV62001:df1:e8c0::106bSource IP reported in exploitation activity; administrators were advised to block it.

MITRE ATT&CK

CVE

People

Products

Related Articles