Vulnerability Intel
phpAfterShell CVE-2026-126714: A Half-Written PHP Session File Can Become Remote Code Execution
phpAfterShell (CVE-2026-126714, CVSS 4.0 9.2) is a flaw in PHP's default files session handler: an interrupted write leaves a session file that mixes new and old data, and PHP then deserializes it. It affects PHP 8.2 through 8.5, and the October PHP2Shell fixes do not cover it. Fixed in 8.2.36, 8.3.37, 8.4.28 and 8.5.13.