---
title: "CVE-2026-87902: Unknown Product - Remote Code Execution"
description: "An unauthenticated attacker can exploit a file inclusion vulnerability in get_page_template() causing inclusion of arbitrary readable local .php files outside active theme directories, potentially leading to remote code execution if server and theme conditions are met."
url: https://panop.io/threat-heartbeat/CVE-2026-87902/
---

# CVE-2026-87902 Unknown Product - Remote Code Execution

An unauthenticated attacker can exploit a file inclusion vulnerability in get\_page\_template() causing inclusion of arbitrary readable local .php files outside active theme directories, potentially leading to remote code execution if server and theme conditions are met.

CVSS base score 8.1 /10

Critical

CISA KEV

Exploited in the wild

Public exploit

Proof of concept available

Authentication

Not required

EPSS

39.98% chance of exploitation in 30 days

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-87902)

## Details

Type

Remote Code Execution

Impact

Remote Code Execution, File System Read

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Published

22 September 2026

Updated

15 October 2026

Weakness

[CWE-98](https://cwe.mitre.org/data/definitions/98.html)

## Vendor fix

Update to the latest version containing the fix or patch the file inclusion vulnerability.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-87902](https://nvd.nist.gov/vuln/detail/CVE-2026-87902)
- [https://github.com/WordPress/WordPress/commit/fdeab470f4b4062462cf8ccdc788f258683c2d6f](https://github.com/WordPress/WordPress/commit/fdeab470f4b4062462cf8ccdc788f258683c2d6f)
- [https://hadrian.io/vulnerability-alerts/cve-2026-87902-working-poc-wordpress-critical-path-traversal](https://hadrian.io/vulnerability-alerts/cve-2026-87902-working-poc-wordpress-critical-path-traversal)
- [https://www.crowdsec.net/vulntracking-report/cve-2026-87902-wordpress-vulnerability](https://www.crowdsec.net/vulntracking-report/cve-2026-87902-wordpress-vulnerability)
- [https://x.com/ethicalhack3r/status/2102747373873004680](https://x.com/ethicalhack3r/status/2102747373873004680)
- [https://patchstack.com/articles/cve-2026-87902-attackers-started-probing-wordpress-sites-hours-after-the-patch/](https://patchstack.com/articles/cve-2026-87902-attackers-started-probing-wordpress-sites-hours-after-the-patch/)
- [https://previdian.com/CVE-2026-87902](https://previdian.com/CVE-2026-87902)
- [https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-7hp8-65ch-5whp](https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-7hp8-65ch-5whp)
- [https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field\_cve=CVE-2026-87902](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-87902)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
