Blog


Sort Blog Posts:

PHP2SHELL and What It Means to Your Website

Published: 10-25-2026
Author: Milly Welsh

I’ve been getting a lot of questions about the PHP2SHELL exploit, and clients have rightfully been worried about what it means for their websites. It’s been in the news and raised some serious concerns about website security. In this blog, I’ll explain what it is in a non-technical way, how to determine if your website is vulnerable, and what steps to take if it is.

What Is PHP?

First, let’s talk about what PHP is. PHP is a very popular programming language used primarily for websites. Web-based software like WordPress, Drupal, Joomla, and many others run on PHP. In fact, about 70% of websites whose server-side programming language is known use PHP.

PHP’s job is primarily to handle logic and database functions. It’s one of the reasons you can store and update your website’s content, submit contact forms, and perform many other useful functions on your website.

What Is PHP2SHELL and Why Is It a Big Deal?

The technical answer:

PHP2SHELL is the nickname for two critical vulnerabilities in PHP (CVE-2026-109618 and CVE-2026-109619) that can allow remote code execution. In simple terms, this means an attacker may be able to run their own commands on a vulnerable server without needing to log in. The vulnerabilities involve problems with how PHP handles certain errors and manages memory.

The non-technical answer:

I like to use the apartment-building metaphor for shared web hosting, and I think that analogy is a good jumping-off point.

Imagine your website is an apartment in an apartment building. The apartment building is the web server, and each individual apartment is a website. The building has shared infrastructure, and each apartment has its own contents and occupants. PHP is part of the infrastructure that helps many of those websites function.

The vulnerabilities give criminals (hackers) a potential way to break into an apartment/website without a key (password). Once inside, they may be able to steal your valuables (API keys, customer information), redirect your visitors to malicious websites, or leave traps or malware that can hurt other people.

The really concerning part is that a successful attack can potentially go beyond the apartment/website itself and affect the server it's running on. How much damage an attacker can do depends on the server's configuration and security.

This is especially important with shared hosting (which most web hosting is), where multiple websites live on the same server. Although a patched website is not automatically vulnerable just because a neighboring website is running an unpatched version of PHP, a compromised website can pose additional risks if the server doesn't have the proper security measures in place.

Yikes, Is My Website Vulnerable?

If you are a Zebralove Web Solutions client, your hosting environment has been proactively updated to patched PHP versions, and we have removed outdated, end-of-life (EOL) PHP versions so they can't accidentally be selected.

If your website was built in PHP and you don't have your web hosting with us, you could be vulnerable. That includes WordPress, Joomla, Drupal, and other popular CMS (content management system) software.

What Do I Do to Make Sure I'm Protected?

You should check your PHP version to make sure it's running a patched version and contact your hosting provider to confirm that the PHP environment serving your website has been updated.

Checking your PHP version will depend on what type of web hosting you have. If it's cPanel, you can generally log into your cPanel dashboard, click MultiPHP Manager, and check which PHP version is assigned to each domain. The exact options may vary depending on your hosting provider.

Patched PHP versions:

  • PHP 8.5.12 or newer
  • PHP 8.4.27 or newer
  • PHP 8.3.36 or newer
  • PHP 8.2.35 or newer

These version numbers apply to their respective release branches. Not every newer version number is necessarily available for every branch, and end-of-life versions require special attention. If your hosting provider uses an older PHP version, ask them to confirm that it has been patched or provide a supported upgrade path.

If you aren't sure how to check, try a Google search like "[my hosting provider] check PHP version" for instructions. If you aren't sure where your website is being hosted, it's definitely time to find out!

If you find that your website is running an old version of PHP that isn't protected, contact your current hosting company right away or reach out to Zebralove Web Solutions to help!

One last thing to keep in mind: updating PHP protects against these specific vulnerabilities, but it doesn't guarantee that a website hasn't already been compromised or that it's protected against every other security threat. If you suspect your website was attacked before it was patched, have your hosting provider or web developer check it for signs of compromise.


Milly Welsh - post author

Milly Welsh

Owner
Zebralove Web Solutions

Milly has over 20 years experience in designing and developing websites, developing apps, and online marketing. She is an expert at driving traffic to websites utilizing SEO strategies and custom digital marketing efforts. Her company, Zebralove Web Solutions offers full service digital marketing and website development. Comprehensive Search Engine Optimization services, and secure web hosting services.

Contact Author

Call Us! Email Us! Meet Us! Support Ticket