CVE-2026-87902

Attackers are using this High severity Published September 22, 2026 · updated September 28, 2026

Attackers are using this.

CISA added it to its list of vulnerabilities being exploited on September 25, 2026.

CISA's advice: 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.

What it is

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.

What it affects, and the version that fixes it

  • WordPress Make sure you are on 7.1.2 or later.

The vendor's advice · The official record (NVD) · CVE.org