Back to insights
Canlus cover illustration: a glowing website window standing on a stack of servers split by a bright crack through its foundation

PHP2Shell: The Emergency Patch Your Website Host Hasn't Installed Yet

English简体中文

If your business website runs on WordPress — and most small-business websites do — you probably believe that keeping WordPress and your plugins updated is what keeps you safe. That assumption broke on October 21, 2026.

On October 21, 2026, the PHP security team released an emergency patch for two critical vulnerabilities, CVE-2026-109618 and CVE-2026-109619, both rated 9.2 out of 10. Security researchers call them PHP2Shell: they let a remote attacker run their own code on your web server without logging in. Details of the flaws leaked a day early; Dutch government services, including DigiD and MijnOverheid, took systems offline as a precaution, and Cloudflare says it has already seen the first exploitation attempts.

Here is what this means for a Calgary small business owner. PHP is the language your website is built on — WordPress, Drupal, and Magento all run on it. The flaw sits in the language itself, not in WordPress. So updating WordPress does nothing. Your web host has to update the PHP version on the server. And here is the uncomfortable part: the October 21 patch only covers supported PHP versions (8.2 through 8.5). If your site still runs PHP 5, 7, or 8.0/8.1, no patch is coming — the PHP team put it bluntly: updating is the only safe choice. A large share of small-business sites sit on shared hosting running PHP versions the host hasn't touched in years. Those are exactly the sites attackers scan for first.

Do these three things.

First, find out what PHP version your site runs. Ask your web host or your web person one question: what PHP version is my site on, and is the October 21 PHP2Shell patch applied? If you can't get a straight answer within a day, that is a red flag about your provider.

Second, get patched or get off the old version. On PHP 8.2 to 8.5, the fix is available — your host should apply it now. On PHP 5, 7, 8.0, or 8.1, plan the upgrade; staying put means staying exposed with no fix coming.

Third, check what else is exposed. Cloudflare's emergency filters are a stopgap, not a fix — they only help if your server's real address is hidden behind them. An attacker who knows your server's IP can bypass the filter entirely. Make sure your host blocks direct traffic to your server.

At Canlus, this is the exact check we run for Calgary small businesses: what your website actually runs on, what your host never told you, and where the gaps are. Book a free consultation at canlus.com and find out before an attacker does.

Update — October 23, 2026

Two days after the PHP2Shell emergency patches, the PHP team published an informational advisory for a separate issue, CVE-2026-115560: a remote code execution flaw in how PHP handles session upload progress. There is no patch yet — the fix is scheduled for the next routine release.

Before you panic: the conditions are narrow. The flaw can only be triggered when an application sets session.serialize_handler to php_binary or php_serialize and then switches it to php with ini_set() before session_start(), with session upload progress enabled. PHP itself describes this setup as unlikely in practice, and most sites will not be affected.

The mitigation is one line: set session.upload_progress.enabled to 0. PHP's October 21 advisory for CVE-2026-109619 already listed this same setting as a mitigation — if your host applied it then, you are already covered for this flaw as well. It was not one of the three steps in our October 21 article; if you have not applied it yet, ask your host to do so until the routine fix ships.

Sources: PHP security advisory — Critical remote code execution vulnerabilities, update now (php.net); The Hacker News — “PHP Warns of Another Unpatched RCE Risk Two Days After Emergency PHP2Shell Patches” (October 23, 2026); PHP.net — official advisory on CVE-2026-115560 (session upload progress; mitigation: session.upload_progress.enabled=0); Cloudflare — PHP vulnerabilities & WAF protection (official blog, Oct 21, 2026); Dutch Government (Rijksoverheid) — Government websites taken offline as a precaution after PHP vulnerabilities (Oct 21, 2026)