nday
CVE-2026-126714 GHSA-fm2m-fjf5-v3cp

Partially overwritten session files can lead to remote code execution

PHP Group / PHP

A public PoC appeared on the day of disclosure. nday has no fix record for it yet; that does not mean no patch exists. Listed by 1 of 4 PoC sources: github. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

race condition
CWE-367, stated by the CNA php and NVD, republishing [email protected]CWE-662, stated by the CNA php and NVD, republishing [email protected]
remote, unauthenticated
AV:N, PR:N, UI:N in 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 (CVSS 4.0) from the CNA php
network
AV:N in 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 (CVSS 4.0) from the CNA php
no authentication required
PR:N in 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 (CVSS 4.0) from the CNA php
no user interaction
UI:N in 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 (CVSS 4.0) from the CNA php
PHP
affected products in the CVE record: PHP Group · PHP
open-source library / framework
affected products in the CVE record: PHP Group · PHPthe product type of PHP in nday's product registry
stage
POC
disclosed
disclosure → PoC
T+0d POC is date-only
cvss
9.2 CRITICAL v4.0

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
11-19T14:43Z
PATpatch
no record yet
ANAanalysis
11-19, date only +1 more
POCPoC
11-19, date only +2 more
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no target-specific security measures to get around
Attack requirements AT:P
Present: success depends on specific deployment or execution conditions, such as a race condition, a non-default setting or a position on the network path
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

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

CVSS 4.0 vector from the CVE record, scored by the CNA php.

Event log

2026-11-19date only, from source
+ANAtechnical analysis

Cloudflare Zero Wire advisory: “phpAfterShell and six other PHP critical flaws”.

src zerowire php-november-2026-security-release-phpaftershell · nday , bulk import · raw
{
  "id": 496749,
  "type": "analysis_published",
  "source": "zerowire",
  "url": "https://radar.cloudflare.com/zero-wire/php-november-2026-security-release-phpaftershell",
  "occurred_at": "2026-11-19T00:00:00Z",
  "observed_at": "2026-11-20T09:46:04.434293Z",
  "is_backfill": true,
  "dedupe_key": "php-november-2026-security-release-phpaftershell",
  "detail": {
    "title": "phpAfterShell and six other PHP critical flaws",
    "precision": "day"
  }
}
+DISdisclosed

CVE record published by php. CVSS 9.2, critical.

src cvelist · nday , observed live · raw
{
  "id": 484538,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-126714",
  "occurred_at": "2026-11-19T14:43:19.43Z",
  "observed_at": "2026-11-19T15:00:30.436713Z",
  "is_backfill": false,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "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",
      "version": "4.0",
      "base_score": 9.2,
      "base_severity": "CRITICAL"
    },
    "ssvc": {
      "timestamp": "2026-11-20T04:56:39.377795Z",
      "automatable": "yes",
      "exploitation": "none",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2026-11-19T14:43:19.430Z",
    "assigner_short_name": "php"
  }
}
2026-11-19date only, from source
+POCpublic PoC

PoC repository on GitHub: alvm/php2shell-eol-backport. The date is the repository's creation day.

src github 1430112204 · nday , observed live · raw
{
  "id": 497527,
  "type": "poc_published",
  "source": "github",
  "url": "https://github.com/alvm/php2shell-eol-backport",
  "occurred_at": "2026-11-19T14:43:19.43Z",
  "observed_at": "2026-11-20T00:00:00Z",
  "is_backfill": false,
  "dedupe_key": "1430112204",
  "detail": {
    "url": "https://github.com/alvm/php2shell-eol-backport",
    "title": "alvm/php2shell-eol-backport",
    "precision": "day"
  }
}
+ANAtechnical analysis

Reply on the oss-security mailing list: “Re: Upcoming Critical PHP Security Release”.

src osssec 2026/q4/793 · nday , bulk import · raw
{
  "id": 495064,
  "type": "analysis_published",
  "source": "osssec",
  "url": "https://seclists.org/oss-sec/2026/q4/793",
  "occurred_at": "2026-11-20T00:59:31Z",
  "observed_at": "2026-11-20T07:53:26.77661Z",
  "is_backfill": true,
  "dedupe_key": "2026/q4/793",
  "detail": {
    "list": "oss-security",
    "author": "Alan Coopersmith",
    "subject": "Re: Upcoming Critical PHP Security Release",
    "is_reply": true
  }
}
2026-11-20date only, from source
+POCpublic PoC

PoC repository on GitHub: tani2shell/phpaftershell-lab. The date is the repository's creation day.

src github 1465361163 · nday , observed live · raw
{
  "id": 499243,
  "type": "poc_published",
  "source": "github",
  "url": "https://github.com/tani2shell/phpaftershell-lab",
  "occurred_at": "2026-11-20T11:42:44Z",
  "observed_at": "2026-11-22T00:00:00Z",
  "is_backfill": false,
  "dedupe_key": "1465361163",
  "detail": {
    "url": "https://github.com/tani2shell/phpaftershell-lab",
    "title": "tani2shell/phpaftershell-lab",
    "precision": "day"
  }
}
2026-11-20date only, from source
+POCpublic PoC

PoC repository on GitHub: bimajunestifa/phpAfterShell. The date is the repository's creation day.

src github 1465710718 · nday , observed live · raw
{
  "id": 498884,
  "type": "poc_published",
  "source": "github",
  "url": "https://github.com/bimajunestifa/phpAfterShell",
  "occurred_at": "2026-11-20T17:25:09Z",
  "observed_at": "2026-11-21T00:00:00Z",
  "is_backfill": false,
  "dedupe_key": "1465710718",
  "detail": {
    "url": "https://github.com/bimajunestifa/phpAfterShell",
    "title": "bimajunestifa/phpAfterShell",
    "precision": "day"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

3 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

  1. 2026-11-20

    Post by @itsMikeKipruto on 2026-11-20. Sign in to read it.
  2. 2026-11-20

    Post by @itsMikeKipruto on 2026-11-20. Sign in to read it.
  3. 2026-11-19

    Post by @DailyDarkWeb on 2026-11-19. Sign in to read it.
  4. 2026-11-19

    Post by @IntCyberDigest on 2026-11-19. Sign in to read it.

Sign in to read 4 posts.

sign in to read

Discussion

0 comments

No comments yet.