Blog

  • Blog Home
  • WordPress 7.1.2 Security Update: What Philippine Site Owners Must Do Now
WordPress 7.1.2 Security Update: What Philippine Site Owners Must Do Now

October 6, 2026

10 min Read

WordPress 7.1.2 Security Update: What Philippine Site Owners Must Do Now

WordPress 7.1.2 Security Update: What Philippine Site Owners Must Do Now

Executive Summary

  • WordPress 7.1.2 was released on September 22, 2026 as a critical security release.
  • It patches CVE-2026-87902, which the GitHub security advisory scores CVSS v4.0 9.2/10 (Critical).
  • The flaw allows an unauthenticated attacker to exploit a path traversal issue in WordPress's page template system, which can lead to remote code execution under specific conditions.
  • Older branches received their own fixed releases, including 7.0.6, 6.9.9, 6.8.10, and 4.7.37. See the official branch list for yours.
  • Action needed: Update immediately to the fixed release for your branch through Dashboard > Updates. A major-version upgrade is not required to apply this fix.

Quick Answer

WordPress 7.1.2 patches CVE-2026-87902, a critical flaw that lets an unauthenticated attacker manipulate which PHP file loads during page template resolution, which can lead to remote code execution under specific conditions. Older branches received their own fixed releases, including 7.0.6, 6.9.9, 6.8.10, and 4.7.37. Update now to your branch's fixed version and confirm it in the official release notes.

A critical WordPress security patch arrived in late September and calls for prompt action. CVE-2026-87902 is a flaw in the page template system that an unauthenticated attacker can exploit without credentials. WordPress released 7.1.2 for the current branch and separate fixed releases for older branches, so you can usually patch within your existing branch. The GitHub security advisory lists a CVSS v4.0 score of 9.2 out of 10.

What Is CVE-2026-87902?

WordPress uses a function called get_page_template() to determine which PHP template file should render a given page on your site. Normally, this resolution process is bounded by the active theme's directory—your site loads its own templates and nothing else from outside that folder.

CVE-2026-87902 is a path traversal vulnerability, classified as CWE-98 (Improper Control of Filename for Include/Require in PHP). WordPress expects template files to come from the active theme's directories. This flaw breaks that boundary: an unauthenticated attacker can cause get_page_template() to include a readable local PHP file from outside those directories. If that file contains executable PHP code, the attacker gains a vector for remote code execution (RCE).

Path traversal flaws are rated seriously because external input controls which files the application runs.

Security researcher Robert Ressl discovered and responsibly disclosed this flaw. The advisory's CVSS v4.0 score of 9.2/10 reflects an attack that needs no authentication or privileges and is network-accessible with low complexity. WordPress released the fix in 7.1.2 on September 22, 2026, with separate fixed releases for older branches, as listed in the official WordPress 7.1.2 release notes.

Who Is Actually at Risk?

Not every unpatched WordPress site faces identical exposure. Exploiting CVE-2026-87902 requires two conditions to be present at the same time:

  1. A theme directory layout the traversal can escape — the active parent or child theme contains a top-level directory whose name starts with page-, such as page-templates.
  2. A readable local PHP file as the target — a PHP file outside the theme directories must exist and be readable by the web server.

This is why remote code execution is described as possible "under specific conditions." That does not mean you can safely postpone the update: your dashboard cannot show whether both conditions apply, so the only reliable action is to patch.

The 9.2 score reflects an unauthenticated, network-based, low-complexity attack; the extra conditions lower the practical hit rate, not the urgency. Wordfence has also published a public warning. Treat this as critical for any site, from a personal blog to an online store.

How to Check Your WordPress Version

Before updating, confirm which version your site is currently running:

  • Log in to your WordPress admin dashboard and go to Dashboard > At a Glance. Your current WordPress version appears in the lower-right area of the widget.
  • Alternatively, go to Dashboard > Updates. If a WordPress core update is available, it will appear at the top of the page with a security notice.
  • You can also check the bottom-right corner of any admin screen, which typically shows the current WordPress version number.

Compare it with your branch's fixed version in the official WordPress 7.1.2 release notes: 7.1.2 for 7.1, 7.0.6 for 7.0, 6.9.9 for 6.9, 6.8.10 for 6.8, and 4.7.37 for 4.7, with other branches listed there. If your version is lower, update now. If it matches or exceeds it, no further core action is needed for this CVE, though themes and plugins should stay current. These older-branch fixes are courtesy backports, not a sign that older branches are actively supported, so plan a move to a current release when practical.

Z.com Web Hosting — automatic backups, free SSL, and local support for Philippine businesses

How to Update to WordPress 7.1.2

Update within your current branch where possible; this fix does not require a major-version upgrade. Always create a manual backup before updating a live business site, even if your plan includes daily automated backups.

Method 1 — WordPress Dashboard (recommended for most sites)

  1. Log in to your WordPress admin and go to Dashboard > Updates.
  2. A security update for your branch (for example 7.1.2 or 7.0.6) should appear at the top. Click Update Now. If only a major upgrade is offered, ask your host to apply your branch's fixed release.
  3. Wait for the progress to complete. Do not close the browser tab or navigate away while the update is running.
  4. WordPress will display a confirmation screen when finished. Go to Dashboard > At a Glance and verify the version matches your branch's fixed release, such as 7.1.2.

Method 2 — Auto-updates already enabled

If your site has WordPress core auto-updates turned on, which is common on managed WordPress hosting, your branch's fixed version may already be installed. Check Dashboard > At a Glance; if it shows the fixed version, no manual step is needed.

Method 3 — cPanel and Softaculous

If you installed WordPress through cPanel using Softaculous, open Softaculous, go to your WordPress installations, and click the update icon next to your site. This works without WordPress dashboard access.

What to Do After Updating

Confirming your branch's fixed release, or a later one, in your dashboard is the essential first step, but a few additional checks reduce your overall exposure:

  • Update your active theme and all plugins. Go to Dashboard > Updates and apply any outstanding updates. This is general maintenance; it does not fix this Core CVE.
  • Review administrator accounts. Go to Users > All Users and look for any unfamiliar accounts with Administrator or Editor roles. A site that was compromised before patching may have a backdoor user added.
  • Run a malware scan. Use your hosting control panel's malware scanner, or a security plugin such as Wordfence, to check for unexpected file modifications. Security monitoring is not the same as a confirmed scan result, so run or request a scan yourself.
  • Check your server and WAF logs. Review web-server or WAF logs in your control panel, or ask your host for help, and look for unusual requests around or before your update date. An activity-log plugin may not record template loading, so do not rely on it for this check.

If your review turns up signs of compromise—unknown administrator accounts, modified core files, or unexpected PHP scripts in your uploads folder—treat it as a separate incident. See our guide on recovering a hacked WordPress site for step-by-step instructions.

Common Mistakes to Avoid

Waiting for your host to handle it automatically

Many managed hosting plans apply WordPress core security updates automatically, but timing and scope vary by provider and plan tier. Do not assume the update has been applied. Confirm the version yourself in Dashboard > At a Glance today.

Assuming low-traffic sites are not targeted

Automated scanners that find unpatched WordPress installations do not screen by traffic or popularity. A small business site is as visible to them as a busy online store.

Assuming a theme or plugin update fixes this CVE

This is a WordPress Core vulnerability, so only the core update fixes it. Keep your theme and plugins current as general maintenance, but never treat that as a substitute for patching core.

Skipping the pre-update backup

If a plugin or theme conflicts with the updated core, a pre-update backup is your fastest recovery path. Host backups help, but they are not a snapshot taken immediately before the update.

Frequently Asked Questions

Does this affect every WordPress site running 4.7 or later?

Sites below their branch's fixed release contain the vulnerable code. Sites already on the fixed release, such as 7.0.6 or 6.9.9, are patched even though those numbers are lower than 7.1.2. Exploitation also requires specific theme directory and local file conditions. If your branch is below its fixed release, update promptly rather than delaying based on assumptions about these conditions.

My hosting plan is managed. Has my host already applied the patch?

Managed plans often include automatic WordPress core updates, but coverage and timing differ by provider and plan tier. Check Dashboard > At a Glance. If it shows your branch's fixed version, such as 7.1.2, the patch is applied. If not, update manually through Dashboard > Updates.

I am still running WordPress 5.x or 6.x. Does this apply to my version?

Yes, if your version is below your branch's fixed release. WordPress issued branch-specific fixes, including 6.9.9 and 6.8.10; the official release notes list the rest. These are courtesy backports, not ongoing support, so plan a move to a current release. Meanwhile, apply the update shown for your branch in Dashboard > Updates.

How do I know if my site was already compromised before I patched?

Look for unfamiliar administrator accounts in Users > All Users, unexpected PHP files in your wp-content/uploads folder, or file modifications flagged by a malware scanner. If you find evidence of a breach, patching alone is not sufficient—follow a full recovery process outlined in our WordPress site recovery guide.

Key Takeaways

  • WordPress 7.1.2 patches CVE-2026-87902, a critical page template flaw (CVSS v4.0 9.2 per the GitHub advisory) that can enable unauthenticated remote code execution.
  • The attack requires no login and is network-accessible with low complexity—serious even though specific server and theme conditions are required for RCE.
  • Older branches got their own fixes, including 7.0.6, 6.9.9, 6.8.10, and 4.7.37. Confirm yours in the official branch list.
  • Update today to your branch's fixed version: Dashboard > Updates, or through cPanel / Softaculous if you prefer.
  • After updating, keep your theme and plugins current as general maintenance, review admin accounts, run a malware scan, and check server logs.