Skip to main content
Report · SecurityWeekAbout CVE-2026-126714Published

phpAfterShell Vulnerability Revives PHP2Shell’s Attack Path

Source SecurityWeek

0
Compare
Authoritative record:CVE-2026-126714· Critical 9.2

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

CVSS 4.0 base score
9.2Critical
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 19 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
PHP GroupPHPAffected
  • >=8.5.0 <8.5.13
Fixed in
  • 8.5.13
PHP GroupPHPAffected
  • >=8.4.0 <8.4.28
Fixed in
  • 8.4.28
PHP GroupPHPAffected
  • >=8.3.0 <8.3.37
Fixed in
  • 8.3.37
PHP GroupPHPAffected
  • <8.2.36
Fixed in
  • 8.2.36

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.

References

Community reviews

Loading reviews…