CVE-2026-126714
CVE-2026-126714 — 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 8.2.* before 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.
Published Updated Sources: NVD, PHP Group (CNA), GitHub, SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Reported
not confirmed by CISA
EPSS
0%
ahead of 0% of scored CVEs
CVSS base
9.2
critical
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
Yes
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Remediation
The vendor's own words where we have them.
Upgrade PHP to a fixed release. Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Prioritize based on EPSS, PoC availability, and external exposure.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Scope
X
Attack Complexity
Low
Attack Vector
Network
Privileges Req
None
User Interaction
None
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 9.2 | CVSS 4.0 | critical | n/a | n/a | PHP Group (CNA) |
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
What this weakness leads to
MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.
CWE-662 · Improper Synchronization
- Modify Application Data
- Read Application Data
- Alter Execution Logic::
Mitigation: Use industry standard APIs to synchronize your code.::
CWE-367 · Time-of-check Time-of-use (TOCTOU) Race Condition
- Alter Execution Logic
- Unexpected State
- Modify Application Data
- Modify Files or Directories
Mitigation: The most basic advice for TOCTOU vulnerabilities is to not perform a check before the use. This does not resolve the underlying issue of the execution of a function on a resource whose state and identity cannot be assured, but it does help to limit the false sense of security given by the check.
Weakness & attack patterns
- CWE-367
- CWE-662
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1499.004Endpoint Denial of Service: Application or System Exploitation
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
7
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Prioritize edge telemetry for network-reachable PHP.
- Monitor for scanner or exploit-pattern traffic after 7 public PoC repositories were reported.
Timeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Added · CVSS 3.1 9.2 (AV:N)
Nov 19, 2026 · NVD
Initial · CVE published
Nov 19, 2026 · NVD
CVE published by MITRE.
Nov 19, 2026 · SOCRadar CTI
Source activity
Readings a source repeats on a schedule, counted rather than listed.
- 2×TweetsNov 19, 2026 · SOCRadar CTI
References
6 on the record
- github.com/php/php-src/security/advisories/GHSA-fm2m-fjf5-v3cp
Exploit, Third Party Advisory, NIST
- github.com/semgrep/detection-scripts/pull/14
Exploit, Third Party Advisory
- depthfirst.com/phpaftershell
Vendor Advisory
- bugzilla.suse.com/show_bug.cgi?id=1290690
Vendor Advisory
- ubuntu.com/security/CVE-2026-126714
Vendor Advisory
- access.redhat.com/security/cve/cve-2026-126714
Vendor Advisory
Coverage
1 story from the feeds we poll
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-109618 RCE via OOM corruptionCVSS 9.8 · CISA KEV
- CVE-2024-4577 Argument Injection in PHP-CGICVSS 9.8 · CISA KEV
- CVE-2019-11043 Underflow in PHP-FPM can lead to RCECVSS 9.8 · CISA KEV
- CVE-2026-109619 RCE via stale global stateCVSS 8.1 · CISA KEV
- CVE-2012-1823 PHP-CGI Query String Parameter VulnerabilityCVSS 7.5 · CISA KEV
- CVE-2026-129289 PHP-FPM request smuggling through an unread HTTP request bodyCVSS 9.2
Elsewhere on this site
- PHP Groupevery CVE for this vendor
- PHPevery page on this product
- Race Conditionsame class
- CWE-367other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2026-126714 is Partially overwritten session files can lead to remote code execution, a critical vulnerability affecting PHP from PHP Group. The current evidence does not list it in CISA KEV, and the exploit status is: Exploitation is reported, but no independent confirmation is available in the sources we have. Public exploit evidence is: 7 public PoC repositories reported; 0 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 9.2 describes technical severity, while EPSS 0% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.