Skip to content
NewA calmer, faster ZeroHour

PHP patches phpAfterShell RCE in session file writes (CVE-2026-126714)

Original title: phpAfterShell Vulnerability Revives PHP2Shell’s Attack Path

SecurityWeekby Ionut Arghire ()2 min read
Part of a story covered by 5 sourcesPHP patches phpAfterShell session flaw outside PHP2Shell fixMerged summary & timeline
AI summary · x-ai/grok-4.7Summaries by Vani AI

Depthfirst says interrupting a session write can splice old data and trigger object deserialization; no in-the-wild reports.

PHP patched CVE-2026-126714, dubbed phpAfterShell, on November 19 with a CVSS score of 9.2. Depthfirst says an attacker who can control data written to a session file and interrupt the write can leave mixed old and new session content, later treated as legitimate state and deserialized into remote code execution. PHP notes upload-progress tracking and large user-controlled session strings as routes, plus hard memory-limit failures in threaded builds. Fixes are in PHP 8.6.0, 8.5.13, 8.4.28, 8.3.37, and 8.2.36. Depthfirst says there appear to be no reports of in-the-wild exploitation.

Unconfirmed: Depthfirst says there appear to be no reports of in-the-wild exploitation.

Key facts
  • CVE-2026-126714 has a CVSS score of 9.2 and was patched on November 19.
  • Default session storage, a mid-write stop, and a later session_start() are required.
  • Upload progress tracking is described as the easiest exploitation route.
  • PHP says the same file-update issue can arise with large user-controlled session strings.
Security assessment · AI, from the articleNo known exploitation

Impact: Remote code execution via session object deserialization

ProductAffectedFixed in
PHPversions before 8.6.0, 8.5.13, 8.4.28, 8.3.37, and 8.2.368.6.0, 8.5.13, 8.4.28, 8.3.37, 8.2.36
What to do
  1. 1.Update PHP to 8.6.0, 8.5.13, 8.4.28, 8.3.37, or 8.2.36.
Analyze CVE-2026-126714 with Vani AIImpact, affected versions, exploitation, mitigations and detection

Vulnerabilities mentioned

All
CVEVulnerabilityCVSSEPSSSignalsPublished
CVE-2026-126714
Partial session-file overwrite RCE in PHP
9.213%PoC

From the original article

2 min read at securityweek.com

If a session overwrite operation is interrupted, an attacker who controls the fresh data could trigger data deserialization and RCE. The post phpAfterShell Vulnerability Revives PHP2Shell’s Attack Path appeared first on SecurityWeek.

SecurityWeek

By Ionut Arghire · securityweek.com

Read the full article at SecurityWeek

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.