phpAfterShell Vulnerability Revives PHP2Shell’s Attack Path
Source SecurityWeek
Not known to be exploited · CVSS 9.2 Critical · fixed in 8.5.13 : patch PHP as a priority.
Data as of 23 Nov 2026, 14:08 UTC
- Patch
- Available – fixed in 8.5.13, 8.4.28, 8.3.37 +1
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 19 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 22 Nov 2026.
What to do
Upgrade PHP to 8.5.13, 8.4.28, 8.3.37 or 8.2.36.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PHP GroupPHP | Affected
| Fixed in
|
| PHP GroupPHP | Affected
| Fixed in
|
| PHP GroupPHP | Affected
| Fixed in
|
| PHP GroupPHP | Affected
| Fixed in
|
AI-suggested
Apply the official PHP patches released on November 19, 2026, which address this vulnerability in versions 8.6.0, 8.5.13, 8.4.28, 8.3.37, and 8.2.36. Upgrading to these or later versions fully mitigates the risk. No additional mitigation steps are indicated by the vendor advisory.
Description
The phpAfterShell vulnerability (CVE-2026-126714) is a critical remote code execution flaw in PHP related to session file handling. It occurs when a session overwrite operation is interrupted, leaving mixed old and new session data that can be manipulated by an attacker to trigger object deserialization and execute arbitrary code. This vulnerability is similar to the earlier PHP2Shell flaws and affects PHP versions prior to the patched releases. Exploitation requires control over session data, interruption of the session write process, and a deserialization-to-code-execution path. PHP has released patches addressing this issue in versions 8.6.0, 8.5.13, 8.4.28, 8.3.37, and 8.2.36. No in-the-wild exploitation has been reported so far.