CloudflareDaniele Molteni
Cloudflare WAF blocks attacks targeting PHP flaw
Part of the CVE-2026-126714 story · since 19 Nov
- Thu 19 Nov, 15:30 UTC. Infosecurity, first report. PHP patches 18 flaws, including seven marked critical.
- Thu 19 Nov, 15:30 UTC. The Hacker News, its first report on the story. PHP fixes eight flaws that could enable remote code execution.
- Thu 19 Nov, 16:01 UTC. SecurityWeek, its first report on the story. PHP fixes seven critical RCE flaws in latest four week patch batch.
- Thu 19 Nov, 16:01 UTC. SecurityOnline, its first report on the story. PHP Nov 2026 Update Fixes 12 Flaws, Incl. RCE CVE-2026-129289.
- Thu 19 Nov, 18:00 UTC. The Hacker News. PHP flaw enables code execution through crafted session files.
- Thu 19 Nov, 22:00 UTC. Dark Reading, its first report on the story. PHP patches seven critical flaws that can enable code execution.
- Fri 20 Nov, 12:00 UTC. SOCRadar, its first report on the story. PHP fixes phpAfterShell flaw that bypassed PHP2Shell patch.
- Fri 20 Nov, 21:00 UTC. Cloudflare, its first report on the story. Cloudflare WAF blocks attacks targeting PHP flaw. This article, 8th of 8.
On 19 November 2026, depthfirst disclosed phpAfterShell (CVE-2026-126714), a vulnerability in PHP’s default file-based session handler that can lead to remote code execution. PHP fixed it the same day in versions 8.2.36, 8.3.37, 8.4.28, 8.5.13, and 8.6.0, with the releases also addressing 16 other vulnerabilities, six of them critical. Cloudflare reports that its web application firewall (WAF) blocks known phpAfterShell attack patterns for all customers, including those on the Free plan.
The protection comes from a PHP remote code execution rule introduced during the php2shell disclosures, which was subsequently updated on 19 November to cover phpAfterShell. This rule appears in the Cloudflare Free Managed Ruleset and the Cloudflare Managed Ruleset, with default actions set to Block on paid plans.
Cloudflare also introduced three new paid-plan rules addressing PHP-FPM (CVE-2026-129289) and two SOAP-extension flaws (CVE-2026-15353 and CVE-2026-129506), all fixed in the same PHP releases. These rules are enabled by default with a Log action to avoid disruption from legitimate traffic; customers are advised to review matches in Security Events and switch to Block where appropriate.
Cloudflare stresses that the WAF is an additional defence layer and not a complete fix—server-side upgrades to PHP and restarts of workers remain essential, and some attack paths may bypass the WAF. There are currently no reported exploits in the wild for phpAfterShell, and none of the 17 related vulnerabilities were yet listed in CISA’s Known Exploited Vulnerabilities catalog.
How the story developed
8 articles from 7 outlets since 19 Nov. Still developing; the latest report was 2 hours ago. This was the 8th report, 1 day after the first.
- Thu 19 Nov, 15:30 UTC. Infosecurity, first report. PHP patches 18 flaws, including seven marked critical.
- Thu 19 Nov, 15:30 UTC. The Hacker News, its first report on the story. PHP fixes eight flaws that could enable remote code execution.
- Thu 19 Nov, 16:01 UTC. SecurityWeek, its first report on the story. PHP fixes seven critical RCE flaws in latest four week patch batch.
- Thu 19 Nov, 16:01 UTC. SecurityOnline, its first report on the story. PHP Nov 2026 Update Fixes 12 Flaws, Incl. RCE CVE-2026-129289.
- Thu 19 Nov, 18:00 UTC. The Hacker News. PHP flaw enables code execution through crafted session files.
- Thu 19 Nov, 22:00 UTC. Dark Reading, its first report on the story. PHP patches seven critical flaws that can enable code execution.
- Fri 20 Nov, 12:00 UTC. SOCRadar, its first report on the story. PHP fixes phpAfterShell flaw that bypassed PHP2Shell patch.
- Fri 20 Nov, 21:00 UTC. Cloudflare, its first report on the story. Cloudflare WAF blocks attacks targeting PHP flaw. This article, 8th of 8.
- CVE not in KEV
- No CVE
- Larger: an outlet’s first report
- Coverage over time
Show all 8 articles as a listHide the list
- Thu 19 NovDay 06
- PHP patches 18 flaws, including seven marked critical15:30 · Infosecurity · First report
- PHP fixes eight flaws that could enable remote code execution15:30 · The Hacker News
- PHP fixes seven critical RCE flaws in latest four week patch batch16:01 · SecurityWeek
Show 3 more from 19 Nov
- PHP Nov 2026 Update Fixes 12 Flaws, Incl. RCE CVE-2026-12928916:01 · SecurityOnline
- PHP flaw enables code execution through crafted session files18:00 · The Hacker News
- PHP patches seven critical flaws that can enable code execution22:00 · Dark Reading
- Fri 20 NovDay 12
- PHP fixes phpAfterShell flaw that bypassed PHP2Shell patch12:00 · SOCRadar
- Cloudflare WAF blocks attacks targeting PHP flaw21:00 · Cloudflare · This article, 8th of 8