Back to Blog
E-Commerce

PHP2Shell: Is Your Website or Store at Risk?

10Native TeamOctober 29, 20267 min read
PHP2Shell: Is Your Website or Store at Risk?

If your website runs on PHP and nobody has touched the server since the middle of October, stop what you're doing and read this. On October 21, 2026, the PHP project shipped emergency fixes for two critical flaws that let a stranger run code on your server without logging in. They're being called PHP2Shell, and attackers started trying them before the fix was even public.

This post covers what happened, what it can do to your site and your sales, and how to fix it. It's written for business owners, not engineers.

What is the PHP2Shell vulnerability?

PHP2Shell is the nickname for two critical security flaws inside PHP itself, tracked as CVE-2026-109618 and CVE-2026-109619. Both score 9.2 out of 10 for severity. They let an attacker run their own code on a vulnerable web server without any username or password.

The key detail is where the bug lives. It's not in a plugin, a theme or your developer's code. It's in the PHP engine underneath all of it. Think of it like a cracked foundation: you can repaint the house all day and the crack is still there.

PHP fixed both flaws on October 21 in versions 8.5.12, 8.4.27, 8.3.36 and 8.2.35. The affected code goes back to PHP 5.4, which dates from 2012.

Is my website affected?

Your website is probably affected if it runs on PHP and the server hasn't been updated to one of the patched versions. PHP powers roughly 70% of the websites whose server language is known, so that's a lot of sites.

That includes:

  • WordPress and WooCommerce
  • Magento and Adobe Commerce
  • Drupal and Joomla
  • Shopware, PrestaShop and OpenCart
  • Custom-built sites, booking tools, client portals and old landing pages nobody remembers

Here's the part that surprises people. WooCommerce has said no WooCommerce or WordPress update is coming, because the fix isn't in their software. It's in PHP, on the server. A fully updated store can still be exposed if the PHP underneath it is old. Security firm Sansec put it plainly: stores are affected even when their own code is clean.

Two groups are in the worst spot:

1. Sites on PHP 8.1 or older. PHP no longer releases fixes for those versions, so you need a backport from your host or a proper upgrade.

2. Self-managed servers and cheap shared hosting. Nobody is updating PHP for you unless you ask.

If you're on a good managed host, they may have already patched it. Don't assume, though. Ask.

How does the PHP flaw affect a business, not just a server?

It affects a business through downtime, stolen data, hijacked checkouts and lost trust. A server problem becomes a revenue problem very quickly when the site is how you make money.

Downtime. The scale of the response tells you how seriously people took it. Government and public websites in the UK, France, the Netherlands, Finland and Australia were pulled offline as a precaution while they updated. Oxford City Council told visitors it was a precaution, not a cyber incident. If a council can go dark for a day, so can your store, and unlike a council, you lose sales every hour.

Attacks already happening. Cloudflare's CEO described a dramatic surge in attempts once the flaw was announced, and Patchstack heard about active exploitation from hosting partners before the official release. So "we'll get to it next month" isn't a plan.

Stolen customer data. Code execution means an attacker can reach whatever your server can reach: customer details, order history, admin logins, payment and shipping integrations.

Checkout skimmers. On online stores, the server is rarely the real prize. The real prize is your checkout page. Attackers use their access to slip in a tiny script that copies card details as customers type them. It's invisible to shoppers and often to the store owner. Updating PHP closes the door, but it doesn't throw out anyone who already got in.

Search rankings and trust. A few hours of planned maintenance won't hurt your SEO. A site that's down for days, or that starts serving spam pages or warnings from Google, will. Customers also remember being told their data was exposed.

What should I do right now?

Update PHP on your server to a patched version, restart it, then check your site for signs of tampering. Updating is the only complete fix. Firewalls help in the meantime but don't replace it.

1. Find out what PHP version you're on. Your hosting dashboard or your developer can tell you in a minute.

2. Update to 8.2.35, 8.3.36, 8.4.27 or 8.5.12 (or newer). If you're on 8.1 or older, plan a proper upgrade.

3. Restart PHP. An update that isn't restarted doesn't protect you.

4. Test on a staging copy first if you run custom code or lots of plugins, since newer PHP can break old ones.

5. Check for damage. Look for admin users you don't recognize, files changed recently, and unfamiliar scripts on your checkout page. Then place a test order.

6. Change your passwords and API keys if your site was exposed before patching. These flaws can leak server memory, which may hold secrets.

7. Inventory everything. Blogs, old microsites and forgotten tools count too.

If you can't patch immediately, the UK's National Cyber Security Centre has said organizations should consider taking the affected system offline until they can.

What about Shopify stores?

Shopify's core platform isn't built on PHP. It runs on Ruby on Rails, and Shopify maintains its own servers, so there's no PHP on your side to update. That's one of the quiet advantages of a hosted platform.

But your business probably touches more than the storefront. Third-party apps run on their developers' servers, and plenty of them use PHP. A WordPress blog on the side, a custom app a freelancer built, or a separate landing page can all be exposed. If you're on Shopify, it's worth asking each app developer whether they've applied the fix.

How can 10Native help fix a site with the PHP issue?

10Native can audit your site, work with your host to get PHP patched, test that nothing breaks, and check that your store is clean afterward. We're a digital agency that builds and looks after online stores every day, so we know what a checkout page should look like and what a site owner needs in plain English.

Here's what that looks like in practice:

  • PHP and exposure audit. We find out which PHP version every part of your site runs on, including the forgotten pieces.
  • Patching and upgrades. We coordinate the update with your hosting provider, or plan the move off PHP 8.1 and older, so you land on a supported version.
  • Staging and compatibility testing. Themes, plugins and custom code get tested before anything touches your live store.
  • Post-patch clean-up check. We review admin accounts, recent file changes, injected scripts and your checkout flow.
  • Ongoing maintenance and monitoring, so the next emergency release doesn't catch you off guard.
  • A different route, if you want it. If server upkeep keeps costing you sleep, we can build or migrate your store to Shopify, where there's no server for you to patch.

One honest note: we can't patch a server we don't have access to, so we work alongside your host or IT team. We'll tell you straight what's needed and what it costs before we start.

Don't wait for a bad week to find out

The patch is out, the attack attempts are real, and every day an old PHP version stays live is a day you're gambling with your customers' data and your own revenue. A quick audit now is a lot cheaper than a breach later.

Talk to 10Native today. Call 415 489 9314 or 214 758 7971, or email info@10native.com. Tell us your site address and who hosts it, and we'll tell you where you stand.

Not sure if your site is patched? Send us your site address and host and we'll tell you where you stand.

Talk to 10Native

Frequently asked questions

What is CVE-2026-109618?
CVE-2026-109618 is one of the two PHP2Shell flaws. It's a memory-handling bug in PHP that can let an unauthenticated attacker run code on the server. It's rated 9.2 out of 10 and fixed in PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35.
Which PHP versions are safe?
PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35, or anything newer. PHP 8.1 and older no longer get official fixes, so they need a vendor backport or an upgrade.
Do I need to update my WordPress or WooCommerce plugins?
Not for this issue. The fix is in PHP on your server, so updating plugins alone won't close the hole. Keep your plugins updated anyway for other reasons.
Can my site be hacked even if my own code is secure?
Yes. The flaw is in PHP itself, so clean store code doesn't protect you if the PHP underneath is unpatched.
Is Shopify affected by the PHP vulnerability?
Shopify's core platform doesn't run on PHP, so you don't patch anything for your store itself. Apps and any separate PHP sites you run could still be affected, so check with those developers.
How do I know if my site was already compromised?
Look for unfamiliar admin accounts, recently changed files, strange scripts on your checkout page, and unexpected redirects or spam pages. If you're not sure, get it checked by a professional.
How long does a PHP update take?
On a simple site it can take under an hour. On a store with custom code and many plugins, plan for testing on a staging copy first, which can take a few days.

Sources: BleepingComputer · Recorded Future · eSEOspace on stores and PCI · cside on checkout skimmers · Scandiweb · Newsweek · Qikify on Shopify merchants

10

10Native Team

Building resilient enterprise solutions in AI/ML, Data Engineering, Fintech & Digital Marketing.

Book a Meeting