PHP patches phpAfterShell session flaw CVE-2026-126714
First merged summary.
PHP has patched CVE-2026-126714, a file-session flaw that can lead to code execution, with no attacks reported.
Depthfirst disclosed phpAfterShell on November 19 as CVE-2026-126714, a flaw in PHP’s default file-based session handler scored 9.2. An interrupted upload-progress write can leave mixed serialized data that a later session_start() accepts, including attacker-chosen objects, outside the October 21 PHP2Shell updates. Cyber Security News reports researchers paired that behavior with a memory-corruption bug in a built-in class to run code as the PHP worker; The Hacker News describes code execution via a suitable gadget chain. Redis and database session storage are not affected, and neither outlet reports in-the-wild attacks. Fixed releases are 8.2.36, 8.3.37, 8.4.28, 8.5.13, and 8.6.0.
- CVE-2026-126714 has a CVSS v4.0 score of 9.2.
- Affected builds are PHP 8.2–8.5 before 8.2.36, 8.3.37, 8.4.28, and 8.5.13.
- PHP 8.6.0, released November 19, also includes the fix.
- Setting session.upload_progress.enabled to 0 blocks only the upload path.
- PHP 8.0 and 8.1 are unsupported and should be upgraded.
- CISA’s KEV lists earlier PHP2Shell flaws, not phpAfterShell.
Timeline
dated events in the reporting · oldest first- Oct 21, 2026October PHP2Shell updates omit this session fix · The Hacker News
- Nov 19, 2026Depthfirst discloses phpAfterShell as CVE-2026-126714 · Cyber Security News
What each outlet adds
beyond the shared facts- Cyber Security NewsMemory-corruption path, unsupported 8.0/8.1, and KEV scope.
- The Hacker NewsPHP 8.6.0 fixed; session emptied; upload progress off by default.
- CVEs
- CVE-2026-126714
- Products
- PHP
- Organizations
- Depthfirstdepthfirst
Coverage
oldest first · one row per article · UTCphpAfterShell bypasses October PHP2Shell fix for unauthenticated RCE
CVE-2026-126714 scores 9.2; fixes are PHP 8.2.36, 8.3.37, 8.4.28, and 8.5.13, with no in-the-wild evidence.
PHP session flaw phpAfterShell can lead to code execution
Fixed releases are 8.2.36, 8.3.37, 8.4.28 and 8.5.13; the October 21 updates do not include this fix.
Vulnerabilities in this story
All| CVE | Vulnerability | CVSS | EPSS | Signals | Published |
|---|---|---|---|---|---|
| CVE-2026-126714 | Partial session-file overwrite RCE in PHP | 9.2 | — |