On October 20 and 21, 2026, a shockwave swept across the global web. Two critical-severity vulnerabilities, with a CVSS score of 9.2 out of 10, identified as CVE-2026-109618 and CVE-2026-109619 and quickly nicknamed PHP2Shell, exposed more than 1.5 million servers within hours. For a business owner, such a crisis should not be treated as just another IT incident.
It represents a major strategic risk: lost revenue, exposure of banking or customer data, potential legal obligations under the GDPR, and lasting damage to your brand's reputation. How can you tell whether your website is affected by PHP2Shell? How can you check your PHP version, and what steps should you take to protect your business? Here are the key checks you should make.
This comprehensive guide explains what happened, identifies the systems that may actually be vulnerable—including systems many businesses assume are safe—and provides an operational roadmap for securing your business.
First, it is important to understand that PHP2Shell is the name given to two critical vulnerabilities in the PHP programming language, identified as CVE-2026-109618 and CVE-2026-109619. PHP is a programming language and server-side technology used to power many websites and web applications. It is widely used by platforms such as WordPress and PrestaShop, as well as applications built with frameworks such as Laravel and Symfony.
The two vulnerabilities affect PHP's internal behavior and can, under certain conditions, lead to remote code execution without authentication. In other words, an attacker could potentially execute commands on a vulnerable server without first having to log into the website's administration interface.
On October 21, 2026, the PHP security team released patched versions. The UK's National Cyber Security Centre also advised organizations to identify Internet-facing PHP installations and update them promptly.
A website is an essential part of many businesses. It may be used to receive quote requests, sell products, collect customer information, or manage customer accounts. If an attacker compromises the server hosting the website, they may attempt to disrupt its operation, access data available to the compromised process, or install mechanisms that allow them to maintain access.
The exact consequences depend on the server configuration, the privileges assigned to applications, and the data they can access. A vulnerability does not mean that every website will be compromised, but it does justify an immediate security check.
For a business owner, the key question is not simply whether they have heard of PHP2Shell. The important question is whether their website relies on an affected PHP installation and whether the appropriate security fix has actually been applied.
No. PHP2Shell affects the PHP engine running the website, not WordPress itself. Updating WordPress, disabling a plugin, or installing a WordPress security plugin does not, by itself, fix this vulnerability. You need to check the PHP version used by the web server and confirm that the appropriate security fix has been installed.
A recently updated WordPress website can still be running on a vulnerable PHP environment. Conversely, a website with outdated WordPress components may still be running on a patched PHP environment. These two aspects of website security need to be checked separately.
If you have administrator access to WordPress, you can start with a simple check :
Log in to your WordPress dashboard.
Go to Tools, then Site Health.
Open the Info tab.
Expand the Server section.
Check the PHP version displayed.
This allows you to identify the PHP version reported by the environment running your website. If your hosting provider uses multiple environments or your website relies on a specific configuration, ask the provider to confirm that the displayed version corresponds to the server actually processing web requests.
The PHP version is only the first indicator. To determine whether your website is protected, you must also confirm that the relevant security fix has been applied—especially because some hosting providers and Linux distributions may backport security patches without changing the displayed version in the way you might expect.
The patched versions released on October 21, 2026 are :
PHP 8.2: 8.2.35
PHP 8.3: 8.3.36
PHP 8.4: 8.4.27
PHP 8.5: 8.5.12
For these branches, versions older than the patched releases listed above are affected by the vulnerabilities. PHP 8.1 and earlier require particular attention because these branches no longer all receive regular official security fixes, although some vendors may provide backported security patches.
These version numbers are useful reference points, but they should not be treated as a universal rule for every server environment. Some Linux distributions and hosting providers maintain their own security packages. In such cases, you should verify the patch status directly with the provider rather than relying solely on the version number displayed by your website.
If your website is running a potentially affected version, do not randomly change server settings.
First, determine who manages PHP for your website: your hosting provider, web agency, developer, system administrator, or internal IT team.
Ask them to confirm in writing:
the PHP version actually running your website;
whether the relevant security patches have been installed;
whether the PHP processes need to be restarted;
and whether any migration is required.
If you manage your own server or VPS, prepare the update while taking your application's compatibility into account. Then apply the appropriate security update and verify that the website continues to function correctly.
A security update should not be considered complete simply because a command finished successfully. You should also confirm that the web server is actually running the patched code.
If your website uses shared hosting or a managed hosting plan where the provider manages the PHP environment, applying the security patch may be the provider's technical responsibility. That does not mean you should simply wait.
Contact your hosting provider and ask for specific confirmation:
Is the PHP version currently running my website patched against CVE-2026-109618 and CVE-2026-109619?
Has the patch been applied to the web environment serving my domain?
Were the relevant PHP processes restarted if necessary?
If my website uses an older PHP branch, what patch or migration is planned?
Keep the provider's response. This allows you to distinguish between a provider saying that an update is planned and an actual confirmation that your environment has been patched.
Not necessarily.
On shared hosting, multiple websites may share parts of the same infrastructure, but the level of isolation depends on the provider and its configuration.
The presence of one vulnerable website does not prove that another customer's website will be compromised. The actual risk depends on factors such as privileges, isolation mechanisms, and how PHP is executed.
The priority is therefore to verify the environment hosting your own website and ask your provider how security patches and account isolation are handled.
Cloudflare and other web application firewalls can help reduce certain risks by filtering suspicious requests before they reach the origin server. However, Cloudflare does not replace updating PHP.
A filtering layer may reduce exposure to certain exploitation attempts, but it does not guarantee that the underlying vulnerability has been fixed. If your website uses Cloudflare, check two separate things: the protection layer in front of your website and the security status of the server running PHP.
The same principle applies to WordPress security plugins. They can provide valuable additional protection, but they do not replace patching the PHP engine itself.
Do not limit your investigation to your website's homepage.
Check subdomains, secondary applications, staging environments, administration interfaces, and other services that may rely on PHP.
A business may have several PHP installations without the owner being aware of all of them. Ask your provider or technical team to identify all Internet-facing systems and prioritize those requiring immediate action.
Install a patched PHP version or a package containing the security fix officially provided by your operating system or hosting provider.
If an immediate update is not possible, ask a qualified administrator to apply the temporary mitigation measures recommended by the PHP security team for the relevant environment.
These measures can reduce certain risks, but they should not be considered a substitute for a complete security update.
After the update, confirm that the web server is actually running the patched code.
Also test the website's critical functionality, including:
forms;
user logins;
payments;
APIs;
customer accounts;
and other business-critical features.
This prevents you from confusing a technically successful update with a properly secured production environment.
If the server remained exposed, security alerts were triggered, or unusual activity has been detected, request an analysis of the logs and website files.
The investigation may include checking for:
unknown administrator accounts;
unexpected PHP files;
unusual processes;
suspicious outbound connections;
unexplained file modifications.
Updating PHP fixes the vulnerability, but it does not prove that no previous intrusion occurred.
If there are credible signs of compromise, involve a qualified incident-response professional before considering the environment safe.
If a compromise is suspected or confirmed, assess which credentials and secrets may have been exposed, including:
administrator passwords;
API keys;
database credentials;
third-party service credentials.
Do not automatically change every credential without first considering the incident and identifying which secrets may have been exposed.
Revoke or rotate potentially compromised credentials and review the affected access permissions.
Security should not begin and end with a high-profile vulnerability.
Set up a regular process for updating:
PHP;
your CMS;
plugins and extensions;
application dependencies;
and the operating system.
Also define who is responsible for updates, how backups are tested, and who should be contacted when a security alert is issued.
This type of organization reduces the risk of a critical vulnerability remaining unnoticed for weeks.
Discovering a vulnerability does not automatically mean that a personal data breach has occurred. If an intrusion is confirmed, or credible evidence indicates that personal data may have been compromised, the business must assess the situation under the applicable legal requirements.
Under the GDPR, notifying the relevant supervisory authority may be required under certain circumstances, including situations where a personal data breach is likely to pose a risk to individuals. Where notification is required, the GDPR generally provides a 72-hour timeframe from becoming aware of the breach.
It is therefore important to distinguish between three situations:
a vulnerability that has not been exploited;
an attempted attack without evidence of compromise;
an actual or sufficiently established personal data breach.
If you are unsure, seek advice promptly from your Data Protection Officer, legal counsel, or another qualified professional.
Do not assume that notification is automatically required simply because PHP2Shell exists. But do not assume that notification is unnecessary if there are credible signs that personal data has been compromised.
PHP2Shell shows why website security cannot be evaluated solely by looking at how a website appears or whether it is currently functioning.
A business can have a modern website and a valid HTTPS certificate while still depending on a server environment that requires an urgent security update.
As a business owner, you do not need to understand every technical detail to take action.
You need to know:
who manages your infrastructure;
which PHP environment your website uses;
whether the relevant security patch has been applied;
and what procedure should be followed if a security incident occurs.
If your website is essential to your business, these checks are part of risk management. They help protect business continuity, customer data, and the trust your customers place in your brand.
Your priority: contact your hosting provider or web agency and ask them to confirm that the PHP environment running your website has been patched against PHP2Shell.
A specific confirmation is far more valuable than a simple assurance that "everything is up to date."