← Back to search

CVE-2026-87902

8.1 HIGHpublic exploit available

Published 2026-09-22 · Updated 2026-09-28

AI risk analysis

Summary
The flaw allows unauthenticated attackers to include local PHP files, leading to remote code execution (RCE). This is significant because it bypasses authentication and can compromise the entire system.
Exploitability
Exploitation requires specific server and theme configurations, making it moderately difficult. Pre-conditions include the presence of readable local `.php` files outside the active theme directories.
Blast radius
If exploited, the impact could be severe, as it allows full control over the WordPress site, potentially leading to data theft, site defacement, or further attacks.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Disable the `get_page_template()` function or restrict its usage to authenticated users only.
rcewebphpwordpress

Analysis generated locally by qwen2.5:7b-instruct (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

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.

CVSS vector

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

Weaknesses

CWE-98

Vendors

wordpress

Products

wordpress

Public exploit & PoC references

References

Data: NVD (public domain). Analysis: local $0 model. Defensive use only.