phpAfterShell (CVE-2026-126714) Slips Past PHP2Shell Patch
What happened?
PHP fixed phpAfterShell (CVE-2026-126714), a critical session flaw that slips past the October PHP2Shell fix, on November 19, 2026. The same release fixes six other critical PHP bugs, which makes this a priority update for any PHP estate. What Is CVE-2026-126714? CVE-2026-126714 (CVSS 9.2), known as phpAfterShell, is a critical flaw in PHP’s default file-based session handler that can leave a session file half old and half new, and in some applications turn that corruption into Remote Code Execution (RCE).
Key details
- PHP fixed phpAfterShell (CVE-2026-126714), a critical session flaw that bypasses the October PHP2Shell patch, on November 19, 2026.
- The flaw exists in PHP's default file-based session handler and can corrupt session files, potentially leading to remote code execution.
- The vulnerability occurs when a PHP worker crashes mid-write, leaving a mixed session file with fresh data at the top and stale bytes below.
- The November 19 release includes seven critical fixes rated CVSS 9.2, including phpAfterShell and six other vulnerabilities.
- As of November 19, 2026, no attacks using phpAfterShell have been reported and it is not in CISA's KEV catalog.
What is affected?
- PHP 8.6 pre-release builds
What should defenders look for?
- PHP worker processes killed by out-of-memory killer or hitting hard memory limits during multipart uploads.
- Bursts of multipart POST requests with upload progress fields against the same session ID.
- Session files containing unexpected serialized object strings.
Summarised by SecOraLens from SOCRadar. Always read the original source before acting. How SecOraLens verifies advisories.
What to do next
Brief your board. Brief your team.
Executive risk briefs for governance, technical kill-chains for the SOC — delivered as advisories publish. Critical alerts within 1 hour. No spam, unsubscribe anytime.
