Continuously discover and audit all your external PHP-powered endpoints, WordPress clusters, Laravel platforms, and API gateways for the November 2026 critical vulnerabilities before adversaries trigger remote code execution.
How session serialization errors, file TOCTOU race conditions, and FastCGI multiplexing flaws enable remote compromise.
When an application or server configuration mixes differing session.serialize_handler formats (e.g. php vs php_binary or php_serialize) in conjunction with session.upload_progress, input validation boundaries collapse. Unauthenticated attackers can inject arbitrary serialized objects into active session files, leading to remote code execution.
Dubbed phpAfterShell, this flaw resides in PHP's default file-based session handler. Due to a Time-of-Check Time-of-Use race condition during session persistence, prematurely terminating TCP connections or sending concurrent requests causes the storage engine to return partially written files, deserializing attacker-chosen object chains.
CVE-2026-129289 exploits FastCGI connection pooling within PHP-FPM, allowing adversaries to smuggle environment variables and request bodies to adjacent workers. Simultaneously, multiple Use-After-Free bugs (CVE-2026-129182/481/496) allow heap corruption during request termination.
Verify your PHP branch and minimum required patch version.
| PHP Branch | Vulnerable Versions | Patched Version | Status |
|---|---|---|---|
| PHP 8.2 | 8.2.0 through 8.2.35 | 8.2.36+ | Critical (CVSS 9.2) |
| PHP 8.3 | 8.3.0 through 8.3.36 | 8.3.37+ | Critical (CVSS 9.2) |
| PHP 8.4 | 8.4.0 through 8.4.27 | 8.4.28+ | Critical (CVSS 9.2) |
| PHP 8.5 | 8.5.0 through 8.5.12 | 8.5.13+ | Critical (CVSS 9.2) |
| PHP 8.6 | 8.6.0+ (Shipped with fixes) | 8.6.0+ | Patched |
| PHP 8.1 & Older (EOL) | All versions (8.1.x, 8.0.x, 7.x) | None (End of Life) | Permanently Vulnerable |
Everything you need to know about the November 2026 PHP security update.
session.upload_progress) while differing serialization formats are used across modules or vhosts, arbitrary serialized objects can be forged in session storage, yielding unauthenticated RCE.
systemctl restart php-fpm (or systemctl restart php8.x-fpm).
session.upload_progress.enabled = Off in php.ini.session.serialize_handler = php_serialize.expose_php = Off.
Don't leave your web perimeter exposed to phpAfterShell and FastCGI smuggling. Scan and protect your PHP applications with bspeka continuous attack surface management.
Start 14-Day Free Audit