News

Critical PHP Flaws Put Business Websites at Risk—Check Yours Now

Critical PHP Flaws Put Business Websites at Risk—Check Yours Now

Critical PHP Flaw

On October 21, 2026, the PHP project released emergency updates for two critical security flaws. You may never have heard of PHP, but your website probably runs on it. PHP is the programming language behind WordPress, Drupal, Joomla, Magento, and a large portion of the web. It runs on the server, building each page before a visitor ever sees it.

These flaws let an attacker run their own code on a vulnerable server without logging in first. Both are rated 9.2 out of 10 on the industry’s standard severity scale. In plain terms, someone on the other side of the world could potentially take over your website and everything else on that server. The National Security Agency warned that flaws like these often give attackers a direct route to a server’s files and database, which is where customer information lives.

Updating WordPress Won’t Cover This One

Most website security issues live in a plugin or theme, which is why keeping WordPress updated matters. But these flaws, nicknamed “PHP2Shell,” are in PHP itself. A WordPress site with every update installed is still vulnerable if the underlying server runs an unpatched version of PHP. Fixing that is the job of whoever runs the server, usually your hosting provider, sometimes your web developer.

The rollout was also messier than usual. Details leaked before the fix was ready, researchers have demonstrated a working attack, and Cloudflare’s CTO reported early attacks in the wild. Nobody had confirmed a successful break-in by release day, but some organizations weren’t waiting to find out. BambooHR took its service offline as a precaution, and the Netherlands pulled DigiD, its government login system, along with other government sites.

Your Macs and iPhones Should Be Fine

Apple stopped including PHP with macOS 12 Monterey, and iOS never had it, so updated Apple devices aren’t at risk. Older Apple devices could be a different story, so reach out if you have concerns. If you or a developer installed PHP on a Mac for testing purposes through something like Homebrew, make sure that copy gets updated too.

The Version Number Doesn’t Tell the Whole Story

The patched releases are PHP 8.5.12, 8.4.27, 8.3.36, and 8.2.35. You might think checking your site is as simple as comparing version numbers. Unfortunately it’s not.

Many hosting companies run PHP packages from Linux distributions like Ubuntu and Red Hat. Those vendors received the fixes early and often ship them under the old version number. A site reporting PHP 8.1 might already be patched, and one showing 8.3 might not be. Old versions are everywhere too. Security firm Mallory found that 59% of servers reported PHP 8.1 or older the day before the release, all versions the PHP project no longer supports.

So check the number, then keep going:

  • Look up your PHP version: In WordPress, go to Tools > Site Health, click Info, and expand the Server section. Hosting control panels like cPanel and Plesk show it there too.
  • Ask your host a specific question: Skip “What version are we on?” and ask instead: “Is the October 21 PHP security fix installed on our server, and has PHP been restarted since?” A good host can answer that quickly. If yours can’t, that’s worth knowing.
  • Plan an upgrade from old versions: The PHP project no longer supports PHP 8.1 and earlier, and 8.2 reaches end of life on December 31, 2026. If your site runs any of those, schedule a move to PHP 8.3 or later. Back up first and test before switching the live site. Older themes and plugins sometimes break on newer PHP, which is exactly why so many sites never got upgraded.
  • Lean on Cloudflare for now: If your site’s traffic runs through Cloudflare, even on the free plan, Cloudflare has added rules that block known attack methods. That buys time, but it doesn’t replace the fix.
  • Watch for signs of trouble: Unfamiliar admin accounts, files nobody added, pages redirecting to strange sites, and browser or Google warnings about your site all deserve a closer look from whoever manages it.

If You Run a Business

A website is running software, and someone needs to own its upkeep. If you can’t name that person right now, start there.

Think beyond the website too. PHP also shows up in hosting control panels and in the web-based admin pages of some office equipment. Ask your IT provider whether anything else you rely on runs it. The NSA, the FBI’s Cyber Division, and the UK’s National Cyber Security Centre all advised that if you can’t update right away, take the system offline until it’s fixed. That sounds drastic, but a website down for a day costs far less than one that’s been compromised.

The Bottom Line

Check your site today and get a straight answer from your host about whether the fix is installed. If your site is on an old version of PHP, let this be the push to finally get it updated. If you’d like us to check your website or handle the upgrade, get in touch.

(Featured image credit: ChatGPT)

Scroll to Top