Skip to content

CVE-2026-115560: session upload progress review

Review PHP's October 23 serializer-switch advisory, disable session upload progress before request parsing where needed and verify worker configuration.

On this page

CVE-2026-115560 is the separate session upload progress issue described by PHP on October 23, 2026. Review both configuration and application code: the notice concerns an unusual runtime serializer switch while upload progress remains enabled. PHP recommends disabling session.upload_progress.enabled pending the next regular bugfix release. Apply that setting before request parsing, restart affected workers and verify the effective configuration.

If you patched PHP2Shell two days earlier, keep that work and open a separate review item. The vibe coding security guide recommends matching conclusions to evidence, and this is a useful example. The October 21 version check answers a different question from the later session configuration check.

Read the sequence, not just the setting name

PHP’s October 23 informational notice describes a configured session.serialize_handler of php_binary or php_serialize, followed by application code changing it to php through ini_set() before session_start(). Session upload progress must still be enabled. The sequence matters; finding any one setting does not establish the whole condition.

A serializer name in configuration is therefore a reason to inspect the relevant code, not a complete vulnerability verdict. Likewise, a call to session_start() is common session behavior and does not independently identify this issue. Keep the configured value and runtime transition together in the review record.

The notice says applications that never change the serializer at runtime can keep upload progress enabled. If you cannot establish that property across the application and its dependencies, record uncertainty and consider the recommended temporary mitigation with the runtime owner. Avoid describing an incomplete search as proof that the condition cannot occur.

Keep the October 21 patches in place

The original PHP2Shell pair covers CVE-2026-109618 and CVE-2026-109619. PHP’s October 21 announcement lists fixes in 8.2.35, 8.3.36, 8.4.27 and 8.5.12. Those branch floors belong to that pair. They should not become a fabricated fixed-version table for the October 23 issue.

The later notice says PHP will publish a full advisory with the next release. This article does not name a fixed release for CVE-2026-115560. Follow the maintainer’s subsequent release information before replacing a temporary mitigation with a patch claim.

Track the two tasks independently: verify that the original patched runtime is deployed, then review and mitigate the later condition. Our PHP2Shell overview explains the first task. An incident checklist that combines both under one green “PHP updated” field can hide an unfinished configuration change.

Trace configuration before tracing callers

Identify the PHP handler for the affected service and the configuration it loads. Start with the server or container, then inspect FPM pool settings, mounted configuration fragments and deployment templates. A CLI readback can help locate files, but it may not use the same configuration as the web workers.

PHP’s configuration file reference explains configuration loading across SAPIs. Use it to interpret the result, then verify the actual service definition. The PHP version guide describes keeping shell evidence separate from web-runtime evidence.

Record the effective serializer and upload progress setting for each pool that serves the application. Include differences between environments. If a pool cannot be inspected, name it in the handoff and assign the check to its operator. Avoid silently inheriting the result from a neighboring application with a similar configuration. Staging may disable upload progress while production enables it through an older mounted file. A repository default cannot settle that discrepancy without a runtime readback.

Search application code without manufacturing a result

Within an authorized repository, search for the relevant configuration key and session calls. Include bootstrap files, session wrappers and dependency code where available. This read-only search locates review candidates; it does not execute PHP or send requests.

rg -n 'session\.serialize_handler|session_start\s*\(' .
rg -n 'session\.upload_progress' .

Imagine a repository that contains a session wrapper but loads the configured serializer from a deployment secret or mounted file. The wrapper alone cannot establish the starting value. Conversely, a configuration file showing the starting value cannot establish whether application code changes it. Put both observations in the same review, with the route or bootstrap path that connects them.

Follow the initialization path from configured serializer to any runtime change and then to session startup. A function can wrap ini_set(), construct the setting name dynamically or execute only for selected routes. Read callers and configuration loading rather than closing the task because a literal search returns no hits.

Keep a short review worksheet with one entry for each observed starting serializer, runtime assignment and session startup path. Note whether the path is reachable in the deployed application or only in a test fixture. If another library initializes sessions first, inspect that ordering too. The goal is to understand the application’s sequence without introducing an artificial reproducer into production.

Generated files and unavailable vendor code should remain coverage gaps. If your scan excludes a dependency directory, say so. If a hosting provider injects session configuration, ask for its effective settings. A clean application-source search is useful evidence about inspected files, but it cannot speak for code or configuration that was never available.

Apply the mitigation before request parsing

For an administrator-controlled PHP configuration, the relevant setting is:

; Apply through the configuration used by the web workers.
session.upload_progress.enabled = 0

For an FPM pool where an administrative flag is appropriate, use the supported pool form and validate it before restart:

php_admin_flag[session.upload_progress.enabled] = off

Choose the location your runtime actually uses. PHP’s October 21 guidance explicitly requires the setting before request parsing and warns against relying on ini_set() or FPM .user.ini for the session-path mitigation. Putting a line at the top of an application controller does not move it ahead of PHP’s request startup.

Test the service configuration, restart every affected worker through the supported procedure and verify the effective setting afterward. In a container deployment, retain the change in the image or managed configuration and roll out replacement containers. An interactive edit that disappears on the next deployment is an unstable mitigation.

Test the product behavior the setting affects

Check whether the application exposes session-backed upload progress to users. Disabling the feature may remove or alter a progress indicator even when ordinary uploads still work. Test with a small harmless fixture in staging and verify completion, cancellation and the UI’s response when progress information is unavailable.

For an upload screen, an indefinite spinner is a product bug worth fixing during the mitigation. Provide a clear completion or error state using the application’s supported mechanism. Keep the change narrow; this review does not require replacing the entire upload subsystem.

Also test authentication and existing session flows after any serializer configuration change. Avoid changing serializers casually as an incident workaround because application compatibility and stored session formats need review. Disabling upload progress follows the maintainer’s recommendation without inventing a new runtime transition in application code.

Understand what the mitigation closes

The stale-state advisory already lists disabling upload progress for confirmed session paths in CVE-2026-109619. That overlap explains why a prior mitigation can help with the later notice. It does not turn one setting into a complete fix for the two original CVEs.

The OOM advisory has its own remediation requirements. Keep the original patches installed and avoid weakening resource controls without a reviewed operational plan. If a ticket says only “upload progress disabled,” ask which CVE and path that evidence supports.

For this later review, retain the effective setting, configuration source, affected pool list and worker restart result. If you instead establish that the runtime serializer switch never occurs, record the inspected code and configuration scope behind that conclusion. Leave excluded dependencies or unobserved pools visible as unresolved items.

Use scanning to organize evidence

The PHP2Shell checker can help interpret supplied configuration and version information. A declared setting or source pattern is evidence with a scope, not runtime attestation. An unknown configuration should produce follow-up work rather than an automatic patched conclusion.

LyraShield AI conditionally runs PHP checks in Standard and Deep scans when the target provides relevant evidence. Neither profile guarantees detection of every runtime path. The checks cannot attest every deployed worker. Use the free Lite Check for a passive public URL review, or create an account and select a Deep scan for an authorized assessment. Attach the operator’s configuration and restart receipt before closing this review.

Two session-state vessels connected through a controlled upload-progress aperture

Frequently asked

Do PHP 8.2.35, 8.3.36, 8.4.27 and 8.5.12 fix CVE-2026-115560?

Those are the October 21 fixes for CVE-2026-109618 and CVE-2026-109619. The October 23 notice describes a separate issue and says a full advisory will accompany the next regular release.

Which configuration matters for CVE-2026-115560?

PHP describes upload progress remaining enabled, a configured php_binary or php_serialize session serializer and application code switching it to php with ini_set before session_start.

Can I disable upload progress inside the application?

Apply the mitigation before request parsing through php.ini or supported administrative server or FPM configuration. Restart every affected worker and verify the effective setting.

Put this guide to work.

Run a focused browser-local check and see its limitations.

Review your response headers
Get occasional product updates
Add context (optional)

We store your email for product updates and scorecard notifications. No sharing, no marketing blasts.