CVE-2026-87902
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of data exposure, data tampering, service disruption.
- In the wild
- CISA lists this as exploited in real attacks. Treat as urgent.
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- ReservedThe CVE id was reserved by its CNA
- PublishedDisclosed publicly on CVE.org and NVD
- 2026-09-25 Exploited in the wildAdded to CISA's Known Exploited Vulnerabilities list
- 2026-09-28 Remediation deadlineCISA's due date for federal agencies to fix it
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: yes, CISA lists it. This puts it above everything that is not.
- Exploit odds: 95.8% in the next 30 days (EPSS).
- Severity: 8.1 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Added to CISA KEV
- 2026-09-25
- Exploit probability
- 95.8% · EPSS, next 30 days
- Weakness
- CWE-98
- Record status
- Analyzed
Affected
- WordPress < 4.7.37
- WordPress < 4.8.32
- WordPress < 4.9.33
- WordPress < 5.0.29
- WordPress < 5.1.26
- WordPress < 5.2.28
- WordPress < 5.3.25
- WordPress < 5.4.23
Attack profile CVSS 3.1 · 8.1
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2026-87902.md and follow it. Check whether this project is affected by CVE-2026-87902. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.