securityweek.com·23 november 2026
phpAfterShell Vulnerability Revives PHP2Shell’s Attack Path

CVE-2026-126714
Depthfirst
exploitation
object deserialization
PHP
PHP2Shell
phpAfterShell
PHP versions
remote code execution
security flaw
session files
session handling
software patch
vulnerability
securityweek.com
PHP patched a critical-severity vulnerability called phpAfterShell (CVE-2026-126714, CVSS 9.2) on November 19. The flaw could allow remote code execution by manipulating session files. It is related to the PHP2Shell vulnerability and affects PHP versions 8.6.0, 8.5.13, 8.4.28, 8.3.37, and 8.2.36. No in-the-wild exploits have been reported. The issue arises from PHP's session file handling, where interrupted writes can leave mixed content, enabling object deserialization.