logo

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

ID: b5ed2752-bfc6-5476-96fd-5dc55a40371d

STIX ID: report--b5ed2752-bfc6-5476-96fd-5dc55a40371d

Feed Name: The Hacker News

Threat Score
75/100

Date Published: 2026-11-19

Date Updated: 2026-11-20

Author: [email protected] (The Hacker News)

...
...

**Executive summary:** PHP maintainers and researcher Depthfirst disclosed a high-severity vulnerability (CVE-2026-126714, "phpAfterShell") in PHP's default file-based session handler that allows an attacker to induce mixed session files by cutting off session writes, enabling attacker-controlled objects to be deserialized and potentially leading to remote code execution when combined with gadget chains; fixed releases for supported PHP branches are published and mitigations include installing the updates, disabling upload progress (session.upload_progress.enabled = 0) as a partial workaround, rebuilding deployments, or moving sessions to an atomic store.

Your team is not currently subscribed to this feed. You must subscribe to it in order to see this post.