PHP2Shell: here’s what we’ve done

PHP2Shell timeline: PHP announces without details at 21:32 on 20 October, an exploit example appears on GitHub at 09:31 on 21 October, we switch off the targeted feature at 13:57, PHP releases fixes at 15:00 and all our servers get patched PHP from 17:16 on 21 October to 00:32 on 22 October.

On Wednesday we had a lot of questions about PHP2Shell, and headlines warned that millions of sites were at risk. Here’s what happened on our side, hour by hour.

The vulnerability is in PHP, the programming language WordPress runs on, not in WordPress itself. So it couldn’t be fixed by updating the site. It was the server that needed attention.

The night before, nobody knew what it was

PHP put out a notice at 21:32 on Tuesday 20 October. It said two critical flaws would be fixed the next day, but nothing about how they worked. With so little to go on, there was nothing we could change on the servers.

On Wednesday morning an exploit example appeared on GitHub. That showed us the attack went through a PHP feature that reports how far a file upload has got.

We switched the feature off that afternoon

At 13:57 our hosting company Synotio started switching the feature off on every server, and by 14:12 it was done. WordPress doesn’t use the feature, so we could switch it off without affecting any site.

Switching it off closed the route the published attack used. The real fix was the patched version of PHP, which PHP released at 15:00.

Then we updated every server

At 17:16 we started rolling out the patched version of PHP, and by 00:32 it was installed for every client, including servers on older PHP versions.

The timeline, UK time

  • 20 October, 21:32: PHP announces two critical flaws, without details.
  • 21 October, 09:31: an exploit example is published on GitHub.
  • 21 October, 13:57–14:12: we switch off the feature the attack uses, on every server.
  • 21 October, 15:00: PHP releases the fixes.
  • 21 October, 17:16: we start rolling out the patched version of PHP.
  • 22 October, 00:32: the update is complete for every client, including older PHP versions.

Do you need to do anything?

If your site is hosted with us, there’s nothing you need to do. If you host elsewhere, ask your provider whether PHP has been updated since 21 October and how they’ve handled older versions.

For developers

PHP2Shell is made up of CVE-2026-109618 and CVE-2026-109619, both scoring 9.2 on CVSS v4.0. The exploit example used session upload progress, so we set session.upload_progress.enabled = Off globally in php.ini. According to PHP’s security advisory that covers CVE-2026-109619 and isn’t a complete mitigation, which is why we patched as soon as we could.

The dedicated servers were updated with packages from Remi and the shared clusters with CloudLinux ALT PHP. Versions no longer getting official updates received backported patches. Fixed releases from PHP: 8.5.12, 8.4.27, 8.3.36 and 8.2.35.

Get in touch if you have any questions, or if you’d like us to take a look at how your site is hosted.