this post was submitted on 21 Oct 2026
297 points (99.3% liked)

Selfhosted

63148 readers
598 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

The set of vulnerabilities is dubbed PHP2Shell and disclosure is scheduled for 14:00 UTC with attacks expected to follow soon after.

It is adviced to take offline every non-vital services until the patch has been installed (or the Docker image has been updated with a patched version of PHP)

Update: fix is out https://www.php.net/archive/2026.php#2026-10-21-5

top 50 comments
sorted by: hot top controversial new old
[–] fubarx@lemmy.world 67 points 1 day ago (2 children)

"I felt a great disturbance in the Force, as if millions of Wordpress sites suddenly cried out in terror and were suddenly silenced."

[–] hereiamagain@sh.itjust.works 11 points 1 day ago (2 children)

Seriously though, how quickly do you expect patches to be available for WordPress? I've got one WordPress site that I made years ago for a friend's business. I pop in on it and update stuff every few months.

Should I take it down?

[–] MouldyCat@feddit.uk 19 points 1 day ago* (last edited 1 day ago) (1 children)

it's PHP that needs the patches. Yes you should take the site down until PHP has been patched.

edit: assuming you are hosting wordpress yourself. if you're using a large 3rd party service that manages PHP itself like wordpress themselves, one should hope that they will be updating PHP early, before the patch is even released publicly.

[–] hereiamagain@sh.itjust.works 5 points 1 day ago

Yeah it's self hosted, thanks

[–] GreenKnight23@lemmy.world 4 points 1 day ago* (last edited 1 day ago) (1 children)

Should I take it down?

depends. do you want to deal with a simple patch in 24 hours or do you want to rebuild an entire legacy system from nothing (assuming you don't take proper backups)?

[–] hereiamagain@sh.itjust.works 2 points 11 hours ago

How dare you (correctly) assume I haven't taken proper backups!

Jk lol

I do have a couple backups I made a few months ago. Never tested restoring them, so I don't count them as "real".

I'm hosting on namecheap servers, using their cpanel and stuff. So I don't have the option of installing my own PHP version, just selecting theirs.

But apparently they had some mitigations in place before updating, and then they got us updated.

[–] rozodru@piefed.world 3 points 1 day ago

it's a lot more than wordpress...

[–] ikidd@lemmy.dbzer0.com 13 points 1 day ago* (last edited 1 day ago)

Nextcloud.

Mailcow.

[–] Luckyfriend222@lemmy.world 18 points 1 day ago (1 children)

Spare a moment's thought for the dev behind the ondrej PHP mirrors.

[–] NateNate60@lemmy.world 6 points 1 day ago

Could not pull shit from it this morning. I panicked because my distro's repos did not have the version numbers of the patched packages, but apparently the Ubuntu maintainers back ported the patches. Sigh of relief.

I just happened to read this thread after deciding to open Jerboa after months and I stumbled into this, I have been updating my stuff for the past 30', thank you for making this post and making me aware of this issue! (Even though I'm 8 hours late)

[–] hereiamagain@sh.itjust.works 22 points 1 day ago (4 children)

Why do it this way? I'm genuinely unaware.

With the plex2shell, they fixed it in a previous update, then told us later.

If PHP knows what the problem is, why announce it now, and then release the patch. Why not release the patch, say hey guys this is an important one, and then tell the world/every script kiddie who didn't know about php2shell AFTER everyone is patched?

Like I get it, I guess, php2shell must already be happening, the vulnerability is already there, but like... Shut up about it? Right? Let more people patch before you announce why the patch exists?

I'm new to this world so maybe this is normal?

[–] IanTwenty@piefed.social 4 points 17 hours ago (1 children)

They didn't move fast enough on it and others began circulating it. So they had to play catch up, hence the need to react before they had a patch.

We won't pretend otherwise: the delay was a structural failure, caused by both the security team's decision process and its lack of resources. The security team has since started changing its processes, and that work continues, so that decisions can be made by majority and compromises are encouraged.

https://thephp.foundation/blog/2026/10/21/todays-php-security-release-and-how-were-strengthening-php-security/

[–] communism@lemmy.ml 1 points 10 hours ago

Wow, this article really reads as LLM-generated to me. The quoted section with the "We won't pretend otherwise:", the second paragraph in:

This post isn't about how to update. It's about how these vulnerabilities were found and fixed, what has changed in how PHP security is handled over the past two years, and what we need from the organizations that depend on PHP to keep PHP's security work going.

Could they not be bothered to write a write-up about such a critical severity?

[–] NateNate60@lemmy.world 9 points 1 day ago

They originally tried to keep it secret but it got leaked. Initial reports were only that CVSS was 9.2 and it was a permissionless remote code execution exploit. After it got leaked what the exploit was, they gave up.

[–] TimeWalker@piefed.foxden.party 18 points 1 day ago (1 children)

Plex is a closed source software, so it's easier to just push an update and tell about this later. PHP is open source, so if they release a patch for it, you can immediately look up in the source code and find out what has been fixed and kind of reverse engineer what the problem could be.

As this is a very high-class vulnerability, I assume that it's very easy to get into this so if you see the patch, it's probably trivial to just find out what the issue is and immediately start attacking everyone. With this, at least most admins are ready and can plan in that on this time they should check into the issue and patch asap.

[–] hereiamagain@sh.itjust.works 7 points 1 day ago

Ah that makes more sense, that's the key I was missing, thank you

[–] foggy@lemmy.world 18 points 1 day ago (1 children)

Using a tool like Shodan, I can quickly get a list of addresses that have a specific version of PHP behind it.

It sounds like this is a cvss 9.0 or higher for PHP which is bonkers because PHP is such a huge amount of the internet.

My guess is releasing these CVEs the normal way could have catastrophic consequences. They're giving stsadmins a heads up so there is less of a scramble when sysadmins read "hey fix your shit it's totally vulnerable" before they have their coffee.

Like as a sysadmin, this is a great way for them to do this.

I will in 10 mins alert my team that the whole site has to come offline for a period today. I don't need to take it offline in an emergency and tell my boss to send out a memo.

[–] Bane_Killgrind@lemmy.dbzer0.com 5 points 1 day ago (1 children)

I wonder how many docker containers keep their own version of PHP...

[–] foggy@lemmy.world 3 points 1 day ago

I can tell you that every docker container we had running was vulnerable, and none had new versions as of around noon today.

The manual fix is relatively easy, just change a few configs.

[–] freebee@sh.itjust.works 13 points 1 day ago (1 children)

Services are only exposed on local WiFi and behind Tailscale, updated all as soon as possible: still quite safe right?

[–] Carl@anarchist.nexus 16 points 1 day ago (1 children)

Yeah, as long as your firewall is properly hardened and up to date.

[–] Cyber@feddit.uk 5 points 1 day ago

And not using php for a webui

[–] illusionist@lemmy.zip 38 points 1 day ago (2 children)

Shouldn't especially vital services be taken down to secure them?

[–] cybervseas@lemmy.world 36 points 1 day ago

Yep. Except if taking them down will kill people.

[–] Natanox@discuss.tchncs.de 14 points 1 day ago (3 children)

takes down 112 / 911 services

Don't worry guys, we're safe now! ꒰ঌ(˶ˆᗜˆ˵)໒꒱

[–] NateNate60@lemmy.world 4 points 1 day ago

Me when I take down only one hundred twelve out of nine hundred eleven services, leaving seven hundred ninety-nine services still running

[–] HerbGrower@slrpnk.net 11 points 1 day ago (1 children)
[–] Cheebus@lemmy.world 22 points 1 day ago (2 children)

round these parts we use 0118 999 881 999 119 725 3

[–] snoons@lemmy.ca 2 points 21 hours ago

I'll never remember that. I'll just send an email...

[–] FauxLiving@lemmy.world 13 points 1 day ago

0118 999 881 999 119 725 3

We're YOUR emergency services

[–] slazer2au@lemmy.world 9 points 1 day ago (1 children)

As if those are running anything as recent as php.

[–] Natanox@discuss.tchncs.de 4 points 1 day ago

For their interactive mapview in the control room they probably do.

[–] cmnybo@discuss.tchncs.de 32 points 1 day ago (1 children)

It's just one thing after another. I already had to make sure every computer and VPS has the updated CA certificates earlier today. Now I just finished disabling all of my web servers. I hope Debian doesn't take forever getting the patch out.

[–] Natanox@discuss.tchncs.de 9 points 1 day ago* (last edited 1 day ago) (2 children)

They took just a few hours to squeeze out a new ca-certificates. On the other hand the last time there was a huge kernel bug it took well over 24 hours I think…

[–] slazer2au@lemmy.world 11 points 1 day ago

A bad ca is update a file on every pc and application. A kernal bug is way more involved so it doesn't make a new problem later.

[–] lemmyvore@feddit.nl 3 points 1 day ago

They took a lot longer than that on some past vulnerabilities, some of them sat unpatched for weeks or months. But it depends on the severity. A remote exploit of severity 9 will probably get expedited.

[–] FauxLiving@lemmy.world 7 points 1 day ago* (last edited 1 day ago)

Think of Louisiana before Katrina. Those systems of pumps and dykes are expensive and had been neglected... which was fine right up until they were severely tested by Katrina.

Our orange city counselman stopped funding repairs and inspections on the dykes and pumps many years ago (when he destroyed CISA). They've been deteriorating from neglect ever since.

A large hurricane is going to hit at 14:00 UTC

(In 10 minutes)

It'll almost certainly be handled quietly and nobody will know but system admins, but this could be a bigger thing than usual.

[–] lambalicious@lemmy.sdf.org 5 points 1 day ago (1 children)

laughs in keeping an old archive site still in PHP5

[–] bjoern_tantau@swg-empire.de 9 points 1 day ago (1 children)

The vulnerabilities go back that far. You're not safe.

[–] lambalicious@lemmy.sdf.org 10 points 1 day ago

Hey, never said I was laughing out of happiness... 😭

[–] BuckFutter@timeyak.com 2 points 1 day ago

Patches are showing up in the repos now. Ondrej and ubuntu 24.04 have them live now.

[–] Guiorgy@lemmy.ml 6 points 1 day ago (1 children)

Synology had a critical system and PHP package update yesterday, could it be related 🤔

[–] shadowtofu@discuss.tchncs.de 24 points 1 day ago (1 children)

No, there is no fix released for this PHP vulnerability

[–] Guiorgy@lemmy.ml 7 points 1 day ago (4 children)

Wouldn't be surprised if the big guys got first dibs before everyone else

[–] Andres4NY@social.ridetrans.it 12 points 1 day ago

@Guiorgy @shadowtofu That's not how embargoes work. If "the big guys" release, everybody releases. There have clearly been leaks, but afaik no patches made public yet.

load more comments (3 replies)
[–] Decronym@lemmy.decronym.xyz 3 points 1 day ago* (last edited 10 hours ago)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
CA (SSL) Certificate Authority
Plex Brand of media server package
VPS Virtual Private Server (opposed to shared hosting)

3 acronyms in this thread; the most compressed thread commented on today has 19 acronyms.

[Thread #142 for this comm, first seen 21st Oct 2026, 12:40] [FAQ] [Full list] [Contact] [Source code]

load more comments
view more: next ›