CVE-2026-87902
WordPress Core · WordPress Core Remote File Inclusion Vulnerability
Actively exploited
What is CVE-2026-87902?
The WordPress core contains a security flaw known as a remote file inclusion vulnerability. This issue allows an unauthenticated attacker to manipulate how the system resolves page templates. By exploiting this, an attacker can force the software to include and execute arbitrary local files that are stored outside of the designated theme directories. If successful, this process leads to remote code execution, which grants the attacker the ability to run unauthorized commands on the server hosting the website.
This vulnerability affects administrators who manage websites built on the WordPress platform. Because this flaw is currently being exploited in the wild, it is essential to take immediate action to secure your installation. Administrators should check for and apply the latest security update provided by the vendor to resolve this vulnerability and protect their systems from potential compromise.
Summary written with AI assistance from the sources listed on this page. Check the original sources for full technical details.
CISA description
WordPress Core contains a remote file inclusion vulnerability which could allow an unauthenticated attacker to make page-template resolution include a chosen readable local `.php` file outside the active theme directories, leading to remote code execution.
CISA added this vulnerability to its Known Exploited Vulnerabilities catalog on 25 September 2026, which means there is reliable evidence that attackers are using it in real attacks.
What to do
Install the security update or apply the mitigations published by WordPress as soon as possible. If no fix is available, follow the vendor's workaround or stop using the affected product until it can be patched. For internet-facing systems, also check for signs of compromise, because the flaw may have been used before you patched.
References
Other exploited WordPress vulnerabilities
- CVE-2026-63030 WordPress Core – WordPress Core Interpretation Conflict Vulnerabilityadded
21 July 2026 - CVE-2026-60137 WordPress Core – WordPress Core SQL Injection Vulnerabilityadded
21 July 2026 - CVE-2020-25213 WordPress File Manager Plugin – WordPress File Manager Plugin Remote Code Execution Vulnerabilityadded
3 November 2021 - CVE-2020-11738 WordPress Snap Creek Duplicator Plugin – WordPress Snap Creek Duplicator Plugin File Download Vulnerabilityadded
3 November 2021 - CVE-2019-9978 WordPress Social Warfare Plugin – WordPress Social Warfare Plugin Cross-Site Scripting (XSS) Vulnerabilityadded
3 November 2021