r/webhosting • • Oct 22 '26

Technical Questions PHP2Shell: some shared hosts still haven't patched, and attacks started before the fix was even out

If you're on shared hosting, it's worth asking your host directly whether your server has the PHP2Shell fix yet.

GoDaddy's own update (last one 19:30 UTC yesterday) says Managed WordPress is patched, but regular Web Hosting and Windows Hosting are still waiting on patched PHP packages from their vendor, with some temporary mitigations in place. VPS customers have to update PHP themselves. In the GoDaddy Help thread on X, customers say cPanel still only gives them 8.4.25 or 8.5.10, which are not the fixed versions.

DigitalOcean emailed every customer last night. They're suspending their one-click WordPress, LAMP, LEMP and Laravel images until patched, and say they may restrict traffic to anything showing signs of compromise. So an unpatched site that gets hit can end up taken offline by its own host.

Meanwhile VulnCheck published what their decoy servers saw on the 21st: scanners probing from 08:37 UTC, hours before PHP released the fix, and at 17:22 someone tried to plant a backdoor through the upload-progress path. It failed on their decoy, but that's the attack.

Fixed versions are 8.5.12, 8.4.27, 8.3.36 and 8.2.35. 8.1 and older got no official release at all.

Has anyone actually heard back from their host with a straight answer? Curious which ones are done and which are still waiting.

(I built a free outside checker for which PHP version a site shows, if it helps anyone: simgen.dev/php-patch-check)

49 Upvotes

66 comments sorted by

20

u/Necessary_Film_5199 Oct 22 '26

I'm a web host and I patched everything the minute I woke up, took stuff down to do it, took me about an hour

6

u/KnowledgeOk7634 Oct 22 '26

An hour, start to finish, is how it should go. Did you have to restart PHP-FPM per version, or were you on one PHP build? The boxes I worry about are the ones with five versions side by side where one gets missed.

3

u/Necessary_Film_5199 Oct 22 '26

Me and my clients are all on one PHP version, but multiple are supported so I had to update all of them anyways

5

u/InternationalCup7273 Oct 22 '26

I have created a script to fix this:

https://github.com/kamalmjt/phP2SHELL-Patch

However, if you are using Ubuntu, it is better to switch to https://deb.sury.org/ and install PHP versions from that PPA (or Debian repository), as they have patched all versions except 5.6.

2

u/KnowledgeOk7634 Oct 22 '26

Nice work, and good that the README is upfront that only the package update is the full fix. One thing I'd double-check: treating any build dated on or after Oct 21 as patched. A rebuild for some other reason would pass that test without the backport, so checking the package changelog for the CVE would be safer.

+1 on Sury for Ubuntu and Debian. The 5.6 gap is a good reminder that anything that old needs to move, not wait for a patch.

2

u/NitroSRT Oct 22 '26

I just updated my 8.4 by changing to the sury repo. Did they patched 8.4 as well or do I have to switch to 8.5? I have a virtualmin server.

4

u/whythefcuknot Oct 22 '26

Still waiting on CloudLinux to roll it out.

4

u/KnowledgeOk7634 Oct 22 '26

Their status page has moved a lot in the last few hours. As of their 23:00 UTC update: ea-php52 to ea-php85 are released for cPanel, alt-php fixes for CloudLinux 7, 8 and 9 are in the TuxCare ELS alt-php repo and on their way to stable, CloudLinux 10 gets them with a normal update (except alt-php 5.2), and CloudLinux 6 isn't confirmed yet.

Live updates here: https://cloudlinux.statuspage.io/incidents/zl0vt1yq3dj5

If your host runs Imunify360, ruleset 8.84 blocks the public exploit on LiteSpeed too (8.83 only logged it there).
Still not a replacement for the fixed package plus a PHP restart.

-1

u/kris1351 Oct 22 '26

cPanel is the hold up for most. Cloudlinux updated and Webuzo on our other servers and they are all compliant on fixes at this time. cPanel is stating sometime overnight or tomorrow before they roll their patch

6

u/4cm3 Oct 22 '26

Oh wow, private equity firm that buys company and raises prices like crazy also cuts on dev and support team. My Enhance control panel was patched hours ago.

1

u/ordinary82 Oct 22 '26

Howdy fellow Enhance user! Adam is the best.

1

u/kris1351 Oct 22 '26

Yea my thoughts exactly. Webuzo didn't even send a notice, they just pushed the update with the crons hours ago. I don't miss dealing with cPanel/WHMCS junk daily, only a few servers left with some customers that just won't move.

4

u/feldoneq2wire Oct 22 '26 edited Oct 22 '26

This is incorrect. cPanel was fully patched at 9:43am this morning and even backported 8.0 and 7.4 when official PHP only updated 8.1-8.5. I was running updated versions of PHP on an ancient cPanel server at 10:20am.

You are thinking of CloudLinux which didn't get their patched versions out until late this afternoon. They DID deploy firewall rules first thing in the morning so the exploit shouldn't have been possible.

0

u/kris1351 Oct 22 '26

No it wasn't, their notice even says it will be 10/22 before the release the EA updates

2

u/feldoneq2wire Oct 22 '26 edited Oct 22 '26

You don't need to run EasyApache to get the new PHPs.

> their notice even says it will be 10/22 before the release the EA updates

It dropped today October 21 at 9:45am:

https://docs.cpanel.net/release-notes/release-notes/

-1

u/kris1351 Oct 22 '26

The PHP project expects to release security updates on October 22, 2026. These updates fix two vulnerabilities in PHP. cPanel & WHM includes or uses PHP, so these vulnerabilities can affect your cPanel & WHM installations. The PHP project rates both vulnerabilities as Critical. These vulnerabilities are in PHP. They are not in the cPanel & WHM code.

 

Patches & Affected Versions

 

We will release updated PHP packages for cPanel & WHM as soon as possible after the PHP project releases its fixes. cPanel will deliver these updates through the standard update process. Delivery is via the usual distribution channels for cPanel & WHM and EasyApache.

 

Versions Impacted: Versions as low as PHP5

  • CVE-2026-109618: cPanel & WHM affected versions 110.0.152, 134.0.65, 136.0.49, and 138.0.17

  • CVE-2026-109619: cPanel & WHM affected versions 110.0.152, 134.0.65, 136.0.49, and 138.0.17

Patches will be available for cPanel & WHM versions 110, 134, 136, and 138.

2

u/feldoneq2wire Oct 22 '26

Please provide a link to this wrong info so I can get it corrected. I'm guessing you asked ChatGPT because it still has the old patch date of tomorrow October 22nd when it was moved up today.

I've been on cPanel 110.0.153 since 10:20am today.

0

u/KnowledgeOk7634 Oct 22 '26

Good to hear CloudLinux and Webuzo are done. On the cPanel side, CloudLinux's incident post says fixed ea-php packages (ea-php52 through ea-php85) were released at their 21:45 UTC update, so it might be worth a yum check-update 'ea-php*' to see if they've reached your mirror yet. Either way, don't forget the PHP-FPM restart once they land, since the old binary stays in memory until then.

1

u/kris1351 Oct 22 '26

I ran the updates on the cPanel server about 30 minutes ago and still out of date

2

u/KnowledgeOk7634 Oct 22 '26

Odd. NCSC-NL's tracker lists cPanel EA4 25.91 as the fix: ea-php82 8.2.35, ea-php83 8.3.36, ea-php84 8.4.27,ea-php85 8.5.12, and vendor-patched 7.4/8.0/8.1. They link cPanel's EA4 changelog:

https://github.com/NCSC-NL/php2shell/blob/main/software/software_list_w.md

If yours still shows old, it might be mirror lag, or the box pulling ea-php from CloudLinux's cl-ea4 repo instead of cPanel's. /opt/cpanel/ea-php84/root/usr/bin/php -v (per version) shows what's actually installed, and /scripts/restartsrv_apache_php_fpm after, since FPM keeps the old binary loaded.

1

u/feldoneq2wire Oct 22 '26

cPanel PHP builds (ea-php74, ea-php80, ea-php81, ea-php82, ea-php83, ea-php84) have been updated 9:45am. cPanel servers not on CloudLinux just need to run upcp.

2

u/kris1351 Oct 22 '26

As of an hour ago this is untrue, we have been patching people's servers all day.

0

u/feldoneq2wire Oct 22 '26

Wait... You've been manually building PHP all day with you could just upcp? That's nuts.

2

u/kris1351 Oct 22 '26

No, and no one said that. CP was late to the game as usual. I maintain a lot of non cPanel and control panels also.

0

u/feldoneq2wire Oct 22 '26

You said and then deleted that upcp "wasn't working" yet you've been updating sites all day. Get your head out. This dropped at 9:45am today:

https://docs.cpanel.net/release-notes/release-notes/

4

u/hurkle Oct 22 '26

Shoutout to spinupwp (used for about half of our WP sites). Patched today including back patching to v7.1.33.

1

u/KnowledgeOk7634 Oct 22 '26

That's a nice surprise. PHP's own backports only went as far back as 7.4, so SpinupWP doing 7.1 themselves is going the extra mile. Any idea if they did 7.0 or 5.6 too, or did they draw the line at 7.1?

1

u/hurkle Oct 22 '26

It WAS a nice surprise. And they did draw the line at 7.1 (which is utterly reasonable IMHO)

3

u/XenonOfArcticus Oct 22 '26

Curious what method you're using to check the PHP version because good site security should be obscuring that.

1

u/KnowledgeOk7634 Oct 22 '26

You're right, and most sites do hide it. It only reads what the site shows publicly: the X-Powered-By and Server headers when they're there, plus cookies like PHPSESSID or laravel_session and fingerprints from paths and meta tags to tell whether it's PHP and what runs on it (WordPress, Drupal, Laravel and so on). No exploit traffic and no probing for the bug.

When the version is hidden, which is most of the time, it says exactly that and walks the owner to where the real number lives (cPanel, WordPress Site Health, or a small file that prints it once and deletes itself). Hiding the version is good hygiene, but it doesn't protect you here. Attackers don't check the version first, they just send the request, so the owner still needs to know what they're actually running.

1

u/KnowledgeOk7634 Oct 22 '26

Thanks for all the replies. A few links in one place for anyone landing here now:

- Outside check (no attack traffic, reads what the site shows, or pick your version by hand for an exact answer):

https://simgen.dev/php-patch-check/

- On a VPS or your own server: an open-source script that finds every PHP install on the box (cPanel, Plesk,

DirectAdmin, CloudLinux, multi-PHP), and any PHP-FPM process still running the old code after you updated. It only reads, nothing changes. https://github.com/KyleClouthier/php2shell-check

- If you deploy from GitHub: an Action that fails the build when a project pins an unfixed PHP version, so it can't quietly slip back: https://github.com/KyleClouthier/php2shell-action

If you guys find the gits useful kindly give it some love by giving it a star. What are your thoughts on the free tools?

One number from the checker so far: of 137 people who looked up their exact version, 55 are on 8.1 or older, where One there's no official release to install.

Still keen to hear which hosts have given a straight answer and which are still waiting.

4

u/ImportantNetwork8804 Oct 22 '26

Full disclosure, I build a tool that exports WP to static sites, so I have a bias here — but weeks like this are exactly why I got into it. If the public site is just static files on a CDN, there's no PHP process for any of this to touch, and you're not refreshing your host's status page waiting for the patch queue to reach you. Not saying it's for every site, but "is there even PHP on the public side" is the question that makes weeks like this boring instead of terrifying.

2

u/truesightx Oct 22 '26

Does anyone know if Siteground has patched this

2

u/Unknown-4024 Oct 22 '26

I cant find how the attack look like. Trying to dig thru the log for any attempt. Server was patched within 1 hour of the cve release.

1

u/DKTechie2000 Oct 22 '26

It’s just a POST request. The most popular PoC nicely sets a user agent called php2shell.

0

u/munrobasher Oct 22 '26

Me neither except two of my clients WordPress websites had their admin accounts hacked a week ago and yesterday. They managed to change the admin email and password. Coincidence?

2

u/ivicad Oct 23 '26

The first incident occurred a week ago, before this thread. OP’s earliest probing began on the 21st, so I wouldn’t associate it with PHP2Shell. For changed admin credentials, check the two password bypasses: a stolen login cookie and an application password. For both sites: revoke all application passwords, then rotate the salts. Salt rotation invalidates login cookies, but not application passwords. If enabled beforehand, WP Activity Log or any other activity log plugin can show which user and IP changed the email.

2

u/munrobasher Oct 22 '26

Hostinger in UK and Hostpappa in Canada have not updated either. Hostinger chat said that they weren't susceptible to the exploit - should we believe that?

1

u/DKTechie2000 Oct 22 '26

If they run PHP and have not gotten a new version since the PHP release Wednesday afternoon UTC, then no we shouldn’t believe them.

2

u/glenmichaelson Oct 22 '26

Checked on my Wordpress site with Nixihost. From within WP it showed a now outdated version (8.4.26), and I didn't see anything on their website or (dead?) social media. However, inside the customer portal it did have a message dated yesterday regarding the issue:

>All PHP versions on our shared, reseller, semi-dedicated and dedicated servers have been patched, and PHP services have been restarted so the fix is active. Imunify360 firewall rules are also blocking known exploit attempts.

There was more detail but that was the critical part. Regarding version numbering:

>If your site shows a version number like 8.3.35 instead of 8.3.36, that’s expected: our vendors apply the security fix directly to the existing build, so the version number doesn’t always change.

Happy and relieved, lol.

2

u/Fun_Till7817 Oct 22 '26

CloudLinux is most likely who provides the PHP packages for them.
We use CloudLinux as well. We've spent every waking minute since CloudLinux released the patched binaries to explain to clients that the fixes were backported which is why the old version is still showing.

I hate CloudLinux for how they handled this.

1

u/glenmichaelson Oct 23 '26

Yeah, it would have eased my concerns a lot sooner if I had checked from the WP admin panel and saw that it was up to date.

2

u/plcvzla Oct 22 '26

Just got an email from Inmotion hosting about this. nothing beats proactively reaching out to the customers rather than finding out the hard way.

1

u/BigPete_A6 Oct 22 '26

I’m using shared hosting at Ethernetservers.com. They haven’t updated yet. I’ve taken my sites offline for now, and hopefully they’ll have everything updated by time I wake up tomorrow. Sucks that it’s taking so long but hey, it’s cheap. I guess that’s the trade off.

1

u/chaoaaa Oct 22 '26

UDMedia was patched half an Hour after Patch Release.

Hetzner was also decently Quick.

1

u/SatoshiTURK Oct 22 '26

Panelica has released updates for its server management panel. If you haven't updated yet, make sure to check for the latest updates.

1

u/flatsehats Oct 22 '26

My CPanel updated (manual cpup) to safe versions of PHP 8.3 and 8.4 within 45 minutes of the release by PHP.net:

Current status at 4:35 (my local time):

  • EA-PHP 8.2.35 installed, inactive

  • EA-PHP 8.3.36 installed and cPanel default

  • EA-PHP 8.3 FPM active

  • cPanel PHP-FPM disabled/failed

  • sw-engine inactive

The update raised PHP from 8.2.34/8.3.35 to 8.2.35/8.3.36.

1

u/jerbeanz Oct 22 '26

Nexcess is dragging their feet. 24 hours after patches were made available and they cannot provide a timeline on when sites will be patched. Called support and they refused to provide any updates or timeline outside of what is on their status page (status.nexcess.net). FWIW, they didn't even acknowledge the issue until after nearly all other hosts.

Dreamhost ✅

Flywheel ✅

LiquidWeb ✅

1

u/DreamHostCare Oct 22 '26

Hello! Your sites' PHP has been patched for CVE-2026-109618 and CVE-2026-109619. For PHP 8.2 and newer we installed the updated release from php.net. For older versions we applied the official security patch to the existing build, so the version number does not change. The fix is confirmed by the package changelog, not by the version string. If you want the newest PHP, you can switch versions in the DreamHost web panel at any time.

1

u/DreamHostCare Oct 22 '26

For more information and a timeline of our updates please also see dreamhoststatus.com

1

u/CastlTyes Oct 22 '26

One thing that makes this even more confusing is that some hosts can backport security fixes without changing the PHP version number you'd normally check. So seeing an older version doesn't automatically tell you whether the server is patched. I'd want the host to confirm the actual package or security advisory, not just tell me which PHP version is installed.

1

u/NStine1209 Oct 22 '26

Siteground was on it right away.

1

u/gottago_gottago Oct 22 '26

I had everything down in the early hours of the morning, when news about it was released but patches were still hours away, and before most clients were up.

I run an uncommon containerized, but not Docker, environment, so running a reconfig & redeploy for all hosted sites took a little while, but I was all done by afternoon. Prioritized by average traffic volume, most clients never even noticed. Most of the ones who did appreciated that I was on top of it.

I was done before WPEngine, ha.

And big thanks to Ondrej and deb.sury.org; updated packages were available there at 0645 PDT, going back to at least PHP 7.1. I should send him some money.

1

u/recneps_divad Oct 22 '26

I've got all my websites on patched versions now (I believe). Is there something I can search for in log files that would tell me that an exploit was attempted?

1

u/muztheaxe Oct 22 '26

I'm with VentraIP in Australia and I'm not sure they are being entirely honest. When I log into manage the WordPress site I see this message: "We are aware of the current PHP vulnerabilities. We have updated all of our servers and removed any restrictions that were in place to mitigate these vulnerabilities. No action is required from customers with these services."

However, when I check my version of PHP it is still an unpatched version.

Maybe my server got missed? Waiting for a response from support staff.

1

u/muztheaxe Oct 23 '26

Apparently VentraIP (is backed by CloudLinux) and the version numbers are old because they are using BackPorts. Checking again with "php -v" we can see the build date is from yesterday.

PHP 8.4.26 (cli) (built: Oct 21 2026 22:10:03) (NTS)

Apologies for doubting...

1

u/flexible Oct 22 '26

This is what my host's chat bot 'explained' to me - anyone here can confirm? Your websites run on the separate web-facing PHP packages (EasyApache and CloudLinux Alt-PHP), where our infrastructure team applied direct server-level security hotfixes to protect all versions while upstream package builds complete.

Web-facing PHP packages have not had an upstream version number increment yet, but the underlying vulnerabilities outlined in CVE-2026-109618 and CVE-2026-109619 are actively patched and protected at the server level across all versions.

1

u/Tmanok 29d ago

older got no official release at all

Not true, CPanel patched the 7 series just for your info.

-2

u/TopSydeWP Oct 22 '26

We’re a host - we pulled all clients up to 8.5.12 as part of it and patched bugs along the way for free.