< BACK TO NEWS
importantSYS.SOURCE: The Hacker News• 2026-11-19T22:29:56+05:30

Exploiting PHP Session Flaws via phpAfterShell for Code Execution

A vulnerability in PHP's default file-based session storage allows attackers to manipulate session data by truncating writes, enabling object injection. When paired with a gadget chain, this can lead to remote code execution, though the flaw (CVE-2026-126714) has been addressed in recent releases.

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

Read original article

*** END OF TRANSMISSION ***