New PHP vulnerability CVE-2026-115560 in community docker image

Hello,

has anyone seen the new PHP (not php2shell) vulnerability CVE-2026-115560:

I checked the .ini files in /usr/local/etc/php/conf.d in the nextcloud community image and it looks like session.serialize_handler is set to igbinary in the docker-php-ext-igbinary.ini.

Also session.upload_progress.enabled isn’t even set in the files.

I guess that means we’re safe from this one?

cheers Dominik

Hello @Dominik2, welcome to the Nextcloud community! :handshake:

yes if you have spend a second to search the forum you would have found Is nextcloud susceptible to the PHP2shell attack? along with many resources

This is about CVE-2026-115560, which is another new vulnerability, or perhaps a follow-up to the previous ones, or whatever you want to call it, and the PHP project thinks, its not an issue in a “normal” setup: PHP: News Archive - 2026 But hen again, they thought the same about what is now called php2shell back in 2024. :wink:

Also, an optimized PHP setup for Nextcloud is hardly ever a “normal” setup. For example, the Nextcloud Docker images use igbinary as session.serialize_handler.

Either way, I’m kind of interested in this too, I don’t have igbinray session.serialize_handler enabled , but I have also no idea whther Nextcloud or any of its apps maybe use any PHP object serialization in a way that could be relevant here? So, IMO, these are legitimate questions to ask, especially after all the drama this week. :wink:

:man_facepalming: my bad, didn’t look at the ID..
but there is no PHP fix now.. only a mitigation via session.upload_progress.enabled=0

What I’m wondering is whether this mitigation is actually necessary for Nextcloud in the first place, or whether it could potentially even have unwnated side effects.

Red Hat says:

On October 23, 2026, the PHP project published an informational advisory for a third issue, CVE-2026-115560, in the same session upload progress feature. PHP describes it as an unlikely remote code execution vector that requires an uncommon combination of configuration and application code, and is addressing it in a routine release rather than an emergency one. The mitigation described below fully protects against this issue.

https://access.redhat.com/security/vulnerabilities/RHSB-2026-013

BleepingComputer says:

“An application must set session.serialize_handler to php_binary or php_serialize in its configuration and then switch it to php at runtime with ini_set() before calling session_start(). Session upload progress must also still be enabled,” the PHP team explained.

“Applications that never change the serialize handler at runtime can keep the feature enabled. Since this setup is unlikely in practice, we are handling it in the regular release cycle and will publish a full advisory for CVE-2026-115560 with the next release.”

https://www.bleepingcomputer.com/news/security/php-shares-mitigation-for-new-and-unpatched-rce-vulnerability/

Anyway, I’ve applied the mitigation for now, just in case.

Hello,

i took a look on my nextcloud instance updated to the lattest.
I check the parm "session.upload_progress.enabled" in the nextcloud container (installed via aio), and the value is “On”. So it seems that this cve is not mitigated in the docker aio installation. I could modify the setting in the container, but could not be sure it will be usefull and this setting will be remove when you stop the container from aio as it’s not saved on volume. :frowning:

I do not see any issue on the AIO repository about this CVE. :confused:
So at the moment by security i could only turn it off to be sure. :confused:
I was thinking that the AIO version was related to the “docker” build" if it’s the case it’s seems that not totally or not updated at the moment.

As I understands what it does, I am rather confident nearly no Nextcloud solutions needs it anyway. I have uncommented the line and set it = Off and now my Php_Info shows that it is off.

From how I understand the PHP article, the vulnerability is only exploitable, if “session.serialize_handler” is set to “php_binary” or “php_serialize”. I think, we’d only need to apply the mitigation “session.upload_progress.enabled=0” if this would be the case.

However, I’m not sure.