How Cloudflare WAF helps protect against phpAfterShell and other critical PHP flaws
Cloudflare says its web application firewall blocks known attack patterns for phpAfterShell (CVE-2026-126714), a flaw in PHP's default file-based session handler disclosed by depthfirst on November 19, 2026, that can lead to remote code execution and scores 9.2 under CVSS 4.0. PHP fixed it the same day in versions 8.2.36, 8.3.37, 8.4.28, 8.5.13 and 8.6.0, along with 16 other vulnerabilities, six rated critical. Protection comes from a default-on PHP RCE rule, first deployed in October for php2shell, available on the Free plan too.
AI-written summary, checked against the cited sources. How summaries work