The Hacker News[email protected] (The Hacker News)phpAfterShell Explained: How Hackers Could Turn a PHP Session Flaw Into Code Execution
Publication date is supplied by the source. Prepared by Cybermonit · Content updated:
AI summary
Session data in PHP's default file storage can return an object chosen by an attacker if a write is cut off at the right moment. Depthfirst reported the flaw, CVE-2026-126714, which PHP's maintainers rate 9.2 on CVSS 4.0. Code execution still requires a suitable gadget chain in the app or, in the researchers' tests, a second bug in a PHP built-in class, whose details have not been disclosed. According to the maintainers, the recommended fix is versions 8.2.36, 8.3.37, 8.4.28, 8.5.13 and 8.6.0, while switching off upload progress is only a partial workaround. The October 21 PHP releases do not contain this fix, and neither the maintainers nor Depthfirst report attacks using it.
CTI references
Identifiers and catalog names mentioned in the source. A product mention does not establish that an installation is vulnerable.