Critical WordPress Vulnerability CVE-2026-87902 Under Active Exploitation for Remote Code Execution

by Dimitri Dimitrov Published on September 24, 2026
Editorial Standards

☆ Editorial Standards

All news content is produced by qualified journalists and analysts under a published editorial code requiring accuracy, source verification, and editorial review prior to publication.

Advertisers and commercial partners have no influence over news coverage.


News editorial policy · Contact us
✓ Fact-Checked

✓ Fact-Checked

Every article undergoes senior editorial review.

Regulatory and legal reporting is cross-referenced against primary sources including official government and regulatory authority records.

Corrections are issued transparently with a visible update notice.


News fact-check policy
⊘ Independence

⊘ Independence

Gamblers Connect is a B2B iGaming media platform.

Editorial decisions, including what to cover, how to cover it, and what to publish, are made independently by our newsroom.

Commercial partners may purchase publication frequency but cannot influence editorial tone, angle, or content.


News independence policy
↗ Commercial Disclosure

↗ Commercial Disclosure

Gamblers Connect is a B2B media platform. We generate revenue through subscriptions, B2B referral partnerships, directory listings, advertising, and media services.

Gamblers Connect is not a licensed gambling operator, affiliate, or player acquisition channel in any jurisdiction.

We do not earn revenue from player activity, wagers, or deposits.


News commercial disclosure · Contact us
A modern blue laptop displaying the official WordPress logo on its screen against a speckled surface.
Key Takeaways
⏱ 2 min read
1
Active Exploitation — Attacks targeting WordPress CVE-2026-87902 have escalated from reconnaissance to active payload delivery and shell command execution
2
Critical Severity — Assigned a score of 9.2, the unauthenticated path traversal bug allows attackers to include readable local PHP files
3
Targeted File Deliveries — Payloads written to /tmp and /var/tmp include files designed to test vulnerability status or execute shell commands
4
Immediate Patch Available — WordPress has issued version 7.1.2 and backported patches down to version 4.7 to remediate the risk

Threat Actors Shift from Reconnaissance to Delivering Payloads That Write Shell-Command Scripts to Disk

Cybersecurity researchers report that threat actors have escalated attacks targeting a critical path traversal vulnerability in WordPress, designated as CVE-2026-87902. What began as initial reconnaissance probing shortly after the patch release has evolved into active exploitation, with malicious traffic increasing tenfold as attackers attempt to deliver payloads that write executable shell command files to disk.

Discovered by security researcher Robert Ressl, the flaw carries a critical severity score of 9.2 out of 10. The vulnerability stems from an unauthenticated path traversal issue within get_page_template() page-template resolution, allowing attackers to include readable local .php files outside active theme directories.

Exploitation Conditions and Observed Payload Activity

According to WordPress and security firm Patchstack, successful remote code execution (RCE) requires specific system conditions:

  • Active parent or child themes must feature a top-level directory starting with page- (such as page-templates).
  • The target local .PHP file must exist and be readable by the web server account, with pearcmd.php serving as a primary example when PHP’s register_argc_argv setting is active.
  • Default configurations like the official PHP Docker image and cPanel setups utilizing PHP versions prior to 8.5 are affected.

Patchstack noted that early reconnaissance attempts targeted standard WordPress core files to identify vulnerable sites. Subsequent traffic waves utilized pearcmd to write arbitrary files containing control content, ranging from flags confirming host vulnerability (wp-pear-rce-flag.php, poc87902.php) to short tags capable of executing shell commands upon access (luci_<random>.php, zeta_<random>.php). Probes have been observed utilizing double-encoded traversal sequences in pagename alongside valid page_id parameters.

Mitigation and Response

In response to the critical severity, WordPress released version 7.1.2 and backported fixes across all branches down to version 4.7 (versions prior to 4.6 will not receive a patch). Website administrators are strongly advised to update to version 7.1.2 immediately and inspect server logs for indicators of compromise. Additionally, security teams recommend blocking known malicious source IP addresses, including 169.58.48.193, 169.58.48.195, and 2001:df1:e8c0::106b.

Dimitri Dimitrov

Dimitri is an iGaming expert with nearly a decade of experience and a knack for crafting content that speaks directly to the iGaming crowd. He understands affiliate marketing, player psychology, and search algorithms, which enables him to write engaging, data-driven articles.

Sources
1 source verified before publication. This news is an official press release that traces directly to official documents by Bleeping Computer. How we verify sources →
Gamblers Connect only publishes verified and official news from reputable media outlets. Read our full editorial standards →
Mentioned in this Article