HOME
[kal_foundry] services work about team get a quote ↗

wordpress 7.1.2 patches a page-template flaw probed within hours

A WordPress core bug let unauthenticated attackers make a site include a local PHP file of their choosing, which can lead to remote code execution when certain server and theme conditions are met. Probing began the same day.

vulnerability exploited 5 sources · 4 primary 1 min read
// at a glance
cve
CVE-2026-87902
cvss
9.2 (v4.0, WordPress GHSA); 8.1 (v3.1, NVD record)
affected
WordPress 4.7.0–7.1.1
fixed in
7.1.2, 7.0.6, 6.9.9, 6.8.10 (backports to 4.7.37)
exploited
yes — added to CISA KEV 2026-09-25
platforms
self-hosted WordPress on PHP

what happened

where sources differSeverity scores differ. WordPress's GitHub advisory scores 9.2 (CVSS v4.0, critical), while the NVD record lists 8.1 (CVSS v3.1, high). Patchstack's timeline lists the first pearcmd file-write attempt at 15:34 UTC on September 22, while its first-evening analysis in the same post says that day's traffic was still reconnaissance only.

sources5

  1. 01
    WordPress 7.1.2 Release ↗ primaryWordPress.orgaccessed 2026-10-21
  2. 02
    Unauthenticated path traversal in page-template resolution leading to conditional RCE (GHSA-7hp8-65ch-5whp) ↗ primaryWordPress (GitHub Security Advisory)accessed 2026-10-21
  3. 03
    CVE-2026-87902 (NVD CVE API 2.0 record) ↗ primaryNIST National Vulnerability Databaseaccessed 2026-10-21
  4. 04
    CISA Known Exploited Vulnerabilities Catalog (JSON feed, catalogVersion 2026.10.21) ↗ primaryCISAaccessed 2026-10-21
  5. 05
    CVE-2026-87902: attackers started probing WordPress sites hours after the patch ↗ secondaryPatchstackaccessed 2026-10-21