Hackers start exploiting critical WordPress flaw for code execution
Affects WordPress CoreSource Bleeping Computer
Exploited in the wild · KEV due 28 Sep 2026 · public exploit available (Exploit-DB) · 95% EPSS : upgrade to 7.1.2 now.
Data as of 7 Nov 2026, 23:24 UTC
- KEV deadline
- US federal agencies must patch by this date; a sensible deadline for everyone else. Other KEV due dates
- EPSS
- 95.7% chance of exploitation in 30 days – higher than 99% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 7.1.2
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
t = 0 is the CVE’s publication on cve.org
Disclosed: evidence found.
CVE published 22 Sep 2026
Detectable: evidence found.
nuclei template: WordPress Core - PHP Template Path Traversal
Weaponized: evidence found.
Exploited in the wildExploited: evidence found.
Listed in CISA KEV 3 days after disclosure
Observed by OffSeq MirageSeen by Mirage: evidence found.
1 exposed host found; no attack traffic recorded
Timeline
CVE published
on cve.org
, t = 0
Added to CISA KEV (opens in a new tab)
exploitation confirmed
, 3 days after disclosure
In Threat Radar
record ingested
, 4 days after disclosure
KEV remediation due
US federal deadline
, 6 days after disclosure
First Exploit-DB entry (opens in a new tab)
WordPress 7.0.2 - Path Travesal
, 9 days after disclosure
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CISA KEV (opens in a new tab), OffSeq Mirage (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 7 Nov 2026.
What to do
Upgrade WordPress to 7.1.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| WordPressWordPress | Affected
| Fixed in
|
Description
CVE-2026-87902 is a critical unauthenticated remote code execution vulnerability in WordPress versions 4.7.0 through 7.1.1. It allows attackers to include arbitrary PHP files outside the active theme directories, potentially leading to code execution. The flaw was patched in WordPress 7.1.2 and backported to supported branches down to 4.7. Exploitation attempts began shortly after the patch release, with attackers writing malicious PHP files to disk to execute shell commands. Immediate updating to version 7.1.2 or later is strongly advised.
Indicators of compromise
Exploit source code
# Exploit Title: WordPress 7.0.2 - Path Travesal
# Google Dork: N/A
# Date: 2026-09-22
# Exploit Author: Robert Ressl (https://ressl.ch)
# Vendor Homepage: https://wordpress.org
# Software Link: https://wordpress.org/download/releases/
# Version: WordPress 7.0.2 (patched in 7.1.2 and 7.0.6; backports to every =
branch down to 4.7.37)
# Tested on: WordPress 7.0.2 / PHP 8.3.33 (Apache module) / MySQL 8.4 (offi=
cial wordpress:7.0.2-php8.3-apache image, x86-64 and arm64)
# CVE: CVE-2026-87902
# Ad…