Herozite is a digital marketing agency in San Juan, Puerto Rico. We build websites, grow search traffic, and run campaigns for businesses in Puerto Rico and across the US.

Latest from the blog

Av. de Diego, Puerto Nuevo, San Juan

+1 (787) 605-7114

herozitesolutions@gmail.com

Illustration of a glowing yellow security shield with a check mark in front of a stack of web servers

The php2shell PHP Vulnerability and the BeyondTrust Flaw: What to Do Now

Web Design, SEO, Local SEO, PPC Management, Social Media Marketing, Conversion Optimization, Content Strategy

Illustration of a glowing yellow security shield with a check mark in front of a stack of web servers
php2shell and the BeyondTrust flaw: what to do now Patched PHP versions: 8.5.12 PHP 8.5; 8.4.27 PHP 8.4; 8.3.36 PHP 8.3; 8.2.35 PHP 8.2. BeyondTrust Remote Support: Patch BT26-05-RS.

Quick answer

Two critical security flaws are being used in real attacks. The bigger one for website owners is php2shell (CVE-2026-109618 and CVE-2026-109619), a pair of bugs in PHP, the language that runs WordPress and most business websites. It lets an attacker run code on your web server without logging in. The fix is a PHP update to 8.5.12, 8.4.27, 8.3.36, or 8.2.35, and only your host or server admin can install it. Updating WordPress or your plugins does not fix it.

The second, CVE-2026-102764, affects self-hosted BeyondTrust Remote Support, a remote-help tool many IT providers use. If yours does, ask them to confirm patch BT26-05-RS is installed.

  • Check your PHP version: Tools > Site Health > Info > Server in WordPress.
  • On SiteGround: already patched on October 21. Nothing to do.
  • On another host: ask them to confirm the fix in writing.

On October 16 and October 21, 2026, the U.S. Cybersecurity and Infrastructure Security Agency (CISA) told organizations to patch two critical vulnerabilities right away. Within days, both were on CISA’s list of vulnerabilities that attackers are already exploiting.

If you run a business website, the PHP one is the one to act on today. PHP sits underneath WordPress, WooCommerce, and most small business sites, so a site with every plugin up to date can still be exposed. The BeyondTrust one matters if an IT provider connects to your computers to help you.

Here is what happened, why alerts like these keep coming, and the exact steps to take.

The two alerts at a glance

PHP (php2shell)BeyondTrust Remote Support
CISA alertOctober 21, 2026 (updated October 26)October 16, 2026
CVECVE-2026-109618 and CVE-2026-109619CVE-2026-102764
SeverityCVSS 9.2 (critical) eachCVSS 9.3 (critical)
What an attacker can doRun code on the web server without logging inSkip the login on the support appliance and upload files to it
Who is affectedAny site or app that uses PHP to serve web pagesSelf-hosted Remote Support 26.2.3 and earlier
FixPHP 8.5.12, 8.4.27, 8.3.36, or 8.2.35Patch BT26-05-RS (the BeyondTrust-hosted version is already patched)
Exploited in real attacksYes, added to CISA’s catalog October 26Yes, added October 16

What php2shell is, in plain terms

PHP is the programming language that builds most web pages on the fly. WordPress is written in it, and so are Drupal, Joomla, Magento, and a large share of custom business sites.

On October 21, the PHP team disclosed two bugs in the way PHP cleans up after handling a visitor’s request. One shows up when PHP runs out of memory partway through a request. The other leaves a piece of internal data behind after its memory has been freed, and a later request on the same server process can pick it up. A carefully built request can turn either one into the attacker’s own code running on your server.

Because the bugs are in PHP itself, your theme and plugins don’t matter. PHP’s advisory says every installation that serves web requests is affected, including PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP, and LiteSpeed. It rates mod_php as the highest risk, since there the attack can fire before any of your website’s code even loads.

Is it being exploited?

Yes. CISA added both CVEs to its Known Exploited Vulnerabilities catalog on October 26. According to Help Net Security, Amazon’s honeypot network recorded an exploitation attempt on October 17, four days before PHP published the fix. Rapid7 reported public proof-of-concept code the day after the release.

What the BeyondTrust flaw is

BeyondTrust Remote Support, formerly called Bomgar, is software that help desks and managed IT providers use to take control of a computer and fix problems remotely. CVE-2026-102764 lets an attacker get past the login on a self-hosted Remote Support appliance and upload files to it.

CISA says attackers are using it to get in, stay in, gain higher privileges, and move on to other systems. Mandiant tied the activity to a suspected China-linked espionage group it calls ARMORY CASTLE. BeyondTrust traced the first known break-ins to August 29, 2026, about seven weeks before the public fix.

The version BeyondTrust hosts for customers in the cloud is already patched. Self-hosted appliances need patch BT26-05-RS, and appliances older than version 24.3.1 have to be upgraded before the patch will install. BeyondTrust also recommends patching self-hosted Privileged Remote Access, which shares the affected code.

Why this keeps happening

  • One bug reaches millions of sites. PHP runs on 69.3% of websites whose server-side language is known, according to W3Techs figures cited by SiteGround. A flaw in the language reaches far more sites than a flaw in any single plugin or theme.
  • Old code meets new tools. The php2shell bugs sat in PHP’s request handling for years. Researchers at Wiz said frontier AI models made it much easier to turn those old weaknesses into a working exploit. Finding these bugs is getting faster, and so is turning them into attacks.
  • Attackers move in days, sometimes before the fix. Both flaws were tied to real attacks within days of disclosure. In BeyondTrust’s case, the break-ins started weeks before anyone outside the company knew. A monthly maintenance window is too slow for this kind of flaw.
  • Remote access tools hold the keys. A remote support appliance stores passwords and can open sessions on many computers at once. Breaking into one can give an attacker a way into every business that provider supports, which is why espionage groups go after them.

What to do about the PHP flaw

  1. Find your PHP version. In WordPress, go to Tools > Site Health > Info, open the Server section, and look for PHP version. Your hosting control panel shows it too.
  2. Compare it with the fixed releases in the table below.
  3. Ask your host to confirm in writing. Some hosts install the fix without changing the version number you see, and some acted before PHP’s release. SiteGround, for example, put protections on all its servers seven hours before the release and installed the official fixes the same day, so SiteGround customers don’t need to do anything. On another host, open a ticket and ask whether your server has the fixes for CVE-2026-109618 and CVE-2026-109619.
  4. Move off PHP 8.1 or older. The PHP project no longer updates those versions. CISA’s guidance is to take systems on unsupported PHP offline until they can be updated. Test the upgrade on a staging copy of your site first, because older plugins and themes can break on a newer PHP.
  5. Put a firewall in front of the site while you wait. Cloudflare released rules for the known attack patterns to all customers, including the free plan. CISA notes that a web application firewall may give some protection, but it is not a substitute for the update. WordPress security plugins can’t block this one, because the attack runs before WordPress loads.
  6. Check for signs of a break-in if you were exposed. Run a malware scan, look for admin users or files you don’t recognize, and change your WordPress, hosting, database, and API passwords if anything looks off.
Your PHP branchSafe version
8.58.5.12 or later
8.48.4.27 or later
8.38.3.36 or later
8.28.2.35 or later
8.1 or olderNo official update. Upgrade to a supported branch.

What to do about the BeyondTrust flaw

Most small businesses don’t run BeyondTrust themselves, but many work with an IT provider who does. Send your provider three questions:

  1. Do you use BeyondTrust Remote Support or Privileged Remote Access to connect to our computers?
  2. If it’s self-hosted, is patch BT26-05-RS installed?
  3. Have you checked the appliance for signs of compromise and changed the passwords it stores?

The third question matters because a patch doesn’t remove an attacker who is already inside. For affected appliances, CISA recommends forensic checks, rebuilding from a known-good state if compromise is suspected, rotating every stored credential, ending all active support sessions, and reviewing new multifactor sign-ups on admin accounts.

The short version

Neither fix calls for a redesign or a new plugin. For most business websites, the PHP update is a single change on the hosting side, and your only job is confirming it happened. Do that check today, and plan to ask your host the same question the next time PHP announces a security release.

If you’re not sure which PHP version your site runs or who hosts it, send us a message and we’ll help you find out. If it’s time to rebuild an older site, see our web development services or start your project.

Sources

Frequently asked questions

What is php2shell?

php2shell is the name given to CVE-2026-109618 and CVE-2026-109619, two critical bugs in PHP disclosed on October 21, 2026. Together they let an attacker run code on a web server without logging in. They are fixed in PHP 8.5.12, 8.4.27, 8.3.36, and 8.2.35.

Does updating WordPress, my theme, or my plugins fix php2shell?

No. The bugs are in PHP, the language WordPress runs on, so only a PHP update on the server fixes them. Your host or server administrator has to install it. Keeping WordPress updated is still a good idea for other reasons.

How do I check which PHP version my website uses?

In WordPress, go to Tools > Site Health > Info and open the Server section. The PHP version is listed there. You’re covered on 8.5.12, 8.4.27, 8.3.36, 8.2.35, or any later release in the same branch.

My site is hosted on SiteGround. Do I need to do anything?

No. SiteGround put protections in place across its servers before PHP released the fix on October 21, 2026, and installed the official fixes the same day. SiteGround says customers don’t need to update or change anything.

What should I do if my site still runs PHP 8.1 or older?

Plan an upgrade to a supported version as soon as you can. The PHP project no longer updates 8.1 and older, and CISA advises taking unsupported systems offline until they’re fixed. Test the upgrade on a staging copy first so you can catch plugins or themes that need updates.

Is the cloud version of BeyondTrust Remote Support affected?

BeyondTrust has already patched the Remote Support service it hosts for customers. Self-hosted appliances on version 26.2.3 or earlier need patch BT26-05-RS. Cloud customers should still review accounts and stored credentials as a precaution.

How can I tell if my website was hacked through php2shell?

There’s no single sign. Run a malware scan, look for admin users and files you don’t recognize, and ask your host to check server logs for PHP processes that launched command shells or downloaded tools. Clean-looking logs don’t prove a site is safe, so if your site was exposed, change your passwords as well.

Want help putting this into practice? Let’s talk

Contact form

    By sending this form, you agree that we may contact you about your request. See our Privacy Policy.