Attackers began probing WordPress CVE-2026-87902 on the day its patch appeared. Patchstack’s observed-activity timeline records a blocked probe at 11:49 UTC on September 22, 2026 and a first attempt to write a PHP file at 15:34 UTC. WordPress released the security fix in version 7.1.2 that day. The flaw permits unauthenticated local file inclusion and, where the theme and server prerequisites align, remote code execution. Administrators need to verify the installed patch and examine what happened while the site was exposed.
Don't miss new tech stories on Google
Add Tech Insider once in the Google app and our stories appear in your news suggestions.
The first blocked probe and the first file-write attempt
Patchstack’s initial account described reconnaissance against ordinary WordPress files. Its September 23 update described requests that invoked PEAR’s PHP tooling to write files, alongside publicly circulating scanners. The recorded progression gives investigators both an initial probe time and a later file-writing indicator.
| Observed date or time | Event | What it establishes |
|---|---|---|
| September 22, 2026 | WordPress 7.1.2 security release | A vendor fix was available |
| September 22, 11:49 UTC | Patchstack observed and blocked its first core-file probe | An exploitation attempt reached the monitored firewall |
| September 22, 15:34 UTC | First file-write attempt through PEAR in Patchstack’s timeline | Traffic had progressed beyond a simple inclusion check |
| September 23, 2026 | Patchstack updated its account with file-writing activity and public scanning tools | The first reconnaissance-only description no longer covered the observed activity |
Patchstack also reported traffic exceeding ten times the first evening’s volume. For an operator, the useful consequence of the chronology is practical: a site updated after the initial activity still needs its earlier exposure considered. The time the update completed belongs alongside the time suspicious requests arrived. The ColdFusion exploitation report provides another incident account focused on the short response window after disclosure.
The active theme and PHP environment determine the chain
The WordPress security advisory identifies the vulnerable function as get_page_template(). It can include a readable local PHP file outside the active theme’s directories without requiring an attacker to log in. The advisory credits Robert Ressl with responsible disclosure, classifies the weakness as CWE-98 and assigns a CVSS 4.0 score of 9.2, Critical.
The vendor lists a top-level directory beginning with page- in the active parent or child theme as a prerequisite. Its examples include Twenty Twelve, Twenty Fourteen, Neve, Hestia and Sydney. The target PHP file must also exist locally and be readable by the web server account. For the documented PEAR route, pearcmd.php and an enabled register_argc_argv setting matter. The advisory identifies the official PHP Docker image and the default cPanel configuration with PHP before 8.5 as affected environments.
Retain the active theme and PHP configuration from the exposed period. Inspect the actual theme directory for the documented condition, including customized themes.
Red Hat’s assessment assigns Important severity because of attack complexity and environmental prerequisites. It also says WordPress is absent from RHEL core repositories and default supported Red Hat server installations are unaffected. For separately installed WordPress, apply the theme and PHP prerequisites in the WordPress advisory.
Find the fixed release for the installed branch
The affected releases span branches from WordPress 4.7.0 through 7.1.1, with branch-specific backports closing this vulnerability. Compare an installation with the fixed release for its own branch. The table identifies the first patched release in each branch.
| WordPress branch | First release fixing this CVE |
|---|---|
| 7.1.x | 7.1.2 |
| 7.0.x | 7.0.6 |
| 6.9.x | 6.9.9 |
| 6.8.x | 6.8.10 |
| 6.7.x | 6.7.9 |
| 6.6.x | 6.6.9 |
| 6.5.x | 6.5.12 |
| 6.4.x | 6.4.12 |
| 6.3.x | 6.3.12 |
| 6.2.x | 6.2.13 |
| 6.1.x | 6.1.14 |
| 6.0.x | 6.0.16 |
| 5.9.x | 5.9.18 |
| 5.8.x | 5.8.17 |
| 5.7.x | 5.7.19 |
| 5.6.x | 5.6.21 |
| 5.5.x | 5.5.22 |
| 5.4.x | 5.4.23 |
| 5.3.x | 5.3.25 |
| 5.2.x | 5.2.28 |
| 5.1.x | 5.1.26 |
| 5.0.x | 5.0.29 |
| 4.9.x | 4.9.33 |
| 4.8.x | 4.8.32 |
| 4.7.x | 4.7.37 |
The WordPress release announcement describes these backports as a courtesy and says only the most recent WordPress version is actively supported. A backport can therefore resolve this specific flaw while leaving a separate maintenance decision about an old branch. Continue tracking WordPress security update coverage after confirming this fix. This distinction also matters when comparing the operating responsibilities of WordPress and Webflow: someone must own verification of the deployed WordPress release, even when the installation has an automatic update mechanism.
CrowdSec tracked the expanding scan activity
CrowdSec’s September 28 report adds a broader traffic sample. Its participating machines recorded 322,680 matching signals between September 23 and September 27, 2026. Its tracker counted 30,813 unique source IP addresses as of September 28.
CrowdSec explicitly says it cannot determine whether those matching requests succeeded. Its detection scenario also does not separate a harmless version check from a full PEAR file-write attempt, and its network is a sample of observed traffic rather than a census of WordPress installations.
Our assessment is that the breadth of observed scanning supports checking the whole hosting estate, including staging and container deployments. Patchstack’s response and host indicators then provide a more specific route for investigating suspicious traffic at an individual site.
Close the update task, then account for the exposed period
New Zealand’s National Cyber Security Centre alert urges both remediation and investigation of unauthorized access or compromise. Start by identifying every relevant installation and recording its installed version. CrowdSec’s verification guidance names the Dashboard’s Updates screen and the following WP-CLI command, and explicitly includes staging copies and container images in the check:
wp core version
WordPress’s release instructions direct administrators to Dashboard, Updates, then Update Now. They say supported automatic background updates begin automatically; the operational check is still the version that actually installed. For an agency or WordPress hosting provider, record which sites were checked, which branch fixes they received and when the work completed. Those records let a later log review identify the period that needs attention.
Next, use Patchstack’s documented investigation indicators to distinguish levels of evidence. Review pagename in query strings and POST bodies for encoded traversal and its pairing with page_id. Patchstack says OPML or RSS content returned from an ordinary page URL with HTTP 200 indicates that inclusion worked. Match both the response content and status when reviewing those requests.
On the host, Patchstack identifies unexpected PHP files in /tmp and /var/tmp, including wp-pear-rce-flag.php, poc87902.php, and names beginning luci_ or zeta_. Matching artifacts from the described activity indicate that the file-write stage succeeded and warrant treating the host as compromised. Patchstack also cautions that a file in a temporary directory is not necessarily a persistent, web-accessible backdoor.
Where host evidence indicates compromise, preserve the relevant logs and files for incident response before cleanup, assess credential exposure, and plan recovery from a known-clean state. Installing the patch closes the vulnerable code path; it does not establish what an attacker already changed. Assign the investigation an owner rather than closing it automatically with the software-update ticket.
For a temporary delay in patching, Patchstack recommends blocking traversal sequences in pagename. Disabling register_argc_argv disrupts the documented PEAR chain but leaves the inclusion flaw. NCSC additionally advises validating the theme directory and updating or removing custom template files located outside it. Keep such mitigations attached to a scheduled patch action, then retain the installation evidence and the findings from any exposed period as separate records.





