WordPress core CVE-2026-87902, CVE-2026-93485, CVE-2026-63030, CVE-2026-60137

WordPress 7.1.2 and the wp2shell family

WordPress 7.1.2 fixes CVE-2026-87902. July wp2shell is CVE-2026-63030 and CVE-2026-60137. 7.1.1 fixed Click2Shell and Comment2Shell (CVE-2026-93485). Update, then check leftover access.

Also known as Click2Shell, Comment2Shell.

What happened

WordPress 7.1.2 shipped on Sep 22, 2026 as a security release for a critical core issue, CVE-2026-87902. In some cases an attacker who is not logged in can make page template resolution include a chosen readable PHP file outside the active theme. If the server and theme conditions are met, that can reach remote code execution.

WordPress 7.1.1, shipped Sep 17, patched Click2Shell and Comment2Shell. Comment2Shell is CVE-2026-93485. Updating to 7.1.2 includes that work. It does not replace checking inactive themes you did not expect, or comment moderation.

July wp2shell is a separate core chain, CVE-2026-63030 and CVE-2026-60137. Updates shipped July 17 in 6.8.6, 6.9.5, and 7.0.2. Updating closes the hole. It does not prove a site that was already exposed is clean.

The timeline and the full leftover-access checklist are on the wp2shell advisory. Later releases: WordPress 7.1.3 and WordPress 7.1.4.

Who is affected

Any WordPress site that is not yet on 7.1.2 or the matching security release for its branch. Sites that were exposed to the July wp2shell bugs can still have leftover access after the update.

Fixed version: 7.1.2, or the matching security release for your branch (7.0.6, 6.9.9, 6.8.10, and matching releases down to 4.7.37). July wp2shell closed in 6.8.6, 6.9.5, and 7.0.2.

Do this now

  1. Confirm every site is on 7.1.2 or newer, or the matching security backport for that branch. WordPress listed 7.0.6, 6.9.9, 6.8.10, and older branches through 4.7.37 for the Sep 22 fixes.
  2. Review inactive themes you did not expect, and tighten comment moderation on sites that auto-approve comments.
  3. Check Users for administrators you did not create, including names starting with wp2_ or w2s_, and odd emails on @wp2shell.invalid or @wp2shell.local.
  4. Check must-use plugins and PHP files in the uploads folder. The rest of the checks are on the wp2shell advisory.

Sources: WordPress 7.1.2 release WordPress 7.1.1 maintenance and security release WordPress 7.0.2 release

You patched it. Now watch the site.

Pro adds a cloud firewall, malware scanning, and login protection. 14 days. Card or PayPal, not charged today.

Start 14-day Pro trial

Larger screenshot

Enlarged image