How Cloudflare WAF helps protect against phpAfterShell and other critical PHP flaws
ID: cd8dfb91-1907-5398-9d5c-c2ed3d5f5bde
STIX ID: report--cd8dfb91-1907-5398-9d5c-c2ed3d5f5bde
Feed Name: Cloudflare Blog
On November 19, 2026 Cloudflare disclosed and explained phpAfterShell (CVE-2026-126714), a critical PHP remote code execution vulnerability in the default file-based session handler (CVSS 9.2) that can be triggered by interrupted session writes and deserialization of attacker-controlled data; PHP released fixes for supported branches (8.2.36, 8.3.37, 8.4.28, 8.5.13, 8.6.0). The advisory also covers six other critical PHP flaws requiring specific configurations to exploit (including a PHP-FPM request-smuggling issue and several use-after-free bugs), details who is affected, recommends upgrading PHP and restarting workers, and documents Cloudflare WAF rules and mitigations (including a default Block rule for phpAfterShell and Log-mode rules for PHP-FPM/SOAP issues). Cloudflare notes the WAF reduces exposure but is not a replacement for patching, and states there was no evidence of exploitation in the wild at the time of the advisory.
Your team is not currently subscribed to this feed. You must subscribe to it in order to see this post.
