cybersecurity Request an audit

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

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.

Other exploited vulnerabilities in WordPress Core

All exploited vulnerabilities in WordPress Core

What you can do next

Request an audit

Find out what you expose, before someone else does.

Tell us who you are, confirm by email, and we will call you. Nothing is checked until you agree.

  1. You confirm by email, then we call you within two working days to understand your company and what should be checked.
  2. You get a fixed quote and a permission form that says exactly what we may test, and when.
  3. We do the work in the window you chose, and keep you posted.
  4. You get the report and a walkthrough call, then one retest of its findings within 30 days.

Only systems you own or may have checked / written permission first

Request an audit

No passwords or access details here. We ask for what we need after you sign the permission form.

After you send this, we email you a link to confirm it. We contact you only after you confirm.