CVE-2026-87902: WordPress Core remote file inclusion

CVE-2026-87902 · Severity: critical · CVSS 8.1 · Exploited in the wild · Published 2026-09-22

WordPress Core, which powers millions of websites worldwide, contains a vulnerability that allows unauthenticated attackers to include and execute arbitrary PHP files from the server. An attacker can exploit this to gain control of the entire website and underlying server, potentially leading to data theft, defacement, or use as a launch point for further attacks.

Technologies: WordPress Core. Vendors: Wordpress.

Quick answers

Is CVE-2026-87902 exploited in the wild?
Yes. CVE-2026-87902 is known to be exploited in the wild, first recorded on 25 September 2026. Treat it as urgent.
How severe is CVE-2026-87902?
Critical severity, with a CVSS score of 8.1, published 22 September 2026.
Which products and versions are affected?
WordPress WordPress Core.
Is there a fix for CVE-2026-87902?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-87902 attacked?
It is attacked over the network, in a web application.
Am I affected by CVE-2026-87902?
Check whether you run WordPress Core. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

WordPress Core contains a remote file inclusion (RFI) vulnerability in page-template resolution logic. The vulnerability allows unauthenticated attackers to manipulate template resolution to include arbitrary readable PHP files from outside the active theme directories. The attack is network-accessible and requires no authentication or user interaction. Successful exploitation leads to remote code execution with the privileges of the web server process. The vulnerability has been actively exploited in the wild as of September 2026.

Affected products

  • WordPress WordPress Core

Timeline

  • 2026-09-25: disclosed
  • 2026-09-25: exploited

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.