Back to Feed
VulnerabilitiesNov 23, 2026

phpAfterShell Vulnerability Revives PHP2Shell’s Attack Path

PHP patched phpAfterShell vulnerability (CVE-2026-126714) enabling RCE via session file manipulation.

PHP has released patches for the critical-severity phpAfterShell vulnerability (CVE-2026-126714), which has a CVSS score of 9.2. The flaw allows attackers to achieve remote code execution by controlling session file data and interrupting the write operation, leading to object deserialization. This vulnerability is related to the earlier PHP2Shell flaws and can occur when applications store large user-controlled strings in sessions or if a PHP process terminates mid-write.

AI summary of the linked source. Not reviewed by an editor. How this works

Vendor Watch

Run PHP?

Get an email when a new story names PHP, usually within the hour.

Free. Your list stays private and never appears in a subject line. One click stops it. How Vendor Watch worksPrivacy

The lesson from this incident

Full lesson

The phpAfterShell vulnerability (CVE-2026-126714, CVSS 9.2) exposes a dangerous object deserialization flaw triggered when an attacker controls session file data and a PHP process is interrupted mid-write, enabling remote code execution. This flaw revives a known attack pattern from PHP2Shell, illustrating how unpatched or architecturally similar vulnerabilities can resurface with new CVE identifiers. Applications that store large, user-controlled strings in sessions are particularly at risk, widening the attack surface significantly. The severity underscores the critical importance of applying vendor patches promptly and auditing how session data is handled in PHP applications.

What helps against this

How we list vendors

Indicators of Compromise

Addresses and file hashes are copied from the publisher's page by pattern matching. Names are picked by AI. On stories from before 17 November 2026, some addresses and hashes were picked by AI too. Not reviewed by an editor. How this works

  • cve: CVE-2026-126714

Entities

PHP (product)PHP2Shell (product)