AI & ML

WordPress Fixes Critical Security Flaw as Attackers Move Swiftly

WordPress addresses a serious vulnerability, urging immediate updates as attackers exploit the flaw within hours of patch release.

Sep 24, 2026 ● 3 min read
Sign in to save

WordPress has rolled out a patch for a significant security vulnerability identified as CVE-2026-87902, which could grant unauthenticated attackers remote code execution (RCE) capabilities. This vulnerability is particularly alarming given the platform's widespread use, and reports indicate that attacks have already been spotted in the wild.

This isn't the first time WordPress has faced such challenges; it recently addressed a similar RCE vulnerability in July. The current security issue was flagged by Swiss security researcher Robert Ressl, highlighting the urgent need for timely responses in the security landscape.

The official announcement of the WordPress 7.1.2 security release explained that the exploit occurs when an unauthenticated attacker can manipulate page template resolution to include a PHP file located outside of active theme directories. If conditions on the server and within the active theme are just right, this could lead to full remote code execution.

WordPress has advised all users to update their systems immediately, with the patch being effective for versions going back to 4.7. This includes many installations that may have been operating on outdated software.

Noah Kenney, a principal consultant at Digital 520, laid out his concerns about the potential damage from this vulnerability. He pointed out that if attackers gain PHP execution access, they can compromise critical files such as wp-config.php, manipulate database credentials, and even create unauthorized administrator accounts.

Kenney also elaborated on a troubling aspect of the attacks, mentioning pearcmd.php, a legitimate PHP package manager that attackers have exploited. They can use this tool's configuration features to write malicious PHP content to disk, which fly under the radar of security teams who may only monitor WordPress directories for unauthorized changes.

Emerging Threat Landscape

The rapid pace of attacks following vulnerability disclosures poses a new risk dynamic for enterprises. According to Philip Harris, Research Director at IDC, this incident exemplifies how vulnerabilities are increasingly exploited almost immediately after they are disclosed. He cited findings from security firm Patchstack that tracked probing activities just hours post-patch announcement.

Patchstack witnessed a shift in attack behavior, noting that reconnaissance efforts against benign core files morphed into attempts to exploit the vulnerability with malicious payloads. As Harris noted, the window for exploitation is shrinking dangerously, sometimes falling within hours after a patch is released.

For instance, Patchstack reported probing traffic within five hours of WordPress's patch release, with a subsequent surge in actual exploitation attempts. Harris remarked that this is indicative of a troubling trend where the average time between a vulnerability being disclosed and it being exploited is effectively collapsing. “This vulnerability follows that fractured timeline closely,” he said, emphasizing its significance.

Aman Mahapatra, Chief Strategy Officer at Tribeca Softech, echoed this sentiment, stressing that organizations working on lengthy remediation cycles are increasingly vulnerable. He cautioned that the recent vulnerability should be treated not just as a technical issue but as a pressing operational concern affecting timelines and security protocols.

Need for Swift Patching

One proposed solution to combat this rapid exploitation is to automate updates. However, concerns about the ramifications of such automation linger. Many enterprise security leaders hesitate to embrace full automation due to potential risks stemming from unverified changes. Ressl pointed out that merely enabling automatic updates doesn’t guarantee proper installation. He advocates for a process that ensures swift, verified rollouts across all installations, including staging environments.

Mahapatra added that while hobbyist bloggers may benefit from WordPress's automatic minor security updates, larger enterprises typically disable these features for strict change control. This could leave enterprise sites exposed, highlighting a critical flaw in governance processes that do not sufficiently respond to the nature of RCE vulnerabilities.

Nidhi Luthra, an executive advisor for Acceligence, stressed the need for emergency patching procedures for internet-facing systems, advocating for a response time measured in hours rather than days.

Unmonitored WordPress Installs at Risk

Another significant concern is the prevalence of forgotten WordPress installations within corporate environments. These are typically deployed under authorized conditions but may not be recognized by IT management. Mahapatra emphasized that many companies underestimate the extent of their WordPress usage, pointing out that various marketing and subsidiary pages often remain unaccounted for in IT inventories.

He emblemized this risk during interactions with finance industry executives—most WordPress installations he uncovered were not tied to primary corporate sites but to less visible campaigns or external agencies. Many organizations operate on the assumption that they do not operate WordPress instances, while the reality indicates otherwise, particularly concerning older versions that remain unmonitored.

This vulnerability covers a broad range, affecting installations from version 4.7.0 up to 7.1.1, with many organizations unaware of the risks posed by long-ignored sites. The security of these forgotten instances may represent a broader area of potential compromise, calling for enhanced visibility and governance within enterprise web estates.

Source: David Davis · www.csoonline.com

Comments

Sign in to join the discussion.