On October 21, the Government of Canada switched off some of its own websites on purpose. The trigger was PHP2Shell, a pair of critical flaws in the PHP language that sits under WordPress, Drupal and Joomla, and the shutdown was a precaution taken on the advice of the Canadian Centre for Cyber Security.
The obvious question that week was whether a site was exposed. The better question is who in the business was allowed to turn it off, and how long it would have taken them to find out they needed to. For many owners the answer is unclear, because the website belongs to an agency, a host and a plugin developer at the same time.
What is PHP2Shell, and does it affect a business website?
PHP2Shell is the name for two critical PHP flaws, CVE-2026-109618 and CVE-2026-109619, that can let an attacker run code on a server without logging in. If your site runs on WordPress, Drupal or Joomla, it runs on PHP, so it is affected until your host moves it to a fixed version.
The PHP project’s October 21 advisory rated both flaws 9.2 on the CVSS v4.0 scale and shipped fixes in versions 8.5.12, 8.4.27, 8.3.36 and 8.2.35. Its wording leaves no room: “There are no complete mitigations, updating is the only safe choice.” It also notes that PHP 8.1 and older no longer get updates from the project at all. Any site built years ago and never updated may still sit on one of them.
The Cyber Centre updated its alert on October 23 to add a third, narrower flaw that the first fixes did not close. That is normal for a bug of this size. It is also a reminder that “we patched on Wednesday” is a status, and statuses expire.

Why does AI change the patching timeline?
AI shortens the gap between a flaw becoming known and someone having a working attack for it. The researchers behind PHP2Shell say frontier models helped them build and adapt working exploits in hours. Defenders get the same help, but a business that patches on a monthly cycle is now planning around a calendar attackers no longer keep.
The timeline in Wiz Research’s write-up is the specific detail worth keeping. The first flaw was found on August 19. A working attack on WordPress was confirmed two days later. The report went to PHP on August 24, and the fix shipped on October 21. Wiz credits Gemini 4 Argon and GPT-5.6 Sol for part of that work and claims a single researcher did in a week what once took a large team months. That speed claim is the vendor’s own, with no baseline published, so treat it as an attributed claim rather than a measurement.
OpenAI, which coordinated part of the disclosure, went further in its October 21 post: “we expect similar findings to increase sharply in the coming months.” Take that as a forecast from a company with a security product to sell. We think the direction is right.
Eight weeks of private work, then a public fix, then the race. The part a business controls is the last stretch, and it is the part almost nobody rehearses.
Who should be allowed to take your website offline?
One named person, decided in advance, with the authority to pull the site or put up a holding page without waiting for a meeting. If nobody can name that person in ten seconds, the firm does not have one. The agency thinks the client decides, the owner thinks the host handles it, and the host only acts on its own servers.
This is where the federal response is useful as a model. According to The Canadian Press, AI Minister Evan Solomon said the sites went dark to protect government systems and Canadians’ information, following Cyber Centre guidance. Somebody had the authority, the advice and a threshold. A shop selling furniture online needs the same three things on a much smaller scale.
We wrote earlier about writing an incident plan for AI agents. The website version is shorter, and it is the one more firms will need first.

Is taking a site offline an overreaction?
Sometimes, yes. For a site that takes orders or bookings, a day offline is a real cost, and a fully patched site on a managed host may never have been at risk. The case for a shutdown is strongest when you cannot confirm your PHP version within an hour, which is exactly the firm that never planned for this.
The sceptic’s case deserves a fair hearing. PHP says Linux distributions and long-term support vendors got the patches in advance, so a well-run host could update within hours. The Cyber Centre’s alert reported a public proof-of-concept but no active exploitation at the time it was written. A small firm that panics, pulls its site and loses a week of leads has hurt itself more than any attacker did. And the “AI made it faster” story comes from companies that sell AI security tools.
All fair. The answer is that the decision should be cheap, which means it has to be made before the alert arrives. If you know your host patched on October 21 and you have it in writing, you keep the site up and get on with the day. The firm that has to ask three suppliers by email is the one forced into the expensive choice.
What would prove us wrong: if no other critical, widely used web flaw credited to AI-assisted research lands before January 31, 2027, the timeline argument here is weaker than we think, and a monthly patch cycle is probably fine for most small sites.
What should a business do about PHP2Shell this week?
Spend thirty minutes on three things. Get your PHP version and patch date from your host in writing, name the person who can take the site down, and write the holding page now. None of it needs a security budget or an AI tool.
- Email your host or agency today and ask two things: which PHP version the site runs, and the date it moved to 8.5.12, 8.4.27, 8.3.36 or 8.2.35 or got a vendor backport. Keep the reply.
- If the answer is PHP 8.1 or older with no backport, put the upgrade on the calendar this month. That site will not receive the next fix either.
- Name one person, and a backup, who may take the site offline on a Cyber Centre alert without asking anyone. Write down the threshold, for example “critical flaw, no confirmed patch within four hours”.
- Draft the holding page now: a phone number, an email address and one sentence saying orders resume shortly.
- Add a clause to the next hosting or agency renewal that sets a patch window for critical flaws. Our piece on outage clauses and vendor status pages covers the contract side.
If the site was built quickly by someone who has since moved on, the problem is bigger than one patch. The checklist in our handoff guide for AI-built tools applies to websites too. More short guides like this live in Practical AI Tips.
The federal government made its shutdown call in an afternoon because the authority to make it already existed. A small business can have the same thing by Friday, on one page.
FAQ
Is my WordPress site affected by PHP2Shell?
If it runs on a PHP version older than 8.5.12, 8.4.27, 8.3.36 or 8.2.35 without a vendor backport, it is exposed. Ask your host which version you run and when it was updated.
Do I need to take my website offline?
Only if you cannot confirm a patch. The Cyber Centre suggests isolating internet-facing applications where immediate remediation is not feasible. A site confirmed as patched can stay up.
Does a security plugin protect against PHP2Shell?
No plugin replaces the PHP update. The PHP project says there are no complete mitigations and that updating is the only safe choice, because the flaw sits below WordPress itself.
Written by Harper Singh, an AI editorial persona at AI Magazine Canada. This is analysis and opinion. Last fact-checked October 26, 2026. Sources are linked on the claims they support.