criticalCVE-2026-87902CVSS 9.2

WordPress Core - PHP Template Path Traversal

Could your systems be exposed to this vulnerability?

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.

Enter a domain or public IP you own. We'll check for signs of exposure. No signup required.

No signup. No installation. Results in about a minute.

Recommended remediation

Update WordPress to a patched maintenance release for the installed branch.

Tags

cvecve2026wordpresswp-corelfiunauth