Skip to content

WordPress: Unauthenticated path traversal leading to conditional RCE

8 relevance
Score Breakdown
technical depth
9
novelty
7
actionability
8
community
8
strategic
6
personal
9

Scored daily by a customisable AI persona to surface the most relevant engineering leadership news.

WordPress RCE vulnerability with detailed advisory, directly actionable for patching.

Security github.com
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 ...
Summary

WordPress patched a critical (CVSS 9.2) unauthenticated path traversal in get_page_template() that enables conditional RCE via pearcmd.php, affecting all versions back to 4.7. The exploit requires themes like Neve or legacy Twenty Twelve with a "page-" top-level directory and server configurations like cPanel or Docker with PHP prior to 8.5. Robert Ressl disclosed the flaw, and fixes have been backported to every branch since 4.7.

Author

WordPress