gbhackers.com·20 november 2026

New phpAfterShell Attack Lets Hackers Achieve Remote Code Execution on PHP Servers

Image for the article: New phpAfterShell Attack Lets Hackers Achieve Remote Code Execution on PHP Servers
Image via gbhackers.com

A critical remote code execution flaw tracked as CVE-2026-126714, known as phpAfterShell, affects PHP's default file-based session handler and carries a CVSS score of 9.2. Researcher Yuhang Wu from Depthfirst disclosed the vulnerability on November 19, 2026, prompting PHP maintainers to release emergency fixes the same day. The attack manipulates non-atomic session file updates during interrupted multipart parsing to inject and execute serialized objects. Administrators are urged to upgrade to patched versions or disable session.upload_progress.enabled to mitigate the risk.