Upload progress is a PHP feature that records information about an in-progress file upload in session data. Applications can use that data to show users how much of an upload has completed. PHP’s upload-progress handling may write session data while an upload is being processed.
This matters for security when different PHP contexts use incompatible session serializers: one may write progress data in a format another interprets differently. If attacker-controlled session data reaches an unsafe deserialization path, and the application has a suitable gadget chain, the mismatch can contribute to code execution. Defenders should patch affected PHP versions, verify consistent session settings across workers and applications, and disable upload-progress tracking if it is not needed.


