Back to all news
Security

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

The Hacker News·November 19, 2026·1 min read
phpAfterShell Explained: How Hackers Could Turn a PHP Session Flaw Into Code Execution

A PHP session flaw, tracked as CVE-2026-126714 and named phpAfterShell, allows attackers to turn a session write into code execution. By cutting off a session write at the right moment, attackers can make PHP return attacker-chosen objects, which, combined with a gadget chain, enable remote code execution. Today's PHP releases fix the flaw.

Read at The Hacker News
Daily crypto arcade

Read the news, then play it.

Chainshorts turns crypto headlines into a daily game. Catch up in 60 words, then jump into daily lucky draws for a shot at the pot.

Open ChainshortsGet it on the Solana dApp Store