PHP session vulnerability: when CVE-2026-115560 affects your application

The risk depends on a specific combination of configuration and code. Here is what to check and how to manage a temporary mitigation.

Information checked on 9 November 2026.

Not every application has the same exposure

On 23 October, the PHP team described CVE-2026-115560. Exposure requires session upload progress to be enabled and an unusual serializer change: configuration selects php_binary or php_serialize, then application code switches it to php through ini_set() before session_start(). Applications that never change the serializer at runtime can leave the feature enabled. PHP informational advisory

A PHP version number alone therefore cannot establish whether a particular application is exposed. Two pieces of evidence are needed: server configuration and session initialization in the code. In practice, the administrator and developer should review them together.

What can be done now

The temporary measure is session.upload_progress.enabled=0. cPanel recommends applying it in the global php.ini until an update is available; its notice does not yet specify the complete range of versions requiring a fix. cPanel guidance

The setting must apply before request processing. A late ini_set() call inside an application is not an equivalent deployment. The administrator should configure the actual serving environment and reload workers according to the server stack's procedure. PHP guidance on disabling upload progress

As of the date checked, we are not naming a release that definitively fixes CVE-2026-115560: a full advisory was announced for the next regular release. This notice should not be confused with the patches for the two earlier PHP2Shell vulnerabilities. PHP announcement

Give temporary changes an owner

For a business, the task is complete only when the change has been verified, not merely when someone adds a configuration line. The maintenance ticket should record:

  • who reviewed session initialization and which applications were covered;
  • where the setting was applied and how its active value was confirmed;
  • whether login, checkout and attachment uploads still work;
  • who monitors the patch release and when the next review will happen.

Disabling progress reporting may change the file upload interface. Check that users still receive understandable feedback and confirmation when an operation finishes. Include interrupted uploads and signing in again in the test plan.

Every temporary mitigation needs an owner and a review date. Once a patch is available, assess and test the update before deciding on the long-term configuration. This helps prevent an emergency setting from becoming an undocumented permanent dependency.