phpAfterShell Explained: How Hackers Could Turn a PHP Session Flaw Into Code Execution
A flaw dubbed phpAfterShell in PHP's default file-based session storage lets an attacker make sessions return objects of their choosing by interrupting a session write at the right moment. Combined with a second weakness, such as a suitable gadget chain in an application, those objects could let the attacker execute code on the server. The vulnerability is tracked as CVE-2026-126714, and PHP releases issued on the day of disclosure fix it.
AI-written summary, checked against the cited sources. How summaries work