Skip to main content
Report · Bleeping ComputerAbout CVE-2026-87902Published

Hackers start exploiting critical WordPress flaw for code execution

Affects WordPress CoreSource Bleeping Computer

0
Compare
Authoritative record:CVE-2026-87902· High 8.1

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

CVSS 3.1 base score
8.1High
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

t = 0 is the CVE’s publication on cve.org

  1. Disclosed: evidence found.

    CVE published 22 Sep 2026

  2. Exploited in the wild: evidence found.

    Listed in CISA KEV 3 days after disclosure

  3. Observed by OffSeq Mirage: evidence found.

    1 exposed host found; no attack traffic recorded

Timeline

  1. CVE published

    on cve.org

    , t = 0

  2. , 3 days after disclosure

  3. In Threat Radar

    record ingested

    , 4 days after disclosure

  4. KEV remediation due

    US federal deadline

    , 6 days after disclosure

  5. 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

ProductAffectedFixed in
WordPressWordPressAffected
  • <7.1.2
Fixed in
  • 7.1.2

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 code for WordPress 7.0.2 - Path Travesal11,827 characters
# 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…

References

Community reviews

Loading reviews…