đź•’ Created · Updated

The PHP Foundation released critical security updates addressing 17 vulnerabilities across all actively supported branches.

The PHP Foundation has issued a new batch of security updates to address 17 vulnerabilities affecting versions 8.2, 8.3, 8.4, and 8.5. Among these are seven critical-severity flaws that provide pathways for unauthenticated remote code execution (RCE). These issues were released on November 19, following an advance notice regarding defects triggered by non-default configurations or uncommon setups. One prominent flaw, tracked as CVE-2026-126714 and codenamed "phpAfterShell," affects the default file-based session handler. This defect occurs when a PHP worker process is interrupted during an update to session write progress, leaving behind a malformed file that combines old data with new serialized objects. When the application subsequently calls session_start(), it can trigger remote code execution if a suitable gadget chain exists in the app's code. While many of these critical vulnerabilities require specific configurations—such as runtime-mixed session serializers or enabling PHP 8.5 exception arguments—the phpAfterShell flaw is particularly relevant for default installations using file-based sessions. To mitigate this without an immediate update, users can disable session upload progress by setting `session.upload_progress.enabled = 0` in the configuration.

Sources


Paywall sources