PHP2Shell (CVE-2026-109618, CVE-2026-109619): critical RCE, exploited in the wild. Fixed in 8.5.12 · 8.4.27 · 8.3.36 · 8.2.35. Read the advisory
Advisory PHP2Shell — CVE-2026-109618 & -109619

Find your PHP exposure, then fix it with exact steps.

PHP2Shell is the name for two critical flaws in the PHP engine, CVE-2026-109618 and CVE-2026-109619, each rated CVSS 9.2. Either can give an unauthenticated attacker remote code execution as your web worker. The PHP project shipped fixes on 21 October 2026. Apache mod_php carries the highest risk; PHP-FPM and other SAPIs are affected too.

Fixed releases — upgrade to at least these
8.58.5.12 8.48.4.27 8.38.3.36 8.28.2.35

PHP 8.1 and older receive no official fix. Latest releases shown from php.net.

The same checks run locally in your browser — nothing is uploaded.

Incident timeline

What happened, with sources.

Only the facts the PHP project and the advisories state. Each item links to where it came from.

  • Advance notice. The PHP project published "Upcoming Critical PHP Security Release," scheduled for 21 October 2026 at 14:00 UTC. Both vulnerabilities were rated CVSS v4.0 9.2. The team noted it could release earlier if details became public or active exploitation appeared. php.net/archive/2026.php
  • Fixes released. PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 shipped as security releases, each fixing CVE-2026-109618 and CVE-2026-109619 — unauthenticated remote code execution. PHP 8.2 reaches end of life on 31 December 2026. php.net/archive/2026.php
  • Impact confirmed. The advisory states complete remote code execution was validated over HTTP against Apache mod_php; no complete PHP-FPM exploit was demonstrated. mod_php carries the highest risk. GHSA-w8hw-w9fx-j79w
  • 8.1 and older. No official release for PHP 8.1 and earlier. The PHP project published minimal source backports for 7.4, 8.0 and 8.1; some distributions and LTS vendors ship them. Move to a supported branch. GHSA-6wmf-4rv5-p3rp
Running a wallet, bot or Solana node on PHP?

RCE on the web worker means any key readable by that process can be stolen. Shellproof finds exposed keypairs and seed phrases, masks every secret, and lets you check read-only whether a hot wallet has moved funds — public addresses only.

Crypto & Solana guide
Run it yourself

On your server, or in CI.

One Python file, standard library only, no dependencies. It inspects the machine it runs on and the paths you give it, and sends nothing about you anywhere.

Quick check (no install)
curl -O https://<your-host>/downloads/shellproof.pyz
python3 shellproof.pyz scan .
One-file scanner
python3 shellproof.pyz version 8.3.12
python3 shellproof.pyz scan /var/www --format md
Monitor on a schedule
python3 shellproof.pyz monitor /var/www \
  --once --webhook "$SLACK_URL"
Sources
  1. PHP release and advisory announcements, October 2026 — php.net/archive/2026.php
  2. CVE-2026-109618 advisory — GHSA-w8hw-w9fx-j79w
  3. CVE-2026-109619 advisory — GHSA-6wmf-4rv5-p3rp
  4. Supported versions and support windows — php.net/supported-versions.php