PHP: Partially overwritten session files can lead to remote code execution (CVE-2026-126714)
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…
Facts
- Organisation
- PHP Group
- Product
- PHP
- CVE
- CVE-2026-126714
- Exploitation
- Public exploit
- CVSS score
- 9.2
- EPSS, chance of attacks in 30 days
- 32 %
- Made public
- Nov 20, 2026
Why this status
A public exploit is not a confirmed attack: the status moves up when exploitation is observed. Evidence comes from public feeds and the cited sources.
Sources
- CVE record cve.org
- NVD nvd.nist.gov
- github.com github.com
Summaries are written from the linked sources. Check them before relying on a detail.