跳至主要内容

wp2shell

A pre-authentication code execution chain in WordPress Core

WordPress released fixes on 2026-07-17 and forced automatic updates for supported installs. The main flaw is credited to a Searchlight Cyber researcher, who says he could not have completed the chain in ten hours without AI. The second CVE came from a different team with no AI statement.

Copy a defensive prompt

VERIFIED EVENT RECORD

Event facts

CVSS
CVSS 3.1 · 9.8 · WPScan
Affected
6.8.0–6.8.5, 6.9.0–6.9.4, 7.0.0–7.0.1
Fixed versions
7.0.2, 6.9.5, 6.8.6
Disclosed
2026-07-17
Last verified
2026-11-23
CISA KEV
Listed · 2026-07-21
Exploitation status
Confirmed exploitation
Discoverers
Searchlight Cyber
AI systems
GPT-5.6 Sol
AI involvement
AI assisted

Impact

WordPress describes a REST API batch-route confusion and SQL injection issue leading to remote code execution. Wiz observed multiple actors exploiting it against self-hosted sites, and CISA added both CVEs to KEV four days after release.

Recommended action

Confirm every site is on 7.0.2, 6.9.5 or 6.8.6, including sites where automatic updates are disabled. Sites that stayed unpatched after 2026-07-17 should be reviewed for compromise.

PRIMARY SOURCES

Sources and verification links

DEFENSIVE PROMPT KIT

Prompts for a coding agent inside your environment

Choose a task and copy the complete prompt into Claude Code, Codex, or a similar tool that can read your own repositories and servers. The current event list is inserted automatically.

Prompt content

Task: determine whether my environment is affected by the events below.

Event data:
- wp2shell (WordPress Core)
  CVEs: CVE-2026-63030, CVE-2026-60137
  Fixed versions: 7.0.2, 6.9.5, 6.8.6
  Source: https://wordpress.org/news/2026/07/wordpress-7-0-2-release/

Inventory repositories, lockfiles, container images, package manifests, service configuration, public entry points, and running versions. Compare affected ranges, required conditions, and fixed versions. For every conclusion, show the evidence, confidence, and information a person still needs to provide.

Rules: Work only on systems the user owns or is authorised to manage. Remain read-only until a person approves. Produce a plan and evidence first. Never change production, restart services, or rotate secrets without explicit approval. Confirm every fact at the vendor advisory and CVE record instead of relying on memory. Record what you checked and what you could not check. Do not scan third-party hosts or run attack simulations.

What this prompt covers

The prompt asks an agent to inventory, verify facts, and prepare a plan. It grants no permission to modify production and does not replace the vendor advisory, CVE record, national CERT, or your change process.

OPERATIONALIZE THE RESPONSE

Turn this response into a continuing workflow

Tenten can connect asset inventory, source monitoring, exposure verification, and human approval to your existing engineering process.

Discuss a Security Watch workflow

Defensive information

This page contains defensive information and is not an official advisory. Versions, patches, and exploitation status can change. Check the vendor advisory, CVE record, and your national CERT before acting.