Skip to content

Cloudflare WAF Updates to Protect Against Critical PHP Vulnerabilities

Cloudflare's WAF now blocks phpAfterShell and other critical PHP flaws, enhancing security for Free and paid plan customers.

Sources in the coveragePerformance and quality statements from a vendor are claims unless the coverage cites independent measurements.

Evidence & verification 3 statements

Specifications, source statements and editorial judgement have different scopes. A citation is not an independent performance test.

Vulnerability ScoreSource statement

9.2 out of 10

blog.cloudflare.com ↗Source observation date not recorded.
PHP Versions FixedSource statement

8.2.36, 8.3.37, 8.4.28, 8.5.13, and 8.6.0

blog.cloudflare.com ↗Source observation date not recorded.
WAF Rule ActionSource statement

Block

blog.cloudflare.com ↗Source observation date not recorded.

Cloudflare announced updates to their Web Application Firewall (WAF) to protect against the phpAfterShell vulnerability and other critical PHP flaws. The WAF blocks known attack patterns for phpAfterShell and includes new rules for additional PHP vulnerabilities. Protection is available for both Free and paid plan customers.

Key facts

Fact Detail The source says
Vulnerability Score 9.2 out of 10 “Under the Common Vulnerability Scoring System (CVSS) 4.0, it scores 9.2 out of 10 (Critical)”
PHP Versions Fixed 8.2.36, 8.3.37, 8.4.28, 8.5.13, and 8.6.0 “The PHP project fixed it the same day in versions 8.2.36, 8.3.37, 8.4.28, 8.5.13, and 8.6.0.”
WAF Rule Action Block “The rule is part of both the Cloudflare Free Managed Ruleset and the Cloudflare Managed Ruleset, is enabled by default, and its default…”

What happened

Cloudflare has updated its Web Application Firewall (WAF) to protect against the phpAfterShell vulnerability (CVE-2026-126714) and other critical PHP flaws. The security research company depthfirst disclosed phpAfterShell on November 19, 2026, which scores 9.2 out of 10 on the Common Vulnerability Scoring System (CVSS) 4.0. Cloudflare's WAF blocks known phpAfterShell attack patterns, including for customers on the Free plan. The protection comes from a PHP remote code execution rule deployed in October 2026 for the php2shell vulnerabilities, updated on November 19 to cover phpAfterShell. This rule is part of both the Cloudflare Free Managed Ruleset and the Cloudflare Managed Ruleset, enabled by default with a Block action. Additionally, Cloudflare added three new rules to the Managed Ruleset for paid plans: one for a request smuggling flaw in PHP-FPM (CVE-2026-129289) and two for flaws in PHP's SOAP extension (CVE-2026-15353 and CVE-2026-129506). These rules are enabled by default with the Log action due to potential false positives in legitimate traffic.

What to weigh

  • The WAF is an additional layer of defense, not a replacement for the patch.
  • Customers can review matching requests in Security Events and change the action to Block.

FAQ

Is the WAF protection available for Free plan customers?

Yes, the WAF protection for phpAfterShell is available for both Free and paid plan customers.

What is the default action for the new WAF rules?

The default action for the new WAF rules is Block for the Free and Managed Ruleset, and Log for the paid plans.

How can customers track WAF rule changes?

Customers can track rule changes in the WAF changelog and follow how the vulnerabilities develop in the dedicated Cloudflare Zero Wire briefing.


Source: Cloudflare

Keep following technology

Continue from here.

Explore more coverage or subscribe to Fathom Layer updates.

Back to the news desk ↗

Occasional verified technology updates. Unsubscribe anytime. See our privacy policy.