← Lab /Security & privacy

WordPress Core contains pre-authentication remote code execution

A pre-authentication RCE exists in stock WordPress core affecting versions 6.9.0-6.9.4 and 7.0.0-7.0.1.

Security & privacy Assetnote / Searchlight 17 Jul 2026 Disclosure Real-world evidence

Published as “wp2shell: Pre Authentication RCE in WordPress Core”

Why it matters

The vulnerability lets any unauthenticated attacker execute code on vulnerable WordPress sites, requiring immediate patching or mitigation.

Summary

Searchlight Cyber discovered a pre-authentication remote code execution vulnerability in the core of WordPress that can be triggered by an anonymous user on a stock install. The bug affects WordPress versions 6.9.0-6.9.4 and 7.0.0-7.0.1 and has no preconditions. The researchers withheld technical details but released a public website (wp2shell.com) to test for the flaw and recommend immediate upgrading to 7.0.2 or 6.9.5, with optional WAF blocking of the batch API as a temporary mitigation. Evidence is limited to the vendor’s statement and version list.

What they found 2

  1. Pre-authentication remote code execution exists in WordPress core

    “Searchlight Cyber’s security research team has discovered a pre-authentication RCE in WordPress Core.”

  2. Versions 6.9.0-6.9.4 and 7.0.0-7.0.1 are affected

    “6.9.0 - 6.9.4 : affected.7.0.0 - 7.0.1 : affected.”

Caveats 2

  • Given the severity of the bug and to give defenders time to patch, we are not releasing technical details at this time.
  • Temporary WAF block may impact legitimate use of the site.

What’s new here 4

  • First reported pre-authentication RCE in WordPress core
  • Affects specific versions: 6.9.0-6.9.4 and 7.0.0-7.0.1
  • Public detection service (wp2shell.com) released
  • Emergency mitigation via blocking the batch API at the WAF