Connect

PHP2Shell: Is Your Business Website Affected, and What to Ask Your Web Host Today

PANDAROSE PHP2Shell checklist graphic with a code icon and a reminder to check PHP versions and security patches.

Updated October 26, 2026 | PANDAROSE

On October 21, 2026, the PHP project released emergency fixes for two critical vulnerabilities known as PHP2Shell. On October 26, the U.S. Cybersecurity and Infrastructure Security Agency (CISA) added both to its Known Exploited Vulnerabilities catalog. If your business website runs PHP, being a small company offers little comfort: automated attacks look for vulnerable servers, not company headcount.

The vulnerabilities, CVE-2026-109618 and CVE-2026-109619, can potentially let an attacker run code on an affected web server without logging in. You don’t need to learn how PHP works to take the next sensible step. You need to know which version your site uses and whether the relevant security fixes have actually been applied.

How do I know if my website is vulnerable to PHP2Shell?

Start with three questions:

  1. Does your website use PHP? WordPress does. So do many other content management systems, online portals and custom business applications. Some website platforms do not use PHP at all.
  2. Which PHP version is it running? Check the list below. Check the full version number, including the last digits.
  3. Has your host installed the security fix and activated it? A host or Linux vendor may have backported the fix without changing the PHP version shown in your dashboard. Ask for the actual package or patch level.
PHP version familyFirst PHP-project release fixing PHP2Shell
PHP 8.58.5.12
PHP 8.48.4.27
PHP 8.38.3.36
PHP 8.28.2.35
PHP 8.1 or olderNo new official release from the PHP project. Ask about a verified vendor backport and a move to a supported version.

If your website uses an earlier release within one of the supported 8.x branches, treat it as potentially exposed until the patch is confirmed. If you do not know your version, that is a question to resolve today, rather than a reason to assume your site is safe.

CISA’s October 26 notice reflects known exploitation. Its October 29, 2026 remediation deadline applies to covered U.S. federal agencies, not automatically to Canadian small businesses. The practical advice is the same: ask your host to address an exposed PHP installation promptly.

What PHP version is my website running? Three easy ways to check

If you use WordPress: Sign in to your WordPress dashboard and go to Tools → Site Health → Info → Server. Look for PHP version. This tells you what WordPress is seeing, although it may not reveal vendor-specific security backports.

If you have hosting access: Open your hosting control panel. Depending on the host, look for PHP Settings, MultiPHP Manager or a similar section. Make sure you are checking the PHP version assigned to the actual website, since different domains on one account may use different versions.

If somebody else manages the website: Ask them. An email to your web host or developer is often the fastest and most reliable way to identify both the version and the installed security patch.

One caution: a website scanner cannot reliably prove that your server is patched simply by looking at its public pages. The host’s package information and confirmation matter.

Copy and paste this to your web host today

Subject: Urgent PHP2Shell patch confirmation for our website

Hello,

I’m checking whether our website is protected against the PHP2Shell vulnerabilities (CVE-2026-109618 and CVE-2026-109619), which were addressed in PHP security releases on October 21, 2026.

Could you please confirm:

  1. Which PHP version, build and patch/package level our website and any related PHP applications are currently running?
  2. Whether the October 21 PHP2Shell security fixes have been installed? If your platform uses backported patches, could you confirm the vendor package or advisory that covers both CVEs?
  3. Whether PHP-FPM and/or the relevant web-server services were restarted or reloaded after patching so the updated code is active?
  4. If any part of our site is still running PHP 8.1 or older, what is the plan to move it to a supported version, or how is a verified vendor-supported backport being maintained?

Please let us know if you need anything from us or if you recommend any temporary precautions.

Thank you.

My site runs PHP 5, 7.4, 8.0 or 8.1. Can we just change the version?

Sometimes, yes. On an older custom application, changing the PHP setting can also break the very functions the website depends on. An old payment integration might stop working, a form might fail, or a business portal might produce errors that nobody sees until a customer calls.

The safer process is to make a backup, build a staging copy of the site, review compatibility issues, update the code or plugins that need attention, and test the workflows people actually use. Once those checks pass, the updated site can be put into production with a rollback plan.

That does not mean you need to commission an entirely new website. In many cases, targeted compatibility work is enough. The right answer depends on what the existing software does and how it was built.

There is also an immediate security decision. CISA advises organizations using unsupported PHP 8.1 or earlier, or unable to patch promptly, to take affected PHP services offline until they can be patched or updated. If your site cannot be upgraded immediately, discuss temporary restrictions or taking the affected service offline with your host. A web application firewall may help reduce some exposure, but it is not a substitute for a confirmed fix.

PANDAROSE works on legacy PHP upgrades and application modernization for businesses that need to preserve what already works while moving away from unsupported software.

How can I tell if something has already gone wrong?

Most business owners will not see a technical warning that says “PHP2Shell.” Some changes are worth investigating, though:

  • A new website administrator account that nobody recognizes.
  • Files, pages or plugins that your team did not add.
  • Visitors being redirected to an unfamiliar website.
  • Security alerts from your host or unusual activity in its reports.
  • Forms, logins or other features suddenly behaving strangely.

These are general warning signs, not proof that PHP2Shell was exploited. They can have other explanations. If something looks suspicious, ask your host or developer to investigate, preserve relevant logs and review available backups before making major changes.

Why we’re cautious with old PHP applications

We’ve upgraded a real estate application originally built for PHP 5 that relied heavily on the old mysql_* database functions. Replacing obsolete code was the relatively straightforward part. The hard work was understanding what the old application was quietly holding together so those business functions would still work after an upgrade.

That experience shapes how we approach older sites today. A version change is often a small part of the job. The important part is knowing what has to keep working when the change is made.

For organizations planning a broader update, we also provide website development and PandaCloud hosting and server support.

Want a free PHP2Shell check for your business website?

PANDAROSE can help with a free initial check of your website’s PHP version and potential PHP2Shell exposure. We will explain what we can verify and what needs confirmation from your hosting provider. If you are running old PHP, we can also help work out a practical next step without assuming a full rebuild is necessary.

Call 780-652-1190 or use our contact form and put “PHP2Shell check” in your message. Include your website address if you can.

October 28, 2026 Update: A Third PHP Vulnerability, Active Exploitation and a Critical Restart Step

The PHP2Shell situation has developed significantly since the emergency patches released on October 21.

Three developments matter for anyone responsible for a PHP website or server:

1. A third PHP vulnerability remains unpatched

On October 23, the PHP Security Team disclosed CVE-2026-115560, a separate potential remote code execution vulnerability involving session upload progress.

The October 21 security releases — PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 — address the original PHP2Shell vulnerabilities, CVE-2026-109618 and CVE-2026-109619. They do not address CVE-2026-115560.

PHP describes the third vulnerability as an unlikely attack vector because exploitation requires an unusual combination of settings and application code: the session serialization handler must initially be php_binary or php_serialize, then be changed to php at runtime before session_start(), while session upload progress remains enabled.

PHP’s recommended precaution until a fix is released:

session.upload_progress.enabled = 0

Apply this setting in the relevant php.ini, PHP-FPM pool or server-level startup configuration, then restart the affected PHP workers. Do not rely on an application-level setting applied after request processing has started.

Disabling this feature does not disable ordinary file uploads, although applications using PHP’s session-based upload progress tracking may lose that progress information.

PHP expects to address CVE-2026-115560 in its next regular bugfix release. Administrators who previously disabled session upload progress can keep that mitigation in place.

2. CISA confirms exploitation of PHP2Shell

On October 26, the U.S. Cybersecurity and Infrastructure Security Agency added both original PHP2Shell vulnerabilities to its Known Exploited Vulnerabilities (KEV) catalogue.

Affected U.S. federal civilian agencies have a remediation deadline of October 29, 2026. This deadline is specific to those agencies, but the exploitation evidence warrants immediate action from other organizations as well.

Security researchers have also observed attempts to deliver malware through PHP2Shell. Sophos documented an attempted delivery of Potassium, a Mirai-derived botnet payload, on October 22. That particular attempt was blocked. The attempt was blocked, but it shows attackers are already trying to turn PHP2Shell into botnet recruits.

3. Installing the PHP update is only part of the job

PHP workers already running when an update is installed can continue executing the old PHP code until those processes are replaced.

After applying the security update:

  1. Restart the relevant PHP-FPM service, Apache workers running mod_php, or other PHP runtime. Rebuild and redeploy containers where applicable.
  2. Verify the version and patch status of the PHP runtime actually handling web requests. Running php -v on the command line may check a different PHP installation from the one serving the website.
  3. Confirm that session.upload_progress.enabled is disabled in the effective web-serving configuration where mitigation is required.
  4. Review logs and server activity for signs of exploitation, particularly unexpected PHP child processes, web shells, unexplained crashes and unusual outbound connections.

For example, a Debian or Ubuntu server running PHP 8.4 through PHP-FPM may require:

sudo systemctl restart php8.4-fpm

Use the service name corresponding to the PHP version actually deployed.

The practical conclusion: Install the emergency PHP patches, restart the PHP runtime, verify the live configuration and address the third vulnerability separately. A successful update operation is not sufficient evidence that every web-serving worker is now protected.

Sources

PHP2Shell frequently asked questions

Is my WordPress site affected by PHP2Shell?

It may be. WordPress runs on PHP, and PHP2Shell affects vulnerable PHP runtimes rather than a particular WordPress theme or plugin. Updating WordPress is important, but it does not itself install the PHP security patch on your server.

Does my web host handle PHP2Shell automatically?

Some managed hosts apply PHP security updates for customers. Others require a setting change or a support request. Ask your host to confirm the patched PHP package and whether the PHP processes were restarted or reloaded after installation.

I’m on PHP 7.4. What should I do?

PHP 7.4 no longer receives official releases from the PHP project. Your host may have a vendor-supported security backport, but you should ask for confirmation covering both CVEs. Plan a tested upgrade to a supported PHP release rather than assuming an old version is safe indefinitely.

Do I need to rebuild my entire website?

Not necessarily. A maintained WordPress site may need only an appropriate PHP update and compatibility checks. An older custom application could require code changes, but a complete redesign or replacement should be based on what the application actually needs.

How long does a PHP upgrade take?

It depends on the website. A straightforward site may only need a short maintenance window after testing. A heavily customized application can take longer because plugins, integrations, forms and business workflows must be checked. It is worth understanding the scope before promising a date.

Is PHP 8.2 safe from PHP2Shell?

PHP 8.2.35 contains the PHP project’s fixes for these two vulnerabilities, as do newer 8.2 patch releases if issued. Earlier 8.2 releases need patching or a verified vendor backport. PHP 8.2 reaches the end of its security-support period on December 31, 2026, so plan to move to a newer supported branch.

Will a web application firewall protect me?

It may block some malicious requests, but the PHP project says there is no complete mitigation that replaces patching. Treat a firewall as an extra layer of protection and ask your host to confirm the fix.

Can you check my website without hosting access?

We can start with the public website and information you provide, but public inspection cannot always reveal the PHP runtime or prove a security backport is installed. If host-side confirmation is needed, we’ll tell you rather than guess.

Official sources and further reading

Leave a Reply

Leave a Comment

Your email address will not be published. Required fields are marked *

Comment Form

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Hosted on Panda Cloud