← Lab /Security & privacy

Unauthenticated RCE and memory disclosure affect 70% of websites via PHP core

AI-enabled exploits allow unauthenticated remote code execution on any PHP version back to 5.4, affecting 70% of websites.

Security & privacy Wiz Research 21 Oct 2026 Disclosure Real-world evidence

Published as “PHP2Shell: AI uncovers critical RCE vulnerabilities affecting 70% of the Internet”

Why it matters

If unpatched, the vulnerabilities could let attackers take over the majority of web servers worldwide.

Summary

Wiz Research used frontier AI models to discover two memory-safety bugs in PHP core that have existed since version 5.4. They built an exploit chain called php2shell that achieves unauthenticated remote code execution and process-memory disclosure on the latest WordPress, Drupal and Joomla container images. The vulnerabilities were disclosed as CVE-2026-109618 and CVE-2026-109619, patched by PHP on October 21, 2026, and coordinated with multiple cloud providers.

What they found 2

  1. Unauthenticated remote code execution on WordPress, Drupal and Joomla

    “Pre-authentication RCE on WordPress, Drupal and Joomla”

  2. Unauthenticated disclosure of PHP worker memory

    “Unauthenticated disclosure of PHP worker memory”

Caveats 2

  • Memory bugs are notoriously complex; differences in PHP versions, configurations and application behavior can break assumptions the exploit depends on.
  • Turning these flaws into working exploits required chaining multiple bugs and accounting for how PHP allocates and reuses memory across requests.

What’s new here 4

  • Frontier LLMs (Gemini 4 Argon, GPT-5.6) were used to locate and adapt complex exploit chains across PHP versions.
  • Two new CVEs (CVE-2026-109618, CVE-2026-109619) covering use-after-free and type-confusion bugs in PHP core were disclosed.
  • Demonstrated unauthenticated RCE on WordPress, Drupal and Joomla containers using a single exploit script (php2shell).
  • Coordinated patch release and mitigation guidance across major cloud and CDN providers.