## Overview
A critical vulnerability, CVE-2026-115560, affects multiple versions of PHP. This flaw can lead to remote code execution due to session serializer mismatches. Attackers can exploit this vulnerability by submitting multipart uploads.
## Technical Details
The issue arises when session upload progress is enabled. It allows attacker-controlled data to be stored in a session key using either the php_binary or php_serialize session serializer. If the session is later read using the php serializer, it can lead to a situation where bytes inside the key are passed to the unserializer. This can occur if the session.serialize_handler is changed at runtime or differs between applications sharing a session store. A remote attacker can inject objects that may execute arbitrary code if the reading application contains a suitable gadget chain.
This vulnerability affects PHP versions prior to 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28, and 8.5.* before 8.5.13.
## Impact
Successful exploitation of CVE-2026-115560 can lead to remote code execution, session corruption, or denial of service. This poses a significant risk to applications using affected PHP versions, as it allows attackers to execute arbitrary code on the server.
## Mitigation
Defenders should immediately upgrade to the latest PHP versions: 8.2.36, 8.3.37, 8.4.28, or 8.5.13. Organizations are advised to review their PHP configurations, particularly the session.serialize_handler settings, to mitigate potential risks. Regular patching and monitoring for vulnerabilities is essential to maintain security.
CSURFACE Threat Sensor