## Overview
PHP has a critical vulnerability, CVE-2026-115560, that can lead to remote code execution. This flaw 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. The issue arises from session upload progress when it stores attacker-controlled data in a session key using specific serializers.
## Technical Details
The vulnerability occurs when the session.serialize_handler is changed at runtime or differs between applications that share a session store. If a session is later read with the php serializer, it can allow bytes inside the key to be passed to the unserializer. An attacker capable of submitting a multipart upload can inject objects into the session. This can lead to code execution if the reading application contains a suitable gadget chain. It may also result in session corruption or denial of service.
## Impact
This flaw has a CVSS score of 9.2, indicating a high severity level. Successful exploitation can give attackers the ability to execute arbitrary code on the server, posing significant risks to affected applications and their data integrity.
## Mitigation
Defenders should update PHP to the latest versions immediately: 8.2.36, 8.3.37, 8.4.28, or 8.5.13. Organizations should review their session handling configurations and ensure that they are not using vulnerable versions of PHP. Regularly monitoring for updates and applying security patches is essential to protect against this and other vulnerabilities.
CSURFACE Threat Sensor