CVE-2026-126714: Php · Partially overwritten session files can lead to remote code execution
Affects phpSource GCVE Database
Not known to be exploited · CVSS 9.2 Critical · fixed in 8.5.13 : patch php as a priority.
Data as of 27 Nov 2026, 08:13 UTC
Thin evidence
One scorer or none| CNA (php) | CVSS 4.0 | 9.2 |
|---|
- Patch
- Available – fixed in 8.5.13, 8.4.28, 8.3.37 +1
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 19 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.
What to do
Upgrade php to 8.5.13, 8.4.28, 8.3.37 or 8.2.36.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Bitnamiphppkg:bitnami/phpOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and has been released in PHP versions 8.2.36, 8.3.37, 8.4.28, and 8.5.13. Users should upgrade to these fixed versions to remediate the vulnerability. Refer to the Red Hat security bulletin and PHP security advisories for detailed mitigation procedures. No alternative mitigations are specified by the vendor advisory.
Description
A vulnerability in PHP session file handling allows partially overwritten session files to lead to remote code execution. The default session save handler writes updated session data without clearing the file first, which can cause mixed old and new session data if a write is interrupted. An attacker able to influence session data and interrupt writes can inject objects that may be unserialized, potentially triggering code execution if the application has suitable gadget chains. This affects PHP versions before 8.2.36, 8.3.37, 8.4.28, and 8.5.13.
References
- access.redhat.com/security/cve/cve-2026-126714 (opens in a new tab)
- bugzilla.suse.com/show_bug.cgi?id=1290690 (opens in a new tab)
- depthfirst.com/phpaftershell (opens in a new tab)
- github.com/php/php-src/security/advisories/GHSA-fm2m-fjf5-v3cp (opens in a new tab)
- github.com/semgrep/detection-scripts/pull/14 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-126714 (opens in a new tab)
- ubuntu.com/security/CVE-2026-126714 (opens in a new tab)