WordPress Releases Critical Security Update: Version 7.1.2
WordPress has unveiled version 7.1.2 to rectify a severe security vulnerability that may enable unauthenticated adversaries to execute arbitrary code on susceptible websites under particular conditions.
It is imperative for site administrators to initiate updates immediately; successful exploitation could occur without the necessity for attackers to log in or possess a valid WordPress account.
Identified as CVE-2026-87902, the vulnerability pertains to the page template resolution process within WordPress—an essential function that dictates which PHP template file is deployed to render a requested page.
The issue was responsibly disclosed by security researcher Robert Ressl to the WordPress security team.
This vulnerability affords remote attackers the capability to manipulate template resolution, perhaps enabling WordPress to incorporate a readable local PHP file situated beyond the active theme directory.
Typically, WordPress is designed to load page templates exclusively from approved theme locations. The existence of this vulnerability introduces a vector that might permit an attacker to select a local PHP file that should remain inaccessible through the standard theme rendering pathway.
WordPress Core Vulnerability
Provided that both the server configuration and active WordPress theme fulfill specific pre-requisites, alongside a designated local PHP file, this situation can culminate in remote code execution.
In such a scenario, an attacker may deploy malicious PHP code on the underlying web server without needing authentication to the WordPress site.
Remote code execution vulnerabilities rank among the most critical threats facing content management systems.
A successful breach could empower malicious actors to install web shells, exfiltrate database credentials, alter website content, generate unauthorized administrator accounts, redirect visitors, disseminate malware, or utilize the compromised server to target additional systems.
The security release does not imply that all WordPress installations are susceptible to exploitation. The success of such attacks hinges on factors including the server environment, the active theme in use, and the presence of relevant readable PHP files existing outside the active theme directories.
Nonetheless, the nature of the attack does not necessitate authentication, making exposed and unpatched sites prime targets for automated scanning and opportunistic exploitation across the internet.
WordPress strongly advises that administrators update all sites to version 7.1.2 without delay. Users may acquire the latest package from the official WordPress website or implement the update via the WordPress Dashboard by selecting Updates and clicking Update Now. Sites configured for automatic background updates may receive the patch automatically.
This vulnerability fix has also been backported to WordPress branches eligible for security enhancements, extending through version 4.7.
Although this offers a mitigation pathway for older deployments, it should be noted that only the most current release is actively supported.
Administrators should confirm that the updates have been executed successfully, ensure that all sites are operating a patched version, and scrutinize web-server and WordPress logs for any suspicious requests relating to template paths, unexpected PHP executions, or any newly created administrative users.
Security teams must also evaluate active themes and custom code that alters template selection behavior.
Organizations managing public-facing WordPress sites should regard CVE-2026-87902 as an immediate patching priority.

The interplay of unauthenticated access and potential remote code execution dictates the necessity for swift remediation to avert complete site and server compromise.
Minimize every SOC alert investigation by 21 minutes. Equip your SOC with instant IOC context for prompt response: Integrate TI Lookup within your SOC
Source link: Cybersecuritynews.com.





