r/NextCloud • u/Lavrila • Oct 21 '26
Nextcloud: Important update on the PHP issue
We have been informed by CERT of an issue affecting PHP, see their public statement at https://cert.europa.eu/publications/security-advisories/2026-018 and the PHP statement at https://www.php.net/archive/2026.php#2026-10-20-1
This would affect all online PHP servers and operations including Nextcloud as well as WordPress and other popular services. The issue allows an attacker to compromise the server and potentially access all its data.
The CERT recommendation is to turn off servers running PHP based applications until updates to PHP are available and can be applied.
We will release an update as soon as more information is known about affected PHP versions and availability of updates.
41
u/Lavrila Oct 21 '26
Update: the PHP project has now released fixes for the vulnerabilities. We urge you to update immediately.
Affected versions and fixes: The vulnerabilities are critical and can allow remote code execution without logging in. All PHP installations serving web requests are at risk.
We urge you to update immediately to PHP 8.5.12, 8.4.27, 8.3.36 or 8.2.35, released today (21 Oct 2026).
What you need to do: If you run your own PHP servers or hosting, please update to the latest immediately. PHP 8.1 and older no longer receive fixes from the PHP project, so please contact your hosting provider or upgrade to a supported version. PHP 8.2 reaches end of life on 31 December 2026, so plan an upgrade soon.
Nextcloud AIO v14.4.1 and Nextcloud E-AIO v8.4.0 will include the updated PHP versions.
Details are in the official advisory: https://www.php.net/index.php#2026-10-21-5
37
u/540Flair Oct 21 '26
To the guy who recommended going thru the struggles to run nextcloud on a LAMP stack few months back - thank you, simple apt update && apt upgrade fixed my php!
12
u/Goticus Oct 21 '26
Anyone know anything about the Linuxserver Nextcloud image? Wasn't able to find an issues regarding that.
23
u/WanderingInAVan Oct 21 '26
Systems are all shut down here. Gonna take this time to go through my linodes one at a time and optimize them as I go.
11
u/NoCoolSenpai Oct 21 '26
Any news on when https://hub.docker.com/_/nextcloud is getting this fix? I see 35.0.2-apache is still on PHP 8.5.11. I don't expose my server to the internet, but just wanted to know
11
u/Eslov Oct 22 '26
Took my Nextcloud instance down and updated my version of PHP to 8.4.27. Over all happy that the PHP maintainers were relatively quick about it.
apt update && apt install --only-upgrade php8.4-common php8.4-fpm php8.4-cli
10
u/Bbbllaaddee Oct 21 '26
Can someone just plainly say what it means? Should I shut down my nextcloud on a home server? Wait until php patch?
10
u/rodolfostanic Oct 21 '26
What about people that rely on Nextcloud AIO, is there any ETA on updates?
4
u/gerowen Oct 21 '26
Kinda makes me glad I'm still rockin' the web archive with my own Apache/PHP/MariaDB, because Debian rolled out patched updates for PHP a while ago, 😄
4
u/longiii Oct 21 '26
mamma mia https://fedi.katze.sh/@elise/117479383739450605
3
u/RemcoE33 Oct 21 '26
When it is deployed using docker we need to wait on the nextcloud official release for the patch?
3
u/moistandwarm1 Oct 21 '26
The patch is already out
2
u/DatDing15 Oct 21 '26
I manually updated PHP 8.5.10 -> 8.5.12 on nextcloud 33.0.8 (Debian)
Nextcloud seem to be working fine for now.
Fixed versions:
8.5.12, 8.4.27, 8.3.36, 8.2.35
Restart your webservice after install and check with "php -v" what version is currently installed.
Or just keep your server off until nextcloud releases an update on their own.
2
u/HSG234 Oct 21 '26
https://fedi.katze.sh/@elise/117479383739450605
Fixed or not with the AIO Update? That is the question.
2
u/_litz Oct 22 '26
Stupid question time ... why on earth doesn't this merit a NEW VERSION NUMBER?
This is crazy. There are many, many systems out there pulling docker images that rely on version numbering to offer new versions for upgrades.
Keeping the SAME VERSION blocks dozens and dozens of providers out there from offering an upgrade that fixes this problem because 35.0.2 = 35.0.2 and therefore there is "no upgrade".
2
u/cr0ft Oct 22 '26
Thankfully my Nextcloud is installed the old school way, with separated out php, database and so on. All I had to do this morning was do an apt-get upgrade to grab the patched PHP. But yeah, all the all-in-ones, and the "apps" in some NAS and stuff - if any of it is exposed to the Internet, turning it off until patches are available is probably wise.
3
u/stephendt Oct 21 '26
Any ETA on server patches being released?
2
u/ukAdamR Oct 21 '26
Details already leaked: https://jackalsyn.com/posts/php-up-2026.html
tl;dr: mitigate this by changing
session.upload_progress.enabledtoOff. (It'sOnby default.)1
u/Belgian_dog Oct 21 '26
yay
1
u/Flintenguenter Oct 21 '26
Shutdown completed
1
u/yoyomariyo Oct 21 '26
the fixed docker version is out now
https://hub.docker.com/_/nextcloud/tags?page=2
1
u/PhysicalConsistency Oct 21 '26
Heh, after richdocument and this I'm getting fatigued.
1
u/forwardslashroot Oct 22 '26
Debian stable has released the patched from php.
1
u/Apprehensive_Star_78 Oct 22 '26
I cant figure out how to force install the php update. apt update && upgrade only updates to 8.3.6. had to take my server down. is it because i have a snap installation?
1
u/HuhEmmEi1337 Oct 22 '26
immich php
1
u/Nephton 19d ago
I took my Nextcloud off the internet when the first PHP vuln dropped and I'm working on getting a better system of VPN in place. NC development is doing a bang-up job, but the writing was on the wall day 1 with everyone posting about finding more vulns when they were hunting for the first. It will take a while to die down and in the mean time I think the safest bet is to not expose services directly on the internet.
-13
u/SavvyCantaloupe Oct 21 '26
I mean it's 2026 and we're still relying on php...
0
u/Mixels Oct 21 '26
PHP already fixed it. I got a notification from Hetzner that they were auto deploying the fix today.
0
u/mumische Oct 24 '26
I tried to upgrade my AIO version 9 and ran into "This version of Nextcloud is not compatible with PHP>=8.4”. Replaced nextcloud-aio-nextcloud image using portainer per manual :https://github.com/nextcloud/all-in-one/blob/main/manual-upgrade.md, but docker images are too late: php8.3-latest on github published 2 months ago, nextcloud/aio-nextcloud:php8.3-latest on docker hub published over a year ago.
If i try to continue update using AIO interface, I still getting into php version error. Is there any roadmap for updating old versions of Nextcloud, I still don't understand why it is impossible to update from old version to new one, considering that all needed are in docker images.
-1
u/NeonexFree Oct 22 '26
I think those on the fence about Nextcloud should read carefully the comments from those who advocate it on here. Their attitude is very telling and had I not already moved on I certainly would have after reading this thread. I am reminded of Marie Antoinette. Let them use our wonderful software and be thankful it's free. Just don't complain.
-15
u/TeeRKee Oct 21 '26
Php still exist ?????
-51
u/NeonexFree Oct 21 '26 edited Oct 21 '26
Lol! What's good for the goose and all that. Nextcloud is unfit for purpose. I stopped using it just a couple of days ago because I was fed-up with the constant issues after every upgrade. I wish OCIS was a little easier to intstall for a SOHO user.
0
u/[deleted] Oct 21 '26
[deleted] — view deleted comment