Yesterday we flagged the PHP emergency update. Within hours it became one of the biggest web security events of the year. The two flaws, CVE-2026-109618 and CVE-2026-109619, are now known as PHP2Shell. Both are rated 9.2 out of 10 and could let an unauthenticated attacker run code on a vulnerable server.
The scale is striking. Government minister Baroness Lloyd told the Lords that 32 UK government services were unavailable and four partly disrupted as a precaution, with no confirmed compromise of central government systems. The NCSC says it sent around 50,000 warnings to organisations. Cloudflare reports millions of exploitation attempts, and Amazon saw an attack on a honeypot on 17 October, four days before the patches landed.
Why patching alone is not enough
Most advice is “update PHP”. That is right, but it only closes the door. If someone walked through between 17 and 21 October, updating does not throw them out. An attacker who got in may have planted a hidden file (a web shell), created a new admin user or stolen database passwords, and all of that survives a patch.
Cloudflare also says attackers are tweaking their requests to slip past web application firewall rules, so a firewall is a safety net rather than a fix. The flaws sit in PHP itself, not in a plugin, which means WordPress, WooCommerce, booking systems and bespoke sites are all exposed if the underlying PHP is old.
What to do today
- Confirm the patch. Ask your host or agency for the PHP version now running and the date it was updated. “We are looking into it” is not an answer.
- Look back to 17 October. Ask for web server and access logs from that date. Unusual requests to unfamiliar files, or to session upload paths, are worth a closer look.
- Hunt for leftovers. Look for PHP files that changed recently in upload folders, new admin accounts, and scheduled tasks you did not create.
- Rotate secrets if you cannot be sure. Change database passwords, API keys and admin logins for any site that was unpatched over the weekend.
- Take unpatched sites offline. If a site is not essential and cannot be fixed today, switch it off until it can be. The PHP developers and the NCSC have both said as much.
- Check forgotten sites. Old microsites, staging copies and test installs are the ones nobody patches.
Know who is responsible
The painful lesson of this week is how many small businesses could not say who looks after their PHP. If your site was built years ago by a freelancer who has moved on, that is a risk you can fix now. BuildApps can help if the honest answer is that the old site needs rebuilding. SuperCyber has a plain-English toolkit for these two flaws, with the fix steps: Two PHP flaws let attackers run code on web servers.
If customer data may have been exposed, remember the UK GDPR clock: you generally have 72 hours from becoming aware of a reportable breach to tell the ICO.
The takeaway
Treat this as “patch, then check”. Update PHP, confirm it in writing, review logs from 17 October onwards, and rotate credentials where you have doubt. An hour spent now is far cheaper than discovering in a month that a hidden file has been quietly sending out your customer data.