CVE-2026-87902

High8.1 Published on Sep 22, 2026

An unauthenticated attacker can make `get_page_template()` page-template resolution include a chosen readable local `.php` file outside the active theme directories. If relevant pre-conditions for both the server and the active theme are met, this can lead to RCE.

Actively exploited

  • In the CISA exploited-vulnerabilities catalogue since Sep 25, 2026
  • US federal agencies must remediate it by Sep 28, 2026 (BOD 22-01)
  • Attacked 1 day before the vulnerability was made public
  • Confirmed by sensors, not only by reports

Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.

Source: CISA KEV · Sep 28, 2026 Sep 25, 2026 Sep 25, 2026 Sep 23, 2026 Sep 23, 2026 Sep 22, 2026

CVSS score8.1 / 10CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness type (CWE)CWE-98
Vendorswordpress

Affected products

VendorsProductVersions
wordpresswordpress< 4.7.37

Related articles

This product uses the NVD API but is not endorsed or certified by the NVD.

CVE database