Security networkFree AntivirusAntivirus ToolsInfoVirus

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

All 6 WordPress vulnerabilities →