LOWVulnerability
Global

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

·Source: The Hacker News

Updated:

Executive Summary

PHP's default file-based session storage can be made to return objects an attacker chose, by cutting off a session write at the right moment. When combined with a second weakness, such as a suitable gadget chain in the app, those objects can allow the attacker to run code on the server. Today's PHP releases fix the flaw, called phpAfterShell. The flaw is tracked as CVE-2026-126714 and rated

Analysis

PHP's default file-based session storage can be made to return objects an attacker chose, by cutting off a session write at the right moment. When combined with a second weakness, such as a suitable gadget chain in the app, those objects can allow the attacker to run code on the server. Today's PHP releases fix the flaw, called phpAfterShell. The flaw is tracked as CVE-2026-126714 and rated

Indicators of Compromise (1)

CVE (1)
CVE-2026-126714
Source Attribution

Originally published by The Hacker News on Nov 19, 2026.

Related Threats