Threat Radar
Aranis
IntelNews
EXCLUSIVE DEEP DIVECríticoScore 90/100
November 23, 2026•2 min read

phpAfterShell (CVE‑2026‑126714) patched in recent PHP releases

Depthfirst disclosed a critical bug named phpAfterShell that can lead to remote code execution by cutting a session‑file write, causing object deserialization. The issue was fixed on November 19 and the patch is included in PHP 8.6.0, 8.5.13, 8.4.28, 8.3.37 and 8.2.36. No active exploitation has been reported.

Aranis IntelNews - Vulnerabilidade phpAfterShell (CVE‑2026‑126714) é corrigida nas versões recentes do PHP

Last week the PHP project released patches for a critical‑severity flaw that reopens the attack path previously known as PHP2Shell. The issue, labeled phpAfterShell and assigned CVE‑2026‑126714, received a CVSS score of 9.2. The fix landed on November 19 and was bundled with updates for PHP 8.6.0, 8.5.13, 8.4.28, 8.3.37 and 8.2.36. So far, security researchers have not observed any real‑world exploitation.

The root cause lies in the way PHP handles session file writes. When the interpreter overwrites a session file it starts writing from the beginning without first truncating the file. If the write operation is halted – for instance by a memory‑limit failure or an external interruption – the file can end up containing fresh session data followed by leftover bytes from the previous session. This mixture can be interpreted as a serialized object, enabling an attacker who can manipulate the session content to trigger object deserialization and achieve remote code execution. Exploitation requires the attacker to influence data stored in the session, cause the write to stop mid‑operation, and later invoke session_start() on the corrupted file.

The most straightforward attack vector involves PHP’s upload‑progress feature, which lets a remote client affect session state during multipart uploads. Similar conditions arise when applications store large, user‑controlled strings in a session or when threaded PHP builds encounter a hard memory‑limit error that aborts the thread while the session is being written. Although the patch added restrictions on which objects may be instantiated during the upload‑progress callback, it did not change the underlying file‑update logic, leaving the vulnerability present until the corrective release.

Organizations running vulnerable PHP versions should immediately upgrade to one of the patched releases and verify that the default session storage mechanism remains enabled. Systems that continue to rely on affected versions face the possibility of a malicious actor gaining full control of the host, installing backdoors, exfiltrating sensitive data, or disrupting services. Even in the absence of reported attacks, the high severity rating and remote‑code‑execution potential make prompt remediation essential for maintaining a secure execution environment.

Why it matters for your organization

Ensure your PHP installations run a patched version or apply the update promptly, and review session settings—particularly upload‑progress—to block user‑controlled data from corrupting session files.

Original source: SecurityWeek

Recommended by Similarity

Related Content

Recommended by topic similarity, tags and risk vectors of this article

Neural Override: Python RAT with Autonomous AI Targets SCADA Systems
Crítico90/100
Palo Alto Unit 42

Neural Override: Python RAT with Autonomous AI Targets SCADA Systems

Unit 42 discovered a Python‑based remote‑access trojan that leverages large‑language models to orchestrate attacks without operator input. The malware talks to a Telegram bot, calls the OpenRouter API and includes an undisclosed component that may target industrial control environments. Its version history reveals a rapid increase in capabilities, suggesting AI‑assisted code generation.

2 min
WhatsApp forces logout of iPhone users on legacy iOS
Crítico90/100
Help Net Security

WhatsApp forces logout of iPhone users on legacy iOS

Meta announced that WhatsApp will automatically sign out accounts on iPhones running outdated iOS versions. The logout is triggered when the device shows evidence of compromise from a web‑based exploit, and re‑access is only possible after updating the OS.

2 min
German public transport ticketing apps offline for nearly a week after suspected cyberattack
Crítico90/100
The Record

German public transport ticketing apps offline for nearly a week after suspected cyberattack

A German tech vendor reported a security incident that disabled several public‑transport ticketing applications for almost a week. Riders in regions such as Berlin, Brandenburg, Bielefeld, Dresden and Mainz were unable to buy, renew or view tickets. The attacker’s identity and any data exposure remain uncertain.

2 min