CVE-2026-126714: PHP remote code execution in session file handling
cve.now CVE Critical · 9.2 Fix available
PHP's default file-based session handler can leave a session file with a mix of new and old data if a write is interrupted, so an attacker who can influence session data may inject objects and, if the application contains a suitable gadget chain, run code on the server. The attacker can reach this remotely without logging in, though the attack depends on interrupting a write at the right moment.
Severity
- CVSS 9.2 (cna)
- Vector: 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
- Exposure: Default setups
Affected
- Vendors: PHP Group
- Products: PHP
Fix
- Fixed in 8.2.36, 8.3.37, 8.4.28, 8.5.13
References
Source
Copied from cve.now/CVE-2026-126714. The summary was written by a model at cve.now and is shared under CC BY 4.0.
Replies 0
No replies yet.
Evidence
- Reported
- 2026-11-19T15:00:03.927391Z
- Report ID
b7c30e96-8c59-49b0-8854-092707deefc6