← All articles

PHP RCE: what disabling upload progress actually mitigates

A retrospective on the October 2026 temporary measures: upload progress, fatal backtraces, worker recycling and their limitations.

Editorial retrospective for 21 October, added on 23 October 2026 using the official technical advisories. Disabling session.upload_progress.enabled is a useful temporary measure for a specific session lifecycle path in CVE-2026-109619. It does not remove every condition of that vulnerability or fully protect against the separate CVE-2026-109618.

Apply temporary measures with verification of actual PHP processes and a recorded upgrade plan. Mitigated must not quietly become patched.

Why upload progress matters

The feature tracks upload progress through PHP session mechanisms. The advisory describes how this early processing can reach state left by an earlier request. Disabling an unused feature removes that particular producing or consuming path, but does not repair PHP request-state management as a whole.

Set the value where the website is actually served

The setting is session.upload_progress.enabled = Off. With PHP-FPM it can be enforced administratively in the relevant pool, for example php_admin_flag[session.upload_progress.enabled] = off. Check each installation and verify the effective value through its actual web process. A CLI php -i result does not establish the website configuration.

Other measures have limitations too

For PHP 8.5, official guidance includes disabling fatal_error_backtraces for the confirmed backtrace path. Setting pm.max_requests = 1 limits FPM worker reuse but increases process creation. These are temporary trade-offs that need performance and compatibility checks, not a reason to postpone the fixed runtime.

The OOM issue remains separate

CVE-2026-109618 concerns out-of-memory handling and is not fixed by the upload-progress setting. Its advisory identifies updating as the only complete mitigation. Do not casually remove memory_limit on a small shared server: doing so can create availability risk while still failing to provide complete protection.

Verify the measure and keep the patch task open

Validate configuration before restarting and refresh the relevant running processes. Check login, uploads, background processing and critical workflows. Temporary diagnostic files should not remain publicly accessible. Record which path was restricted, what remains unfixed and the version or vendor package required to close the issue.

Documentation and sources

What should your software do better?

Describe the task, the system or the idea. We will clarify the scope and propose the next steps.

Call us · +359 89 341 4446

If we miss your call, expect a call back within 2 hours.

Prefer to write?