PoC Monitor
← All CVEs
CVE-2026-126714published 19 Nov 2026 14:43 UTCData: JSON · API

PHP Group PHP

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.

First public PoC 23 hafter publication · 20 Nov 2026
Public PoCs22 on GitHub
CVSS9.2critical · scored by CNA · CWE-367
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

PHP Group PHP
  • < 8.2.36
  • >= 8.3.0, < 8.3.37
  • >= 8.4.0, < 8.4.28
  • >= 8.5.0, < 8.5.13

Fixed in 8.2.36, 8.3.37, 8.4.28, 8.5.13

Mitigation

Upgrade PHP to 8.2.36 or 8.3.37 or 8.4.28 or 8.5.13 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published19 Nov 2026 · t = 0First public PoC20 Nov 2026 · t+23h

First public PoC 23 h after publication; not in CISA KEV. First PoC: ashrafzaryouh/CVE-2026-126714 (created 20 Nov 2026, found by us: 20 Nov 2026).

PoC repositories

Found on GitHub.

2 PoCs · 1 informational

PoCs 2
RepositoryCreatedFound by usStarsAssessment
ashrafzaryouh/CVE-2026-126714 20 Nov 2026 +23 h 20 Nov 2026 0 PoC
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

evenomn/cve-2026-126714-phpAfterShell 20 Nov 2026 +23 h 20 Nov 2026 0 PoC
Flags · score 30
  • README gives an archive password

Below the suspicion threshold (50); does not change the assessment.

Informational 1
RepositoryCreatedFound by usStarsAssessment
tani2shell/phpaftershell-lab 20 Nov 2026 +21 h 20 Nov 2026 0 Informational · detection
Flags · score 40
  • contains executables (zap)

Below the suspicion threshold (50); does not change the assessment.

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 2 PoC repos

GET /

Key headers
Cookie: PHPSESSID={var}
Ports
8080
Seen in
1 repo: evenomn/cve-2026-126714-phpAfterShell
Evidence
evenomn/cve-2026-126714-phpAfterShell/poc/attack.sh:37

POST /

Key headers
Cookie: PHPSESSID={var}
Body markers
@/tmp/carrier.bin= @/tmp/replacement.bin in application/x-www-form-urlencoded
Ports
8080
Seen in
1 repo: evenomn/cve-2026-126714-phpAfterShell
Evidence
evenomn/cve-2026-126714-phpAfterShell/poc/attack.sh:18 evenomn/cve-2026-126714-phpAfterShell/poc/attack.sh:29

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /
(?i)^/(?:[?#].*)?$
GET /dump.php
(?i)^/dump\.php\?(?:.*&)?sid=
POST /
(?i)^/(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2026-126714 PHP Group PHP exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.header; content:"Cookie: PHPSESSID="; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-126714; classtype:web-application-attack; sid:9552595; rev:1;)
GET /dump.php
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2026-126714 PHP Group PHP exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/dump.php"; http.uri; content:"sid="; reference:url,poc.griffinguard.io/cve/CVE-2026-126714; classtype:web-application-attack; sid:9638755; rev:1;)
POST /
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2026-126714 PHP Group PHP exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.header; content:"Cookie: PHPSESSID="; nocase; http.request_body; content:"@/tmp/carrier.bin="; http.request_body; content:"@/tmp/replacement.bin"; reference:url,poc.griffinguard.io/cve/CVE-2026-126714; classtype:web-application-attack; sid:9415581; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /
title: PHP Group PHP exploit attempt (CVE-2026-126714)
id: gg-pocmon-cve-2026-126714-9552595
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-126714. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-126714
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.126714
GET /dump.php
title: PHP Group PHP exploit attempt (CVE-2026-126714)
id: gg-pocmon-cve-2026-126714-9638755
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-126714. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-126714
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/dump.php'
    cs-uri-query|contains|all:
      - 'sid='
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.126714
POST /
title: PHP Group PHP exploit attempt (CVE-2026-126714)
id: gg-pocmon-cve-2026-126714-9415581
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-126714. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-126714
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.126714