Actively exploited vulnerability / CVE-2026-87902
WordPress: attackers without an account could take control of your website
This flaw in WordPress lets an attacker with no account on the site make the server load files that should never be used to display pages. Under certain conditions related to the server and the active theme, the attacker can end up running their own code on the server, which means control over the website, its data and possibly other services hosted there. It is on the lists of vulnerabilities used in real attacks kept by CISA (the US cybersecurity agency) and ENISA (the EU cybersecurity agency).
- Identifier
- CVE-2026-87902 · EUVD-2026-84555
- Severity
- High (8.1/10)
- On the CISA list (US)
- yes, since 25 September 2026
- Deadline given to US federal agencies
- 28 September 2026
- On the ENISA list (EU)
- yes
- Probability of exploitation (EPSS)
- 26.7% (FIRST's estimate for the next 30 days)
Does it concern you?
WordPress is the platform behind a large share of company websites, blogs and online shops. If your company website was built on WordPress, this concerns you.
The version is shown in the WordPress admin area, under Updates or at the bottom of the dashboard; you can also ask whoever manages your website. Affected are versions older than 4.7.37, and versions in the 4.8 to 5.4 series released before the fixes 4.8.32, 4.9.33, 5.0.29, 5.1.26, 5.2.28, 5.3.25 and 5.4.23.
Affected products and versions
- WordPress Core
- wordpress: before 4.7.37; from 4.8 before 4.8.32; from 4.9 before 4.9.33; from 5.0 before 5.0.29; from 5.1 before 5.1.26; from 5.2 before 5.2.28; from 5.3 before 5.3.25; from 5.4 before 5.4.23
What to do
Update WordPress to at least the fixed release for your series: 4.7.37, 4.8.32, 4.9.33, 5.0.29, 5.1.26, 5.2.28, 5.3.25 or 5.4.23. If you run such an old series, ask whoever manages your site about moving to the latest WordPress version.
Versions that contain the fix: 4.7.37, 4.8.32, 4.9.33, 5.0.29, 5.1.26, 5.2.28, 5.3.25, 5.4.23.
The official description
The text below is the description from the public database.
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.
Sources
- Debian Security Tracker
- CVE Program
- Vendor advisory: github.com
- Vendor advisory: cisa.gov
- Vendor advisory: nvd.nist.gov
- NVD
- ENISA EUVD
Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 29 November 2026.