Short answer: PHP users should update to patched versions. Avoid storing untrusted data in sessions, disable session upload progress if not needed.

TL;DR

  • PHP 8.6.0, 8.5.13, 8.4.28, 8.3.37, 8.2.36 patched the issue.
  • Interrupted session writes can lead to remote code execution.
  • Storing untrusted data in sessions can make exploitation easier.
  • Disable session upload progress if not required.
  • Use an atomic session storage backend for better security.

What is CVE-2026-126714?

PHPAfterShell is a critical vulnerability where session files can be partially overwritten, leading to remote code execution if an attacker can influence session data and interrupt the write process. To mitigate, update PHP and manage session data carefully.

RCE (remote code execution)
An attacker can run their own commands on someone else's computer or server over the internet.
Vulnerability
A mistake or weakness in software that an attacker can misuse.
PHP
A programming language used to build many websites, including WordPress sites.

Key facts

Reported bySecurityWeek
Date reported23 Nov 2026
CVECVE-2026-126714
CVSS9.2 CRITICAL 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
WeaknessCWE-367 (see NVD), CWE-662 (see NVD)
CISA KEVNot listed (no confirmed exploitation in KEV)
Vendor advisorygithub.com
Affected productPHP2Shell
Fixed versions8.2.36, 8.3. (CVE-2026-126714, per NVD)
Published in NVD2026-11-19 (CVE-2026-126714)

How it works

Attack flow: Attacker reaches the PHP2Shell over the internet / network then No login or account is needed then Sends crafted input that triggers the flaw then Impact: data can be read, data or code can be changed, service crashes or stops
Built from the official CVSS vectors of CVE-2026-126714 (NVD)

A bug in PHP allows attackers to mix old and new session data. If the session write is interrupted, attackers can inject their own code. Applications with certain setups can then execute this code.

  1. Attacker reaches the PHP2Shell over the internet / network
  2. No login or account is needed
  3. Sends crafted input that triggers the flaw
  4. Impact: data can be read, data or code can be changed, service crashes or stops

Skillmate analyst mapping (our judgement, not from the vendor):

  • T1190 Exploit Public-Facing Application

Timeline

DateEventSource
2026-11-19CVE-2026-126714 published in NVDNVD
2026-11-23Reported by SecurityWeekSecurityWeek
2026-12-03This Skillmate explainer publishedSkillmate

How to fix it

  1. Update PHP2Shell now. NVD lists the fixed versions as 8.2.36, 8.3..
  2. Read the vendor advisory for CVE-2026-126714 and upgrade to the fixed release it lists.
  3. If you cannot patch today, limit who can reach the affected service and watch its logs.

What is confirmed and what is not

ConfirmedNot confirmed yet
CVE-2026-126714 is a real NVD record scored 9.2 CRITICALCISA KEV does not list CVE-2026-126714 as exploited in the wild
NVD lists fixed versions for CVE-2026-126714: 8.2.36, 8.3.
Reported by SecurityWeek
Reported by github.com

Why it matters

This flaw could lead to remote code execution, compromising systems and data. Companies and users need to update PHP to protect against attacks.

Learn the skills behind this story

Want to understand attacks like this and defend against them? Join Skillmate cybersecurity training or practise hands-on in Skillmate Labs.

FAQ

What is session upload progress?

Session upload progress is a feature that allows clients to influence stored session data through multipart uploads.

What does CVSS 9.2 mean?

CVSS 9.2 indicates a critical severity level, suggesting a high risk of exploitation leading to remote code execution.

Can this affect any PHP version?

This vulnerability affects PHP versions before 8.2.36, 8.3. before 8.3.37, 8.4. before 8.4.28, and 8.5. before 8.5.13.

Sources

How we wrote this: facts come from the sources above, NVD and CISA KEV. An on-prem AI model drafted the plain-English parts and every sentence was checked against the sources; unsupported sentences were removed. MITRE mapping is our own judgement.

Watch today's video brief: https://youtu.be/FBRgBgrcu-I