phpAfterShell CVE-2026-126714: PHP RCE Bypasses PHP2Shell Fix
PHP RCE vulnerability phpAfterShell (CVE-2026-126714) bypasses PHP2Shell fixes.
PHP has patched phpAfterShell (CVE-2026-126714), a critical flaw in its default file-based session handler that can lead to unauthenticated remote code execution. The vulnerability, rated 9.2 by CVSS v4.0, affects PHP 8.2 through 8.5 and impacts builds that previously received fixes for PHP2Shell. The flaw involves a non-atomic file write during session upload progress tracking, which can result in a spliced session file that, when deserialized, allows for attacker-influenced values and serialized objects.
AI summary of the linked source. Not reviewed by an editor. How this works
Run Depthfirst?
Get an email when a new story names Depthfirst, 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 lessonCVE-2026-126714 (phpAfterShell) exposes a race condition in PHP's default file-based session handler, where a non-atomic write during session upload progress tracking can produce a spliced session file. When this malformed file is deserialized, an unauthenticated attacker can inject arbitrary serialized objects and achieve remote code execution — scoring a critical 9.2 on CVSS v4.0. What makes this especially dangerous is that it bypasses the previously issued PHP2Shell patch, meaning organizations that believed they were protected are still exposed. This underscores that incomplete or bypassed fixes must be treated as new, unresolved vulnerabilities requiring immediate re-patching and re-validation.
What helps against this
How we list vendors- Vulnerability scanning and prioritisation
You know which systems are vulnerable, and which ones to fix first.
- Automated patch management
Known holes get closed in days, not months.
- Endpoint detection and response (EDR and XDR)
Malware and hands-on-keyboard attackers on laptops and servers get spotted and stopped.
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
- cve: CVE-2026-109619
- cve: CVE-2026-109618