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

Image: Cloudflare Blog

Read at Cloudflare Blog

CVE-2026-126714

Severity
9.2 Critical · CVSS 4.0 · Php
Exploited
Not in CISA’s catalog
Published
PHP Group PHP

Affected: before 8.2.36; 8.3.0 to before 8.3.37; 8.4.0 to before 8.4.28; 8.5.0 to before 8.5.13

Fixed: 8.2.36; 8.3.37; 8.4.28; 8.5.13

github.com · CVE record · NVD