thehackernews.com·19 november 2026

phpAfterShell Explained: How Hackers Could Turn a PHP Session Flaw Into Code Execution

Image for the article: phpAfterShell Explained: How Hackers Could Turn a PHP Session Flaw Into Code Execution
Image via thehackernews.com

PHP has released updates to fix a critical flaw called phpAfterShell, tracked as CVE-2026-126714, which allows attackers to run code on the server under specific conditions. The flaw affects default file-based session storage and is rated 9.2 on the CVSS 4.0 scale. Servers updated on October 21 remain vulnerable until they install today's releases. PHP 8.6.0 includes the fix, and users are advised to update immediately or disable upload progress as a temporary measure.