Back to Feed
VulnerabilitiesNov 19, 2026

New phpAfterShell Attack Bypasses PHP2Shell Fix to Enable Remote Code Execution

phpAfterShell bypasses PHP2Shell patches to enable unauthenticated remote code execution via CVE-2026-126714.

A new PHP vulnerability tracked as CVE-2026-126714 (CVSS 9.2) enables unauthenticated remote code execution even on systems patched for the earlier PHP2Shell flaw. The flaw exploits PHP's default file-based session handler, where interrupted writes can leave corrupted session files that are later accepted as valid, allowing object deserialization and triggering a memory corruption bug in a built-in PHP class. Fixed versions are PHP 8.2.36, 8.3.37, 8.4.28, and 8.5.13; mitigation includes disabling session.upload_progress.enabled or upgrading immediately.

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

Vendor Watch

Run PHP Group?

Get an email when a new story names PHP Group, 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

CVE-2026-126714 demonstrates how a seemingly complete fix can leave residual attack surface: attackers found a new path through PHP's default file-based session handler that the PHP2Shell patch did not address, achieving unauthenticated remote code execution via corrupted session files and object deserialization. The root issue is a combination of insecure default configuration (session.upload_progress.enabled on by default) and an incomplete prior remediation, compounding risk for organizations that believed they were protected. With a CVSS score of 9.2, this is a critical-severity flaw affecting a widely deployed runtime, meaning delayed patching exposes a vast attack surface. This incident reinforces that patching one vulnerability does not guarantee immunity from related attack chains, and that secure defaults must be validated independently of patch status.

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)PHP Group (vendor)PHP2Shell (campaign)depthfirst (vendor)