CVE-2026-87902
Fixed in a distro release ExploitedEPSS 96%CVSS 8.1
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.
Products: WordPress
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Debian 12 | wordpress | no fix |
| Debian 13 | wordpress | 6.8.10+dfsg1-0+deb13u1 |
| Debian 14 | wordpress | 7.1.2+dfsg1-1 |
| Ubuntu 16.04 LTS | wordpress | no fix |
| Ubuntu 18.04 LTS | wordpress | no fix |
| Ubuntu 20.04 LTS | wordpress | no fix |
| Ubuntu 22.04 LTS | wordpress | no fix |
| Ubuntu 24.04 LTS | wordpress | no fix |
| Ubuntu 26.04 LTS | wordpress | no fix |
| Ubuntu 26.10 | wordpress | no fix |