Skip to main content

RCE vulnerability in session upload progress

Publication Date 2026-11-19
Severity Critical
Type Remote Code Execution
Affected PHP Versions
  • 7.2.0-7.2.34
  • 7.3.0-7.3.33
  • 7.4.0-7.4.33
  • 8.1.0-8.1.34
  • 8.2.0-8.2.35
  • 8.3.0-8.3.36
  • 8.4.0-8.4.27
  • 8.5.0-8.5.12
Fixed Product Versions
  • ZendPHP 7.2
  • ZendPHP 7.3
  • ZendPHP 7.4
  • ZendPHP 8.1
  • ZendPHP 8.2
  • ZendPHP 8.3
  • ZendPHP 8.4
  • ZendPHP 8.5
  • ZendServer 2021.4.10

CVE Details

PHP's session upload progress feature can write attacker-controlled data using one session serialization format and later read it using another. A mismatched decoder can interpret part of a session key as serialized object data. An application with a suitable object gadget chain can then execute code with the privileges of the PHP worker.

This is a configuration-dependent deserialization issue, separate from the stale global state vulnerability in CVE-2026-109619.

Recommendations

Setting session.upload_progress.enabled = 0 in your php.ini mitigates the issue. If you rely on this feature, audit your code to ensure you do not call ini_set('session.serialize_handler', ...) to a value that differs from the session.serialize_handler value in your php.ini. Where possible, update your PHP to a known patched version.