
PHP2Shell (CVE-2026-109618 & CVE-2026-109619): How to Use AWS WAF as a Bridge While You Patch
On October 21, 2026, the PHP project issued emergency patches for two critical unauthenticated remote code execution vulnerabilities—CVE-2026-109618 and CVE-2026-109619—collectively named PHP2Shell, both rated 9.2 (Critical) under CVSS v4.0. The flaws reside in PHP's multipart/form-data request processing layer, meaning attackers can trigger arbitrary code execution before any application logic runs. CVE-2026-109618 exploits an out-of-memory memory corruption condition, while CVE-2026-109619 abuses stale global state persisting across PHP worker processes. Fixed releases are PHP 8.5.12, 8.4.27, 8.3.36, and 8.2.35. Amazon Threat Intelligence detected active exploitation via MadPot prior to public disclosure, confirming real-world weaponization. PHP2Shell underscores how pre-application-layer vulnerabilities in widely deployed runtimes can bypass traditional application-level defenses entirely. With PHP powering an estimated 77% of server-side web infrastructure, the blast radius is enormous. Organizations relying solely on application-layer WAF rules without addressing runtime configuration and patch cadence remain exposed, highlighting the necessity of layered, defense-in-depth network security architectures that extend from the edge to workload internals.
Kill Chain




















