Today, November 19, PHP shipped security releases for every supported version, and the worst bug is rated critical: CVE-2026-115560. What makes it interesting is where it gets in: the progress bar of a file upload. Here’s what it is, whether it affects you, which version to update to, and what to do if you can’t update today.

Note: the video is in Spanish (Spanish audio only).

What it is

When someone uploads a file to your site, PHP writes the file’s name and how far the upload has gone into the session, before your own code even starts. That’s session upload progress.

The problem shows up when your app writes the session in one format and reads it back in another. In that mismatch, the file name stops being data and gets read as an instruction, and the server runs it. It’s remote code execution (RCE).

Are you affected?

Only if your code switches the session format to php before session_start() while your configuration uses a different one (php_binary or php_serialize). That’s rare, but upload progress is on by default and has been around since PHP 5.4, back in 2012.

To check quickly, search your code for where that format gets changed:

grep -rn "serialize_handler" /path/to/your/app

What to do

  1. Update to today’s release for your branch:
    • PHP 8.5 → 8.5.13
    • PHP 8.4 → 8.4.28
    • PHP 8.3 → 8.3.37
    • PHP 8.2 → 8.2.36
  2. On PHP 8.1 or older, you’re out of support: there’s no official fix. Move to 8.4 or 8.5.
  3. Can’t update today? Turn off upload progress in php.ini (or in your PHP-FPM pool) and restart PHP:
session.upload_progress.enabled = 0

In a PHP-FPM pool:

php_admin_flag[session.upload_progress.enabled] = off

It has to go there, not through ini_set() in your code. Then restart PHP or PHP-FPM so it picks it up.

Update: the version numbers came out at 14:00 UTC, after the video, which is why in the video I just say “today’s release for your branch”. These releases also fix more than a dozen other bugs, including another session one (CVE-2026-126714) and several in PHP-FPM, so it’s worth updating even if you don’t use upload progress.

Update today. The full release notes are on php.net.


Found it useful? Watch the short video on YouTube (in Spanish) and subscribe to @Andrevops for more videos like this one.