
phpAfterShell: Two Critical PHP Vulnerabilities Enable Unauthenticated RCE on Web Servers
On November 19, 2026, the PHP development team disclosed two critical remote code execution vulnerabilities—CVE-2026-115560 and CVE-2026-126714—affecting PHP versions 8.2.0 through 8.5.12 across all supported branches. CVE-2026-115560 exploits a session serializer mismatch via PHP's upload progress feature, allowing an unauthenticated attacker to inject a malicious delimiter into a session key and trigger object deserialization leading to RCE. CVE-2026-126714 abuses a race condition in PHP's default files session handler, where a partially overwritten session file causes previously innocuous string bytes to be interpreted as serialized objects, also resulting in RCE. Patches are available in PHP 8.2.36, 8.3.37, 8.4.28, and 8.5.13. These vulnerabilities follow a pattern of PHP session-handling flaws—sometimes called the 'PHP2Shell' family—that have recurrently enabled unauthenticated RCE on web infrastructure. With PHP powering an estimated 77% of server-side web deployments, the attack surface is vast. The network-accessible, no-credentials-required attack vector of both CVEs elevates urgency for organizations running unpatched PHP stacks, particularly those with internet-facing PHP-FPM workloads in multi-cloud or hybrid environments.
Kill Chain










