AI-generated editorial illustration; not a documentary photograph.
WordPress has released version 7.1.2 as a security update for a critical vulnerability in page template resolution. Under specific server and theme conditions, an unauthenticated attacker could make WordPress include a chosen readable local PHP file outside the active theme directories, potentially leading to remote code execution, according to the WordPress security team.
What the patch addresses
The vulnerability is identified as CVE-2026-87902 and GHSA-7hp8-65ch-5whp. The reported attack requires both relevant server-environment prerequisites and a compatible active theme, so the source does not describe it as universally exploitable across WordPress installations.
Who should update
WordPress recommends that site operators update immediately. The release can be installed from WordPress.org or through the WordPress Dashboard by opening Updates and selecting Update Now. Sites configured for automatic background updates will begin the process automatically, according to the release notice.
Older branches included
The security fix is being backported to branches eligible for security maintenance, currently extending through WordPress 4.7. The backports were still in progress when the release notice was published on September 22, 2026, and will ship as they become ready. WordPress says only its most recent version is actively supported.
Disclosure
WordPress credited Robert Ressl with responsibly reporting the vulnerability. The release was led by John Blackbourn, with contributions from members of the WordPress security and development communities.
Source: WordPress 7.1.2 Release

Leave a Reply