An unauthenticated attacker can make `get_page_template()` page-template resolution include a chosen readable local `…
WordPress
Actively exploited in the wild
Added to CISA's Known Exploited Vulnerabilities catalog on Sep 25, 2026. US federal agencies must patch by Sep 28, 2026.
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| WordPress WordPress |
| No fix yet |
Original description
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.
From the CVE record · hackerone