Summary
- PHP released corrected versions on 19 November, addressing 17 security advisories, including seven critical vulnerabilities.
- Cloudflare expanded its blocking protection for phpAfterShell and introduced new rules for PHP-FPM and SOAP flaws.
- The additional PHP-FPM and SOAP rules log matching requests by default, leaving software updates essential to remediation.
The PHP project has issued security updates addressing 17 vulnerabilities, including seven classified as critical, while Cloudflare has expanded its web application firewall protections against newly disclosed flaws affecting widely deployed web infrastructure.
The coordinated releases became available on 19 November 2026, with corrected versions issued for PHP 8.2, 8.3, 8.4, and 8.5 alongside the first general-availability release of PHP 8.6.
The affected software includes PHP’s default file-based session handling mechanism, the FastCGI Process Manager (PHP-FPM), and functionality within its SOAP extension.
Several of the weaknesses can lead to remote code execution under particular application and configuration conditions. Others create risks involving memory corruption or unintended request processing.
Cloudflare updated its managed security rules on 19 November and published further technical guidance the following day. The changes include expanded protection against a vulnerability known as phpAfterShell, alongside new rules for three other PHP issues.
Session handling flaw extends earlier concerns
One of the critical vulnerabilities is CVE-2026-126714, named phpAfterShell by researchers at security company depthfirst.
It affects PHP’s default file-based session handler, which applications can use to preserve information between successive requests. Session storage commonly supports authentication and other stateful application functions.
Under specific conditions, an interrupted write operation can leave a session file containing a mixture of earlier and newer information. When that information is subsequently interpreted, the resulting data can differ from what the application expected to store.
The vulnerability can permit remote code execution where the attacker can influence relevant session data and the necessary application conditions are present.
The weakness is related to, but distinct from, vulnerabilities disclosed in October under the php2shell name. Those earlier problems also involved the processing of attacker-controlled information within PHP environments.
Cloudflare had already introduced rules intended to detect the earlier attack patterns. Its November update extends that existing protection to recognise requests associated with phpAfterShell.
The company says the relevant rule is enabled by default with a blocking action for customers using its Free Managed Ruleset or the applicable paid Managed Ruleset.
However, the presence of a vulnerable PHP runtime does not establish that every application using it can be exploited remotely. The attack requires particular session-handling conditions, and the security consequences depend on the application’s design and deployment.
New rules have different enforcement settings
Three additional Cloudflare rules cover CVE-2026-129289 in PHP-FPM and two vulnerabilities affecting PHP’s SOAP functionality, CVE-2026-15353 and CVE-2026-129506.
The PHP-FPM issue involves request handling between a web server and the PHP processing environment. Under relevant conditions, an attacker may be able to manipulate how requests are interpreted and cause unintended execution.
The SOAP vulnerabilities concern functionality used by applications exchanging structured information through web service interfaces.
Cloudflare has made the additional rules available through its paid Managed Ruleset. Unlike the phpAfterShell rule, they are configured to log matching requests by default.
The company chose that initial action because some legitimate traffic could resemble the patterns being detected. Automatically blocking all matching requests might therefore interfere with applications that use the affected functionality.
Administrators can review the recorded matches and decide whether to enable blocking in their environments.
The distinction is operationally important. A rule that records suspicious traffic provides evidence for investigation but does not necessarily stop an attempted attack.
Consequently, customers should not assume that every newly published Cloudflare rule is automatically preventing exploitation simply because it appears in the managed ruleset.
Runtime updates remain the primary correction
The PHP project released versions 8.2.36, 8.3.37, 8.4.28, 8.5.13, and 8.6.0 on 19 November.
Those releases address the vulnerabilities within the language runtime, rather than relying on a security service to recognise suspicious network requests.
Cloudflare’s protections can reduce exposure to attack patterns reaching applications through its infrastructure. However, a web application firewall cannot inspect every internal application operation or prevent activity that reaches vulnerable software through an unmonitored route.
Some affected services may also be accessible through private networks, alternative hostnames, or connections that do not pass through the same filtering controls.
Organisations therefore need to establish which PHP versions are running across their applications, including versions supplied by hosting providers, incorporated into container images, or maintained through Linux distribution packages.
That assessment can differ from examining the version of a content management system or application framework alone. Updating an application does not necessarily replace the PHP interpreter it uses.
Similarly, a hosting provider may backport a security fix to a distribution-specific package without changing its upstream version identifier to match the latest PHP release.
Applications and long-running processing services may also require restarts after corrected packages are installed, depending on their deployment arrangements.
The security updates have broad relevance because PHP remains embedded in commercial websites, business applications, content management systems, and hosting platforms operated by organisations across Europe and internationally.
Shared hosting and managed application environments introduce additional dependencies, with customers sometimes relying on the provider to deploy and validate runtime changes.
As of the 19 November disclosure, the vulnerabilities were not listed in CISA’s Known Exploited Vulnerabilities catalogue, and the sources reviewed by Cloudflare had not established exploitation in the wild.
Cloudflare’s emergency protection and PHP’s new releases are available, with the underlying software updates providing the definitive correction for affected runtimes.





