Vulnerability report

No Exploitation Yet

CVE-2026-126714

Partially overwritten session files can lead to remote code execution

PHP Group / PHP · affected before 8.2.36

Severity
CVSS 9.2 · Critical
Confidence
—
Exploit status
—
EPSS
—
First observed
—
Last observed
—

Decision summary

What security teams need to know first

Direct answers before the deeper technical record.

What it is

CVE-2026-126714 is an unauthenticated Partially overwritten session files can lead to remote code execution affecting PHP Group PHP.

Have exploitation attempts been observed?

No. Previdian has not recorded exploitation attempts for this vulnerability yet.

Who is affected?

PHP Group / PHP, including affected before 8.2.36, affected before 8.3.37, and affected before 8.4.28.

What should we do?

Track for updates. Assess relevance to your asset inventory and enrichment workflows.

Overview

Partially overwritten session files can lead to remote code execution

Partially overwritten session files can lead to remote code execution.

The files session save handler, which is the default, writes updated session data into the existing session file without first clearing it. If a write is interrupted, the file can contain the beginning of the new session followed by the end of the old one, and bytes of an ordinary string can later be unserialized as objects. An attacker who can influence the session data, for example through session upload progress, and interrupt a write at a suitable point may inject objects, which can lead to code execution when the application contains a suitable gadget chain. Session data can also be corrupted.

This issue 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.

PHP Group Affected
PHP
Before 8.2.36 Before 8.3.37 Before 8.4.28 Before 8.5.13
View vendor advisory (opens in new tab)
Published
19 Nov 2026
Exploitation date
—
Attack vector
Remote
Complexity
Low
Privileges
None
User interaction
None

CVE References

  • CVE Record CVE.org · CVE Record https://www.cve.org/CVERecord?id=CVE-2026-126714
  • GitHub — php/php-src github.com · Vendor Advisory https://github.com/php/php-src/security/advisories/GHSA-fm2m-fjf5-v3cp

Previdian Blog

Published: 19 November 2026 | Last Updated: 19 November 2026, UTC phpAfterShell is a critical vulnerability in PHP's file-based session handling, tracked as CVE-2026-126714. Discovered by...

Exploitation evidence

Exploitation evidence for this CVE

Catalogues and sources that list this CVE as a known exploited vulnerability, when available.

No exploitation evidence rows are recorded for this CVE yet.

Detection

Operational artifacts and observed signals

Make the evidence actionable in scanner, SOC, and edge-control workflows.

Scanner coverage

No scanner integrations recorded yet.

Virtual patch status

No Previdian virtual patch is currently available. Future rules ship for ModSecurity, Cloudflare, and AWS WAF.

Learn about virtual patches →

No detection artifacts or sensor request patterns are available for this CVE yet.

Check back as sensor telemetry and scanner integrations are updated.

Risk and context

Severity, weaknesses, and research context

CVSS v4.0

9.2 Critical

Potential damage if exploited. Separate from whether attackers are using it.

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

EPSS

—

Estimated chance of exploitation in the next 30 days. Previdian's warning comes from evidence, not this score.

Recent mention · Wiz

phpAfterShell and Critical PHP RCE Vulnerabilities: Everything You Need To Know

Detect and mitigate phpAfterShell, and additional critical vulnerabilities from PHP's November release that may enable remote code execution.

Read full advisory

All Mentions

Recent mention · Wiz

phpAfterShell and Critical PHP RCE Vulnerabilities: Everything You Need To Know

Wiz · 19 Nov 2026

Detect and mitigate phpAfterShell, and additional critical vulnerabilities from PHP's November release that may enable remote code execution.

Recent mention · F5 Security Advisories

K000164314: Multiple PHP vulnerabilities

F5 Security Advisories · 19 Nov 2026

Security Advisory Description CVE-2026-129474  PHP can access freed memory when collecting the arguments of a method handled by `__call()` or `__callStatic()` for a backtrace. On PHP 8.5 and later, an unauthenticated attacker may be able to trigger this through a crafted request that causes a fatal error while the application enters such a method. Successful exploitation can execute arbitrary code with the privileges of the PHP worker. The demonstrated remote attack requires `fatal_error_backtraces=1` and `zend.exception_ignore_args=0`. Fatal error backtraces are enabled by default in PHP...

Recent mention · The Hacker News

phpAfterShell Explained: How Hackers Could Turn a PHP Session Flaw Into Code Execution

The Hacker News · 19 Nov 2026

Swati KhandelwalNov 19, 2026Vulnerability / Web Security PHP's default file-based session storage can be made to return objects an attacker chose, by cutting off a session write at the right moment. When combined with a second weakness, such as a suitable gadget chain in the app, those objects can allow the attacker to run code on the server. Today's PHP releases fix the flaw, called phpAfterShell. The flaw is tracked as CVE-2026-126714 and rated 9.2 out of 10 on the CVSS 4.0 scale by PHP's maintainers. Depthfirst, a security company, says it found the flaw and reported it to the...

Recent mention · The Hacker News

PHP Fixes 7 Critical Flaws, Including Bugs That Could Allow Remote Code Execution

The Hacker News · 19 Nov 2026

Swati KhandelwalNov 19, 2026Vulnerability / Web Security The PHP Foundation has released security updates to address multiple critical security flaws that could be exploited to achieve remote code execution on affected deployments, including CVE-2026-115560. The list of vulnerabilities is as follows - CVE-2026-115560 (CVSS score: 9.2) - An improper input validation vulnerability that could result in remote code execution, file modification, session corruption, or denial-of-service. (Fixed in PHP 8.2.36, 8.3.37, 8.4.28, 8.5.13, 8.6.0) CVE-2026-129182 (CVSS score: 9.2) - A use-after-free...

Timeline

From disclosure to today

  1. 15:37 UTC

    Added to the Previdian watchlist

    Added to the Previdian curated list for closer monitoring

  2. 14:43 UTC

    CVE published

    Vulnerability disclosed publicly

  3. 16:14 UTC

    CVE ID reserved

    Identifier reserved by the CNA

API

Automate this intelligence

Confidence, exploit status, sensor telemetry, PoCs, scanner integrations, mentions, and tags are available programmatically for VM, SOC, and CTI workflows.

  • Evidence confidence and provenance
  • First-party sensor telemetry
  • PoC and scanner references
  • Affected versions and enrichment
  • Automation-ready JSON delivery

GET /api/v2/enterprise/kevs/CVE-2026-126714

Sample API response
{
  "cve_id": "CVE-2026-126714",
  "confidence": null,
  "cvss_score": 9.2,
  "cvss_estimated": false,
  "epss_score": null,
  "exploit_status": {
    "exploited_in_the_wild": false,
    "active_exploitation_observed": false
  },
  "sensor_telemetry": { "attempts": 0, "sensors": 0 }
}