article --summary
The summary
This post announces that today's PHP release fixes CVE-2026-126714, a critical remote code execution bug rated 9.2, in the default file-based session handler. It is the successor to last month's PHP2Shell fix, so readers running PHP with that default handler should treat it as urgent.
According to the researcher, PHP can write to a file-backed session while it is still parsing an unauthenticated multipart upload, before the target script runs. By interrupting those upload-progress writes, an attacker can splice together the start of one valid session with the end of another, producing corrupted session data that the server accepts as genuine.
The attacker can then control session values and trigger object deserialization. Combining that with a memory-corruption flaw in a PHP-native class yields remote code execution. The full write-up has the technical details of the exploit chain.
Editorial note: This is a summary of an article first published by PHP News. The full piece is on their site.