CVE-2026-87902
Description
A flaw was found in WordPress. An unauthenticated attacker can exploit a vulnerability in the get_page_template() function's page-template resolution. This allows the attacker to include a chosen readable local PHP file from outside the active theme directories. If specific server and active theme pre-conditions are met, this can lead to remote code execution (RCE), enabling the attacker to run arbitrary code on the affected system.
Statement
Red Hat Product Security has determined that this vulnerability does not affect any currently supported Red Hat product. This assessment may evolve based on further analysis and discovery. For more information about this vulnerability and the products it affects, please see the linked references.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.