AWS releases WAF rules to buy time against two critical unauthenticated PHP RCE bugs
On October 21, 2026, PHP maintainers pushed out urgent patches for two critical flaws, nicknamed PHP2Shell together, that let an attacker run code on a server without logging in. Both carry a CVSS v4.0 score of 9.2 and sit in how PHP processes multipart file-upload requests before application code even runs. Patched versions are PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35, and AWS has since published AWS WAFv2 rule templates plus host-level settings that shrink the attack surface for teams that need time to roll out the upgrade. AWS is clear that the firewall rules only help at the edge — they cannot fully close one of the two bugs, so patching remains mandatory.