Cloudflare WAF adds phpAfterShell and Java4Shell detection rules
Article Content
- •Cloudflare WAF blocks known phpAfterShell attacks by default on all plans, including Free.
- •Three new PHP-FPM and SOAP rules on paid plans log matches rather than block them by default.
- •Six Java4Shell detection rules on paid plans also log by default and require action to enable blocking.
- •These WAF rules are described as a stopgap while the OpenJDK flaw is patched.
- •The articles do not provide CVE identifiers or confirmed exploitation details.
Cloudflare has expanded its WAF's PHP2Shell detection to block known attacks against phpAfterShell, a critical PHP remote code execution flaw, with the updated rule covering all plans including Free. Three additional rules for PHP-FPM and SOAP flaws are available on paid plans but log matches by default rather than block them. Separately, on 2026-11-19, Cloudflare added six detection rules for Java4Shell on paid plans, which likewise log matches by default. The articles state these rules serve as an additional defense while organizations patch the OpenJDK vulnerability that CISA has urged them to fix. The articles do not provide CVE identifiers, exploitation status, or details of attack volume for either flaw. Blocking for the Java4Shell rules requires administrators to change the default log-only setting.
Ask AI about this cluster
Answers cite the sources they use
Timeline
More articles in this cluster (2)
Following this threat?
Track PHPAfterShell in your own feed — you're alerted when they show up in new reporting, leak sites or exploitation.
Free account · no card needed
Common questions
Am I protected against phpAfterShell if I use Cloudflare?
Are Java4Shell attacks blocked by default?
Does this replace patching?
Continue Reading
PHP Patches Critical RCE Vulnerabilities Amid Ongoing Exploitation Risks On November 19, 2026, PHP released security updates addressing seven critical remote code execution (RCE) vulnerabilities, including CVE-2026-115560, CVE-2026-126714, CVE-2026-129289, CVE-2026-129474, CVE-2026-129182, and CVE-2026-129481, all rated 9.2 on the CVSS scale. These vulnerabilities affect PHP versions 8.2…
PHP Session File Flaw phpAfterShell (CVE-2026-126714) Enables Unauthenticated RCE On 19 November 2026 the PHP project released coordinated builds for PHP 8.2 through 8.6 closing 17 security advisories, seven rated critical at CVSS v4.0 9.2. The headline flaw, phpAfterShell (CVE-2026-126714), lies in PHP's default file-based session handler, where a partially overwritten session file can be spliced…