AOV.aiFind what stops customers buying from your store, before Black Friday!Start FREE audit

PHP2Shell PHP Vulnerability: What It Means for Online Stores

Sam Nguyen22 min read
Summarize this post with AI

On October 21, 2026, the PHP project fixed two critical PHP vulnerabilities, known together as PHP2Shell. Tracked as CVE-2026-109618 and CVE-2026-109619, they can let an attacker run code on a web server without logging in. PHP's security advisory says: "All PHP users are strongly encouraged to update immediately."

If your store runs on WooCommerce, WordPress, Magento, PrestaShop or other PHP software, on your own server or a hosting plan, this applies to you. If you sell on Shopify, the picture is different. We explain why below, and confirm that Avada's Shopify apps do not run on PHP.

This post reflects what had been published by October 27, 2026. Details are still developing, so check the linked sources.

Updated October 27: The US agency CISA added both flaws to its catalog of exploited vulnerabilities on October 26, and a researcher recorded the first successful attacks, on decoy servers. No break-in at a real store or business has been confirmed. Private exploits now work on more PHP versions. PHP 8.4.27 and 8.5.12 can crash on some sites because of an unrelated bug, which is no reason to downgrade (see step 3).

What is the PHP2Shell vulnerability?

PHP2Shell is the name for two critical vulnerabilities in PHP itself (CVE-2026-109618 and CVE-2026-109619). On an unpatched server, they can allow remote code execution (RCE), meaning an attacker runs their own code on your server, without logging in. The flaw is in PHP, not in any one website, theme or plugin.

The flaws sit in the PHP runtime, the engine that reads each incoming web request before your site's own code starts. PHP runs 69.3% of websites whose server-side language is known, per W3Techs data cited by Tenable, and PHP says the risk covers "all PHP installations serving web requests, including PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP and LiteSpeed."

Neither flaw needs a login or any action from a user, and default configuration is enough. They are not simple to exploit: the official score rates attack complexity as high, and Datadog Security Labs says an attacker must size the request precisely and get around memory-layout protections. Datadog adds, though, that neither constraint prevents exploitation.

The flaws can also leak data. Wiz describes a path where leftover server memory is sent back to the attacker inside a PHPSESSID session cookie, even if the site never starts a session. That memory may contain passwords, authentication tokens, API keys and certificates.

PHP, which issued the CVEs, rates both flaws Critical at 9.2 out of 10 (CVE record). The US vulnerability database NVD rates CVE-2026-109618 at 9.8 and, after revising its analysis on October 22, CVE-2026-109619 at 8.1. Red Hat rates both Important, at 8.1. The 10.0 score that circulated before the release was wrong, says the PHP Foundation.

The CVE records credit Ryan at Calif.io, Wiz and OpenAI with the discovery, and Calif and Wiz both describe AI as part of their research. Wiz has also published its findings on a dedicated site, php2shell.com.

Technical details (for developers)

CVE-2026-109618: when a request makes PHP run out of memory, PHP abandons it part-way through, and its clean-up code may then read memory that was never initialized. PHP's advisory lists certain multipart form requests that can trigger this.

CVE-2026-109619: PHP does not always reset some global state between requests, so a later request on the same PHP worker can use memory that has already been freed. One confirmed path uses the session upload progress feature, which is on by default (PHP advisory).

PHP considers the risk "highest for mod_php". PHP-FPM is not safe either: for CVE-2026-109619, the PHP security team says unauthenticated RCE has been demonstrated against both Apache mod_php and PHP-FPM, though exploitability depends on configuration and application behavior.

Which PHP versions are affected and fixed

The fixed releases are PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35. Each release note says: "There are no complete mitigations, updating is the only safe choice."

PHP branchAffectedFixed releaseSecurity support ends
8.5Before 8.5.128.5.12Dec 31, 2029
8.4Before 8.4.278.4.27Dec 31, 2028
8.3Before 8.3.368.3.36Dec 31, 2027
8.2Before 8.2.358.2.35Dec 31, 2026
8.1, 8.0, 7.4Listed as affected by NVD, CERT-EU and CERT-FRNo official release; minimal source patches onlyAlready ended
7.3 and olderNVD lists 7.3 as affected by both flaws, and 5.4 to 7.2 by CVE-2026-109619 only; not stated by PHPNo fix from the PHP projectAlready ended

The official CVE records list only PHP 8.2 to 8.5, the branches PHP still supports. PHP 8.1 and older "no longer receive updates", but the PHP security team published minimal source patches for 7.4, 8.0 and 8.1, labeled "Minimal mitigation for EOL version". These are not official releases.

PHP 8.6, which is still in testing, gets the fixes in 8.6.0 RC4, released on October 21. PHP says anyone running an earlier 8.6 build should update, and that release candidates are not for production.

Sources disagree on how far back the problem goes. Wiz, Calif, Google, Cloudflare and Sansec say PHP 5.4 and later. Germany's BSI says at least back to PHP 5, France's CERT-FR lists every 5.x and 7.x release, and the UK NCSC says "any version of PHP". Since October 23, NVD lists CVE-2026-109618 as affecting PHP 7.3 and later and CVE-2026-109619 as affecting PHP 5.4 and later. The PHP project has not commented on 7.3 and older.

PHP says Linux distributions and long-term support (LTS) vendors received the patches in advance. Many have shipped backported fixes, copying the security fix into the older PHP version they package. Ubuntu, for example, covers PHP 8.1 on 22.04 LTS and older PHP versions through Ubuntu Pro.

These packages often keep an older version number, so check the full package version against your vendor's advisory, not just the PHP number. Not every package was fixed at once: as of October 27, Red Hat still listed PHP 8.4 on RHEL 9 as affected with no fix available. Separately, PHP 8.2 reaches the end of security support on December 31, 2026 (php.net), and WordPress.org recommends PHP 8.3 or greater.

An early report on the oss-security mailing list suggested the 8.5.12 fix "may be incomplete". On October 22, PHP's security team replied that the report is an "unrelated issue with minimal impact" and "has nothing to do with the RCE", and Germany's BSI says reports of an incomplete patch were refuted. PHP had published no further release as of October 27, so 8.5.12, 8.4.27, 8.3.36 and 8.2.35 remain the fixed versions.

On October 23, PHP did publish an informational advisory about a third, related flaw, CVE-2026-115560, in the same session upload progress feature. It can affect even the fixed releases, but only in an unusual setup where an application switches its session serializer at runtime. PHP calls it "an unlikely RCE vector" and will fix it in its next regular release. Until then, it suggests setting session.upload_progress.enabled=0, a setting it had already listed as a mitigation for CVE-2026-109619 (see step 5).

Is PHP2Shell being exploited?

Yes. Attack attempts have been reported since October 17, the first confirmed successful attacks hit researchers' decoy servers on October 24, and CISA listed both flaws as exploited on October 26. As of October 27, no source we found had confirmed a break-in at a real store or business.

  • CISA now lists both flaws as exploited. On October 26, CISA added CVE-2026-109618 and CVE-2026-109619 to its Known Exploited Vulnerabilities catalog and gave US federal agencies until October 29 to fix them. A flaw needs evidence of exploitation to enter the catalog, but CISA has not said what that evidence is. It also revised its alert and dropped an earlier line saying it had not observed successful exploitation.
  • First confirmed successful attacks, on decoy servers. On October 24, security researcher Adel Karimi recorded attackers running commands on three honeypots, decoy servers set up to be attacked, with PHP 8.4.26 under Apache's mod_php and the standard 128 MB memory limit. The traffic closely matched public exploit code, and the commands mainly proved access, for example by sending the server's user and host names back to the attackers. Karimi cautions that the honeypots ran a single PHP worker, a setup that favors the attack, so the result does not show how reliably it works elsewhere.
  • Attack attempts are being seen. Amazon reports an exploitation attempt against its honeypots (decoy systems) dated October 17, four days before disclosure. Of further attempts early on October 21, before the release, it says "it's unclear if any of these attempts would have succeeded in real-world systems." After the release, Amazon first wrote that PHP2Shell "is now being broadly exploited in the wild", then changed this on October 22 to "is now seeing broad exploitation attempts in the wild." Wordfence says its firewall had blocked more than 74,000 exploit or probing attempts by October 22. Cloudflare and watchTowr also reported attack attempts on October 21 (SecurityWeek). Some attempts tried to install Potassium, a botnet based on Mirai, but Arctic Wolf found no sign that the malware was downloaded or run, and Sophos says the attempt it saw was blocked. On October 26, France's CERT-FR said it is seeing exploitation attempts aimed at specific PHP setups.
  • No confirmed break-in at a real business. On October 21, Huntress's Jon Semon told CyberScoop: "We have not observed, or independently confirmed, successful in-the-wild exploitation of these vulnerabilities on live customer systems." Germany's BSI said on October 22 it had no confirmed reports of compromised systems in regulated industry or the federal administration. Wordfence, which protects more than 5 million WordPress sites, said on October 22: "we have not observed any confirmed compromises resulting from these vulnerabilities." These statements came before the honeypot attacks and the CISA listing, and we found no later report of a break-in at a store or company.
  • Two break-in reports were retracted. Sophos withdrew an early report of a successful exploit on October 22. On October 25, Palo Alto Networks' Unit 42 retracted its report of an attack on a European government agency, saying: "We are unable to confirm that initial access is associated with the specific PHP2Shell CVEs." Treat headlines about confirmed breaches with care: since October 26, some say PHP2Shell has been "successfully exploited in the wild", which refers to the honeypots above, not to a breached store or company.
  • The Dutch NCSC expects less large-scale abuse. On October 23, the Dutch NCSC said it knew of one report of possible exploitation abroad, not confirmed as successful, and that exploiting these flaws has proved complicated, so large-scale abuse is less likely than it first estimated. It still says to install the updates as soon as possible.

Working exploit code now exists and is getting more capable. The PHP Foundation says its security team "did not identify any functional exploits" at the time of release. On October 22, a public exploit for PHP 8.4.26 appeared on Exploit-DB, but it needs lab settings such as an 8 MB memory limit and a single PHP worker. VulnCheck says its private exploit, available only to its customers, now works with default production settings under Apache's mod_php on recent releases of all four supported branches: PHP 8.2.28 to 8.2.34, 8.3.22 to 8.3.35, 8.4.10 to 8.4.26 and 8.5.10 to 8.5.11, including default WordPress Docker installs. Of the hundreds of proof-of-concept repositories on GitHub, it found at least one that works, but only against PHP 8.4.26 in one specific setup. Security firm Trail of Bits said on October 26 that it has confirmed working exploits against pre-patch releases of PHP 8.2 to 8.5, and showed one opening a shell on MediaWiki, Symfony, Laravel and phpBB (Tenable). CERT-EU says proofs of concept (demonstration exploit code) "have begun to circulate". Tenable has not verified that any circulating code works, and warns that such code may contain malware.

E-commerce security firm Sansec takes a calmer view. It says an attack needs specific knowledge of the target server and specific conditions on it, "so mass exploitation is less likely than we first expected", and that a researcher who tested the public proof-of-concept exploits found "they do not work against a default PHP installation." Sansec says stores do not need to go offline, but still says to update PHP. Government agencies such as CISA still advise taking PHP systems offline if you cannot patch them (see step 6).

Here is how the disclosure unfolded:

Date (UTC)What happened
Aug 11 to Sep 18, 2026Calif reports on Aug 11 and Wiz on Aug 24. OpenAI independently reports the same root cause, then further attack paths on Sep 18, per the PHP Foundation.
Oct 17Amazon records an exploitation attempt on its honeypots.
Oct 20, about 15:00The two CVE IDs start circulating online with a wrong 10.0 score and no technical details, per the PHP Foundation.
Oct 20, 19:30PHP pre-announces the release and moves it forward a day, to October 21 at 14:00 UTC, per the PHP Foundation.
Oct 20, about 20:00Calif mistakenly publishes a video of its proof of concept, per the PHP Foundation.
Oct 21PHP releases 8.5.12, 8.4.27, 8.3.36 and 8.2.35. CISA and other national agencies issue alerts.
Oct 22PHP's security team says a report that the 8.5.12 fix is incomplete is unrelated to these flaws. Public exploit code appears that works only on specific setups.
Oct 23PHP publishes an informational advisory on a third, lower-risk flaw, CVE-2026-115560, to be fixed in its next regular release.
Oct 24Attackers run commands on a researcher's honeypots running PHP 8.4.26, the first confirmed successful attacks.
Oct 26CISA adds CVE-2026-109618 and CVE-2026-109619 to its Known Exploited Vulnerabilities catalog.

Sources put the exact release time between about 13:30 and 14:00 UTC on October 21.

What it means for online stores

It depends on who runs PHP for your store. If you host the store yourself, you must update PHP. On managed hosting, your host does the update, so confirm it is done. On Shopify, Shopify runs the servers, so the part to check is your third-party apps.

Self-hosted WooCommerce, WordPress, Magento and PrestaShop stores

If your store runs on PHP software, make updating PHP a priority today. Calif says it confirmed pre-authentication RCE, meaning code execution before any login, against WordPress 7.1.2 and Magento 2.4.9, among other platforms, and Wiz demonstrated it on the default WordPress, Drupal and Joomla container images.

E-commerce security firm Sansec says "Magento, Shopware and WooCommerce stores are affected even when their own code is clean." The Dutch NCSC's public tracker lists WordPress, Magento Open Source, Mage-OS and PrestaShop as "Vulnerable" when they run on an affected PHP version. It lists WooCommerce and its PayPal, Stripe and WooPayments plugins as under investigation.

Updating WordPress, WooCommerce, your theme or your plugins will not fix this. Automattic puts it plainly: "updating WordPress, your theme, or your plugins will not protect you on its own." Maintenance mode does not help either, because PHP processes each request before your store's code checks whether maintenance mode is on (Safeguard).

WordPress.org, WooCommerce and PrestaShop all said on October 21 that no platform update is needed, because the fix is a PHP update. WooCommerce adds that stores hosted on Automattic's platforms are already protected. PrestaShop notes that 1.7 and 8.x shops "typically run on PHP 7.x or 8.1", versions with no official fixed release, so many PrestaShop stores need a patched build from their host or Linux vendor. As of October 27, we found no PHP2Shell statement from Adobe on Adobe Commerce; its only article we found covers Adobe Experience Manager, which is Java-based.

Magento merchants should also check their version. Per Adobe's requirements table, as summarized by Safeguard, Adobe Commerce 2.4.4 and 2.4.5 support only PHP 8.1, so those stores depend on a vendor backport.

On Adobe Commerce Cloud, Adobe handles server-level patching. Safeguard advises asking Adobe support to confirm the PHP build and worker restart time on Production and Staging. Safeguard also advises against switching PHP branches this week; on Pro plans, some production changes go through Adobe support, which asks for at least 48 hours' notice.

Stores on managed hosting

Many hosts have patched PHP or added protections. Here is what some reported between October 21 and 26. Status can change, so confirm on your host's own status page. For the third flaw PHP disclosed on October 23 (CVE-2026-115560), Pantheon, Cloudways, Kinsta, GoDaddy, Hostinger and Bluehost say their existing protections already cover their managed plans.

HostWhat they reportedCustomer action
Automattic (WordPress.com, WordPress VIP, WP Cloud, Pressable)Sites "already protected""There is nothing you need to do"
PantheonLive and pre-production environments patched on PHP 8.2 to 8.5, and 8.1 down to 5.6 via its LTS vendor; incident closed on Oct 22, with ongoing probing being blockedNone required; Pantheon still advises moving off end-of-sale PHP versions
CloudwaysPatches for PHP 5.6 and later; rollout complete on all active servers on Oct 22; incident resolved on Oct 23None required, unless Cloudways support contacts you
KinstaPatches for PHP 7.4 to 8.5 rolled out; incident marked resolved on Oct 22 with no evidence of breaches; firewall mitigations kept in place for nowNone required; Kinsta says all sites are protected
Nexcess (Liquid Web)Patches still rolling out in stages; not reported complete as of its Oct 26 updateCheck your PHP build in phpinfo against the list of fixed builds on the Nexcess or Liquid Web status page, or ask support to confirm
WP EnginePatches deployed across the platform by Oct 22 (PHP 7.4, 8.2, 8.4 and 8.5)None required
Upsun (Platform.sh)All PHP 7.2 to 8.5 images patched and environments redeployed; incident closed on Oct 25None, unless Upsun told you a redeploy failed
SiteGroundServer-level rules before the release, then PHP's official fixes applied across all servers on Oct 21None required
GoDaddyManaged Hosting for WordPress, Web Hosting and Windows Hosting all patched by Oct 22; on Web Hosting the PHP version number may not change, so check the build dateNone on those plans; VPS customers must update PHP themselves and set session.upload_progress.enabled = 0
HostingerPHP upgrades complete on all managed hosting servers on Oct 22; the version may still read 8.5.11, so check the Build Date in hPanel's PHP InfoNone on managed plans; VPS clients must update PHP themselves and set session.upload_progress.enabled=0
BluehostMost platforms patched; not reported complete as of its Oct 23 updateNone on managed hosting; VPS and dedicated customers must update PHP themselves

Shopify stores

Shopify runs the servers behind your store, so there is no server software for you to patch. We found no public Shopify statement on PHP2Shell as of October 27, 2026, and its developer changelog has no entry about it. What Shopify has published about its own engineering points away from PHP:

  • In 2020, Shopify Engineering described its core platform as a Rails monolith with "over 2.8 million lines of Ruby code".
  • Shopify described Storefront Renderer, the engine that renders storefronts, as "a Ruby application" (December 2020). Liquid, Shopify's template language, is written in Ruby.
  • Oxygen, Shopify's hosting for Hydrogen headless storefronts, "is a worker-based JavaScript runtime, based on Cloudflare's open-source workerd library" (Shopify docs).

If your storefront is headless and hosted somewhere other than Oxygen, it runs on whatever technology you or your agency chose, so check with them.

Apps connected to your Shopify store

Third-party apps are the part to look at. Shopify's developer docs say an app's "home page and backend are hosted by you", meaning the app developer, while "Extensions, Functions, and custom data are hosted by Shopify". The parts of any Shopify app that Shopify hosts run on Shopify's side, but each app's backend runs on whatever stack its developer chose.

PHP is a legitimate choice there. In August 2026, Shopify released official packages for building Shopify apps in PHP and Python. If an app vendor's PHP servers hold access to your store's data and are not patched, that could be a path for indirect exposure.

Ask the developers of the apps you use two questions. Does your app's backend run on PHP? If so, has it been updated to a fixed release and restarted?

Avada's Shopify apps do not run on PHP

None of Avada's Shopify apps run on PHP. They are apps you install from the Shopify App Store, and their backends are built on other technology. Joy Loyalty Program Rewards, for example, is a Node.js application deployed with Firebase on Google Cloud.

PHP2Shell is a flaw in the PHP runtime, so it does not give attackers a route into the servers behind Avada's apps. If you use Avada apps on your Shopify store, there is nothing to update or change for them because of PHP2Shell.

The same applies to this website: avada.io is served as static pages and does not run PHP.

What to do now

If you sell only on Shopify, step 9 is the one that applies to you. Steps 1 to 8 are for anyone who runs PHP, including a WordPress blog or landing pages next to a Shopify store.

  1. Find every place you run PHP: store, blog, landing pages, staging sites and tools that bundle PHP. CISA notes that "PHP is often a component of other software and prevalence may not be directly observable."
  2. Check the PHP version your site actually serves. Go by the server that handles your web traffic, not a separate command-line install (Qualys). A lower number can still be patched if your host uses a Linux vendor's backported package, so confirm with your host. Free online checkers, such as Imperva's, only look for outside signs, and Imperva notes that results "may require further verification". Use them only on sites you own or are authorized to test.
  3. Update PHP to a fixed release (8.5.12, 8.4.27, 8.3.36 or 8.2.35) or your Linux vendor's patched package. On managed hosting, confirm your host has done it. PHP 8.4.27 and 8.5.12 have a separate bug that can crash PHP on some sites that use SimpleXML; the fix is due in 8.4.28 and 8.5.13. WordPress.org says not to downgrade to avoid it, because older versions have the PHP2Shell flaws, and notes that 8.3.36 has the security fixes without this bug.
  4. Restart PHP after updating. The patched PHP is not live until PHP-FPM workers and Apache restart. If you run PHP in Docker or other containers, rebuild the images and redeploy, because a running container does not pick up the fix on its own. Sansec warns that "the official Docker php image gets no fix for 8.1 or older", so an image built on one of those versions stays exposed after a rebuild; move it to a supported PHP version or a vendor-patched package. That includes PrestaShop's official Docker images for PHP 7.4 and 8.1, which were rebuilt on October 23 but still run PHP 7.4.33 and 8.1.34.
  5. Turn off session upload progress until PHP's next release. To guard against CVE-2026-115560, PHP suggests setting session.upload_progress.enabled=0 until its next regular release. Set it in php.ini or your PHP-FPM pool, not with ini_set() or a .user.ini file, then restart PHP fully; Red Hat notes that a reload is not enough. Test any upload progress bars on your site afterwards. On managed hosting, ask your host; many say this is already covered.
  6. Move off PHP 8.1 and older. Ask your host or vendor for a backported package, and plan an upgrade to a supported version. CISA says organizations that cannot update right away, or that run PHP 8.1 or earlier, "should take PHP-based systems offline" until they are patched or updated. WordPress.org and WooCommerce give similar advice for self-managed sites on PHP older than 8.2.
  7. Treat firewall rules as a stopgap only. A web application firewall (WAF) filters suspicious requests before they reach your site. CISA says "A web application firewall may provide some protection until systems are updated or patched." PHP's own configuration stopgaps "reduce exposure to specific attack paths but do not make an installation safe." If you or your host block file-upload (multipart) requests as a stopgap, Sansec warns this can break product image uploads in the admin and some cart or checkout forms, so place a test order, and remove the rule once PHP is updated.
  8. Check for signs of compromise. The UK NCSC advises checking any system you could not update straight away for signs of compromise, including backdoors. Patching does not remove a backdoor that is already there. Amazon advises starting investigations from at least October 17.
  9. Ask your host and your app developers. Confirm that every PHP runtime touching your store or its data has been updated and restarted. Avada's apps do not run on PHP, so they need no action.

Signs to look for (for your developer or host)

  • PHP worker processes starting shells or download tools such as sh, bash, curl or wget (Huntress).
  • Unusual multipart (form upload) requests followed by PHP memory-limit errors or bursts of HTTP 500 responses (Wiz, Automattic).
  • Unusually large or malformed PHPSESSID cookies in responses, and PHP worker processes restarting for no clear reason (Wiz).
  • New or changed PHP files in your web root, and unfamiliar scripts on checkout pages (Safeguard).

A quiet log is not an all-clear. Datadog notes that a successful exploit need not crash the worker or return an error. PHP's advisory warns that the "absence of an error in logs is not proof of safety."

Sources

Frequently Asked Questions

Is my Shopify store affected by PHP2Shell?

Not through Shopify's own platform, as far as Shopify's published information shows. Shopify's engineering blog described its core platform and storefront renderer as Ruby applications in 2020, and its docs describe Oxygen, the host for Hydrogen storefronts, as a JavaScript runtime. Shopify had not commented on PHP2Shell as of October 27, 2026.

Indirect exposure is possible through apps. An app's backend lives on its developer's servers, and some developers build with PHP, so ask the makers of your apps whether they run it and whether they have patched.

Is PHP2Shell being exploited?

Yes. On October 26, 2026, the US agency CISA added both flaws to its Known Exploited Vulnerabilities catalog, which lists flaws with evidence of exploitation. On October 24, a researcher recorded attackers running commands on decoy servers (honeypots) with an unpatched PHP. As of October 27, no source we found had confirmed a break-in at a real store or business, but that is no reason to wait: update PHP now.

Do Avada's Shopify apps run on PHP?

No. None of Avada's apps on the Shopify App Store run on PHP. Joy Loyalty Program Rewards, for example, is written in Node.js and deployed through Firebase on Google Cloud. PHP2Shell is a flaw in the PHP runtime, so it does not reach the servers behind Avada's apps, and you do not need to take any action for them.

How do I check which PHP version my site uses?

In WordPress, open Tools > Site Health > Info > Server. Your hosting control panel or a phpinfo page shows it too. Running php -v on the server can report a different PHP installation from the one handling web traffic, so go by the version your site actually serves.

If the number is lower than 8.2.35, 8.3.36, 8.4.27 or 8.5.12, your site may still be patched: Ubuntu, AlmaLinux and CloudLinux (used by many shared hosts), for example, ship fixed builds that keep an older number. Your host can tell you which build you run.

On shared hosting, GoDaddy and Hostinger say a patched site can still show a number like 8.5.11, and GoDaddy notes that WordPress Site Health shows only the number. Both advise opening a phpinfo page, or your host's PHP Info screen, and checking that the Build Date is October 21, 2026 or later. Delete any phpinfo file you create once you are done.

What if my site runs PHP 8.1 or older?

The PHP project has no fixed release for these versions. Many hosts and Linux vendors have shipped their own patched builds, so ask yours whether you have one, and plan a move to a supported version (PHP 8.2 itself loses security support on December 31, 2026). If you cannot get a patched build soon, the US agency CISA advises taking PHP systems offline until you can.

Does a firewall like Cloudflare protect my site from PHP2Shell?

Only partly. Cloudflare switched on firewall rules for all plans, including Free, from 03:02 UTC on October 21, 2026, and other firewall vendors have added rules too. But a firewall only filters traffic that passes through it, so a server that can be reached directly is not covered, and Cloudflare saw attackers changing their payloads to get past its rules.

Use a firewall to buy time, not as the fix. PHP says updating is the only safe choice.

Do I need to change passwords after patching PHP?

If your site ran an unpatched PHP version, it is worth doing. Wiz and Sansec note that these flaws can leak server memory, which may hold passwords, tokens, API keys and certificates. Safeguard advises rotating payment gateway, integration, database and admin credentials once a store is patched, because patching closes the flaw but cannot recall data that may already have leaked.

Is PHP2Shell the same as wp2shell?

No. wp2shell is a separate pre-authentication RCE chain in WordPress core (CVE-2026-63030, CVE-2026-60137), disclosed on July 17, 2026 and fixed in WordPress 6.9.5 and 7.0.2 (Elastic Security Labs). PHP2Shell sits in PHP itself, so the fix is a PHP update rather than a WordPress update.

Share this post:
BFCM 2026Deals across Avada appsNov 27–30