---
title: "WordPress patches critical CVE-2026-87902; exploitation follows within hours"
description: "2 on 22 September to fix CVE-2026-87902, a critical unauthenticated flaw in how its core software selects a page template."
url: "https://shadowmap.com/threat-intel/wordpress-cve-2026-87902-exploitation/"
---

[All incident reports](https://shadowmap.com/threat-intel/) 

 Incident report 

#  WordPress patches critical CVE-2026-87902; exploitation follows within hours 

 WordPress released 7.1.2 on 22 September to fix CVE-2026-87902, a critical unauthenticated flaw in how its core software selects a page template. Patchstack recorded the first malicious requests less than five hours later, and says attackers have moved on to writing PHP files to disk. 

[ShadowMap Research](https://shadowmap.com/threat-intel/about/)  · First published 22 Sept 2026, 23:33 IST 

## The short version

- **The flaw.** WordPress fixed a critical unauthenticated path traversal bug in its core software, tracked as CVE-2026-87902 and rated 9.2 under the CVSS severity system. Every version from 4.7.0 through 7.1.1 is affected, and fixes were backported down to 4.7.37.
- **The exploitation.** Patchstack saw the first malicious requests at 17:44 UTC on 22 September, under five hours after the patch shipped. Initial traffic looked like reconnaissance; by 23 September it had risen tenfold and included attempts to write PHP files to disk.
- **Conditions for code execution.** Running attacker-chosen code also needs a theme with a top-level folder whose name begins with page-, a readable local PHP file, and, in the technique observed, PHP's register\_argc\_argv setting enabled. Not every affected site reaches that worst case.
- **What to do.** Site owners should update to 7.1.2, or the corresponding release for their branch, review logs for malicious activity, and add the three IP addresses Patchstack published to a blocklist.

## Timeline

| Date                    | Event                                                                                   |
| ----------------------- | --------------------------------------------------------------------------------------- |
| July                    | _Robert Ressl_ reports the flaw privately through _WordPress's HackerOne_ programme.    |
| 17 September            | WordPress ships a security release, 7.1.1, that does not fix this flaw.                 |
| 22 September            | WordPress releases 7.1.2 with the fix, backported to older supported branches.          |
| 22 September, 17:44 UTC | Patchstack records the first malicious requests targeting the flaw.                     |
| 23 September            | Attack traffic rises tenfold and begins writing files to disk, according to Patchstack. |

## How the flaw works

WordPress builds the template file name for a page partly from the web address. On affected versions it did not run that value through the ../ traversal check that neighbouring code already used, so an unauthenticated attacker could make a site include a readable local PHP file from outside the active theme directories.

The file name is built as page-{value}.php, so an attack also needs the active theme to have a top-level folder whose name starts with page-, and a target file that ends in .php and can be read by the web server account. _The WordPress_ advisory gives pearcmd.php as the example when PHP's register\_argc\_argv setting is active.

WordPress credited _Robert Ressl_ with finding the flaw; he disclosed it privately in July and published a write-up, a proof-of-concept and a test lab when the fix shipped. His demonstration ran code with web-server privileges and was tested against WordPress 7.0.2 in isolated local labs, not against live sites.

## Exploitation within hours

Patchstack says the first malicious requests came at 17:44 UTC on 22 September from a small group of IP addresses and hit multiple sites under its protection. The earliest traffic tried to include ordinary WordPress core files, which the firm reads as an attempt to identify vulnerable hosts.

A day later the volume had grown tenfold and included a stage that writes files to disk. Patchstack says one variant switches pearcmd from config-show to config-create so the tool writes a file with attacker-supplied content. Some payloads only left a marker confirming a host was exploitable; others wrote a tag that runs a shell command when the file is accessed.

The files were delivered to /tmp and /var/tmp under names including wp-pear-rce-flag.php, poc87902.php, luci\_<random>.php and zeta\_<random>.php. Patchstack says the probes used double-encoded traversal sequences in the 'pagename' parameter alongside a valid 'page\_id', and published the source addresses 169.58.48.193, 169.58.48.195 and 2001:df1:e8c0::106b.

## Who is exposed

All versions from 4.7.0 to 7.1.1 carry the flaw, including 7.1.1 from 17 September, so a site patched days earlier still needs this release. WordPress backported the fix to every branch it still supports, down to 4.7.37; releases before 4.6 will not receive one. Sites with automatic background updates will install it themselves.

_The WordPress_ advisory says the official _PHP Docker_ image is affected, as is a default cPanel configuration running a PHP version before 8.5\. WordPress offers no separate workaround, so updating is the fix. The article published on 22 September said there were then no reports of the flaw being used in attacks and no entry in _CISA's Known Exploited Vulnerabilities_ catalogue; Patchstack's first observed requests were logged at 17:44 UTC that same day.

## What ShadowMap sees: _WordPress_

- 18 indicators of compromise in ShadowMap's threat feed are linked to _CVE-2026-87902_.  
| Type       | Indicator (defanged)                                               |  
| ---------- | ------------------------------------------------------------------ |  
| URL        | _hxxps://lababalbaba\[.\]com_                                      |  
| SHA-256    | _1ba2ec04908a4c4696f2f740f04588708c0c3afc7efbebc0aa69f39b78fc535b_ |  
| SHA-256    | _36c89cddd8e9edb4f7f2a88e86d828a33428247a75e55e4c2252f06a033e44ca_ |  
| SHA-256    | _41f34eed79c86341006666612500ae60e95da761ee04332d3601e3a181083cdf_ |  
| SHA-256    | _5ec1fe899277b0f489fcc20783abb3385e7f15b23bcaf44832ad57379ee13371_ |  
| SHA-256    | _9b325e75e840b7c6d7505f57ec527d680b786cc948fa0eff3850412706f4db89_ |  
| SHA-256    | _c1d26614cb1469e0651435a8e6301f6e38d4fa0add4fea138fe708e6669a2c33_ |  
| SHA-256    | _d4effaf9967404eaf833bdc97a9e2575fc91c686e2f048fd9c7fd07153709232_ |  
| SHA-256    | _e1d539437644e653a5b2dbf43bd1be03505b5997979c1f7229724e4ea9236228_ |  
| Domain     | _sb-it-support\[.\]com_                                            |  
| Hostname   | _02fw1\[.\]honigman\[.\]com_                                       |  
| Hostname   | _citrix\[.\]stblaw\[.\]com_                                        |  
| Hostname   | _redcap\[.\]bmhcc\[.\]org_                                         |  
| Hostname   | _redcap\[.\]shepherd\[.\]org_                                      |  
| Hostname   | _redcapwap\[.\]archildrens\[.\]org_                                |  
| IP address | _45\[.\]83\[.\]182\[.\]68_                                         |  
| Domain     | _lababalbaba\[.\]com_                                              |  
| Domain     | _third-party\[.\]com_                                              |  
As of 30 Nov 2026

## What is not known yet

- Who is behind the exploitation, and whether the activity comes from one group or several.
- How many sites were probed, and how many were successfully compromised.
- Whether any attacker progressed beyond writing marker or shell-tag files to full code execution on a live site.
- Whether any site was exploited before the patch was released on 22 September.
- What the attackers intend to do with any access they obtained.

## What to do

### If you run WordPress

1. Update to 7.1.2, or the corresponding release for your branch listed in WordPress's release notes.
2. Search web-server logs for requests from 169.58.48.193, 169.58.48.195 and 2001:df1:e8c0::106b and for double-encoded traversal sequences in the 'pagename' parameter, then block those addresses.
3. Check /tmp and /var/tmp for files named wp-pear-rce-flag.php, poc87902.php, luci\_<random>.php or zeta\_<random>.php and treat any you find as a sign of compromise.

### If you cannot update immediately

1. Turn off register\_argc\_argv for web requests.
2. Remove unused PEAR components from the server.
3. Treat both measures as reducing exposure only: neither repairs the underlying flaw.

### For everyone else

1. Assume that a published patch for internet-facing software will be probed within hours, and watch logs closely in the days after a disclosure.

## From vulnerability news to your exposure

A newly exploited vulnerability does not mean every organisation is equally exposed. The useful questions are whether the affected technology is present, which version is running and whether the vulnerable service is reachable.

ShadowMap monitors external assets, services and technologies, correlating them with vulnerability intelligence. Where testing is safe and authorised, selected exposures can also be validated through CART. A version match alone is not proof of exploitation.

[Attack surface management in ShadowMap](https://shadowmap.com/attack-surface-management/)

## Update log

- 22 Sept 2026, 23:33 IST First published.

## Sources

- [Hackers start exploiting critical WordPress flaw for code execution](https://www.bleepingcomputer.com/news/security/hackers-start-exploiting-critical-wordpress-flaw-for-code-execution/) BleepingComputer, 23 Sept 2026
- [WordPress Issues Patch for Critical Flaw That Can Enable Code Execution on Some Servers](https://thehackernews.com/2026/09/wordpress-issues-patch-for-critical.html) The Hacker News, 22 Sept 2026

### New incident reports by email

One email a week with the reports published since the last one.

We email you about this topic only; unsubscribe any time. See our [Privacy Policy](https://shadowmap.com/privacy-policy/).

You are on the list. The next weekly email will include you.

That did not go through. Please try again.

[Add ShadowMap as a preferred source on Google](https://www.google.com/preferences/source?q=shadowmap.com) 

##  Want us to look at your domain? 

 Give us one apex domain and we'll send back a written snapshot of what is already visible from outside. No call required. 

[ Get a free exposure snapshot ](https://shadowmap.com/resources/exposure-snapshot/?source=threat-intel-wordpress-cve-2026-87902-exploitation) [ Book a 30-minute demo ](https://shadowmap.com/contact/?source=demo&threat-intel=wordpress-cve-2026-87902-exploitation)
