Skip to content
NewA calmer, faster ZeroHour
StoryVulnerabilityhigh

PHP patches phpAfterShell session flaw CVE-2026-126714

2 sources · 2 articlesFirst reported Updated ()
What's new

First merged summary.

Merged summary · x-ai/grok-4.7 · rewritten as coverage arrivesSummaries by Vani AI

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.

Key facts
  • 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.
Analyze CVE-2026-126714 with Vani AIImpact, affected versions, exploitation, mitigations and detection

Timeline

dated events in the reporting · oldest first
  1. Oct 21, 2026October PHP2Shell updates omit this session fix · The Hacker News
  2. 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.

Coverage

oldest first · one row per article · UTC
  1. · 18h ago Cyber Security NewsFirst report

    phpAfterShell 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.

  2. · 18h ago The Hacker News

    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
CVEVulnerabilityCVSSEPSSSignalsPublished
CVE-2026-126714
Partial session-file overwrite RCE in PHP
9.2—