On October 23, 2026, the PHP development team published an informational security advisory for CVE-2026-115560, a potential remote code execution (RCE) issue involving PHP's session upload progress feature.
The issue does not affect every PHP installation in the same way. According to the PHP team, it requires a specific and unusual combination of configuration settings and application behaviour.
Anatomy of the PHP vulnerability.
Follow the top-down relationship between a file upload, PHP upload progress and session serialization.
Browser request
Multipart file upload
PHP upload progress
Upload progress information is maintained through PHP session-related data.
PHP session handling
Session data is processed using its configured serialization handler.
First, what is PHP actually doing here?
If you've worked with websites, you've probably come across PHP at some point. If you haven't, let me tell you. PHP is a programming language commonly used to build web applications. It can handle things like login systems, form submissions, database interactions, and file uploads.
For example, when you log in to a website and move between different pages without having to enter your password every time, the application needs a way to remember your login state. This is where sessions come in.
Lets have a quick look at PHP sessions
HTTP, the protocol used by browsers and web servers to communicate, does not automatically remember previous requests. Each request is generally handled independently unless the application uses mechanisms to maintain state.
A session helps solve this problem. Think of it as a temporary record that allows a website to remember certain information about you while you use it. That information might include your login state or the contents of your shopping cart.
PHP provides built-in functionality to manage these sessions. But here's the thing, session data needs to be stored somewhere, and PHP needs a way to represent that data so it can be written and read back correctly.
That brings us to serialization.
Serialization: where things start getting interesting
Serialization is the process of converting data into a format that can be stored or transferred and then reconstructed later. Imagine packing your belongings into a box before moving to another house. You need a way to pack everything, and later, you need to unpack it correctly. Serialization does something similar with data. The comparison isn't perfect, but it gets the basic idea across.
PHP supports different session serialization handlers, which includes:
phpphp_binaryphp_serialize
These handlers determine how session data is represented and processed.
You might be wondering, if all these handlers are meant to deal with session data, why should switching between them matter? Because different formats are not necessarily interchangeable. If data is written in one format and then interpreted using another, the way PHP processes that data can change. And in security, how data is interpreted can matter just as much as where that data came from.
Keep that in mind, because this is one of the important pieces of CVE-2026-115560.
So, what does a file upload have to do with all of this?
Let's look at the other feature involved in this issue: session upload progress.
Suppose you're uploading a large file to a website. You probably don't want to sit there staring at the screen wondering whether the upload is still running or whether your internet connection has decided to give up. A progress indicator solves that problem by showing how much of the file has been uploaded.
PHP provides a feature that allows applications to track upload progress through session data. This can help developers build progress indicators for file uploads.
Sounds harmless enough, right? And the feature itself is not automatically a security problem.
The concern in CVE-2026-115560 comes from how upload progress interacts with PHP's session handling when particular configuration changes occur. In other words, we're not looking at a case where simply uploading a file makes every PHP application vulnerable. The problem involves a more specific sequence of events.
CVE-2026-115560: what actually makes it vulnerable?
According to the PHP team's advisory, the issue requires a combination of configuration settings and application behaviour. For the reported scenario to occur, all of the following conditions must be present:
- The application starts with a particular session serialization handler. The application must configure session.serialize_handler as either php_binary or php_serialize.
- The application changes that handler at runtime. The code then switches the handler to php using PHP's ini_set() function.
- The change happens before the session starts. The application makes this change before calling session_start().
- Session upload progress is still enabled. The session.upload_progress.enabled setting must remain enabled for the issue to apply.
So, all four conditions need to come together.
This is an important distinction. A website running PHP is not automatically vulnerable just because it supports file uploads or uses sessions. The particular configuration and runtime behaviour matter.
Now, why would an application change its session serialization handler in the first place? That depends on how the application is built and configured. There can be legitimate reasons for applications to configure session handling, but the combination described above creates the concern identified by PHP.
The initial advisory describes this as an unlikely RCE vector. At the time of that announcement, PHP said it would publish a full advisory with the next regular bug-fix release. That means we should be careful about claiming more than the available technical information confirms.
Wait, what does remote code execution actually mean?
We've mentioned RCE a few times now, so let's make sure we're clear about what it means. Remote code execution is a vulnerability class in which an attacker can cause a system to execute code remotely.
Why is that such a big deal?
Because the impact can go beyond an application behaving incorrectly. Depending on the vulnerability and the permissions of the affected process, successful exploitation could allow an attacker to interfere with application behaviour, access information, or perform unauthorised actions on the server.
But there's an important detail here, the potential impact of a vulnerability and the ease of exploiting it are two different things. An RCE vulnerability can have serious consequences without every installation being exposed to it. In this case, PHP has specifically described the required setup as unusual.
We should therefore take the issue seriously without suggesting that every PHP website is already compromised or equally vulnerable. Security is about understanding the actual conditions, not just reacting to the scariest term in the advisory.
How can this issue be mitigated?
Okay, so we understand the problem. What should developers and administrators actually do about it?
The PHP team recommends temporarily disabling session upload progress until the next regular bug-fix release.
session.upload_progress.enabled=0This disables the session upload progress feature and mitigates the specific risk described in the advisory.
There is one thing to keep in mind, though. If an application relies on PHP's native upload progress reporting, disabling this feature may affect its progress indicators. The change should be tested in the relevant environment.
The PHP team also states that applications which never change their session serialization handler at runtime can continue to use upload progress.
So, should everyone immediately disable the feature without checking anything else? The safest approach is to follow the official guidance, review how the application uses sessions, and apply the mitigation where appropriate. Administrators should also check how their PHP configuration is managed, including whether application code can override settings.
For the latest instructions, refer to the official PHP advisory. Official PHP advisory ↗
Is this the same as the other recent PHP RCE vulnerabilities?
Not quite. And this is worth explaining because several PHP security issues have appeared within a short period.
On October 21, 2026, PHP released security updates addressing two critical remote code execution vulnerabilities: CVE-2026-109618 and CVE-2026-109619. These were separate issues, and PHP urged users to update their installations.
The affected release lines included PHP 8.5.12, 8.4.27, 8.3.36, and 8.2.35.
Two days later, PHP published the informational advisory for CVE-2026-115560. The timing makes these vulnerabilities easy to group together, but they should not be treated as one issue.
The October 21 updates for the earlier vulnerabilities should not, by themselves, be considered confirmation that CVE-2026-115560 has been fixed.
There is also CVE-2026-111497, which concerns a vulnerability in Brotli decompression affecting PHP's Windows builds. On October 26, PHP announced updated Windows packages containing Brotli 1.2.1 to address that issue. These are different vulnerabilities with different technical causes and remediation requirements.
The lesson here is fairly straightforward, when multiple security advisories appear close together, check each one individually. A fix for one vulnerability does not automatically resolve another.
What should we take away from this?
CVE-2026-115560 is an interesting example of how the interaction between software features and application configuration can create a security concern.
A feature designed to track file uploads is not inherently dangerous. PHP sessions are not inherently dangerous either. The issue lies in the specific combination of session serialization settings, a runtime change to the handler, and upload progress remaining enabled.
That is why understanding the conditions described in an advisory matters just as much as knowing its CVE number.
For developers, this is a reminder to review how session handling is configured and changed within an application. For administrators, it means checking the actual environment, applying the recommended mitigation where appropriate, and keeping track of subsequent security updates.
And for anyone learning cybersecurity, it is a useful reminder that a vulnerability's name or severity alone does not tell the whole story. You need to understand what causes it, when it applies, and what can be done to reduce the risk.
Because, at the end of the day, knowing that a vulnerability exists is only the first step. Understanding it is what helps you make better security decisions.