Wherever there is a payment service available on the web, the likelihood of PHP making its way into such services is very likely. In the course of this week, patches have been issued by PHP Security Foundation concerning two serious vulnerabilities found in PHP known collectively as PHP2Shell that enable attackers full control over a web server without being authenticated.
Our objective here is to make sure that you are informed right from the start about what this means for your payments and what action needs to be taken.
What happened
PHP is the technology behind a lot of web sites out there ranging from WordPress and WooCommerce to Magento and various custom-built websites. On October 21, 2026, the developers of PHP released an emergency patch that addresses two critical vulnerabilities in PHP: CVE-2026-109618 and CVE-2026-109619. These vulnerabilities are considered to be very critical (9.2 on a scale from 10). They allow an unauthenticated user to execute any code on any computer where PHP scripts are executed.
In plain English: under certain conditions, PHP will handle memory data that PHP itself should not trust. And if an attacker manages to cause such vulnerability, then the attacker will have complete control over the server.
Three things make this one worth your attention:
- It’s broad. Reported affected versions run from PHP 5.4 through 8.5. Old and new installs alike are in scope.
- Details leaked early. Technical information got out before the official release, and proof-of-concept exploit code has been circulating publicly.
- Attackers are already probing. Exploitation attempts have been seen by the threat intelligence group from Amazon since October 17th, which was four days before the patch was made available. Although there are varying opinions regarding how common the attacks have been, it is important to view this as an ongoing threat.
Where this touches payments
The greatest risk lies neither in the credit card networks nor in the terminal located right at your own counter. It lies in the software sitting outside of all those on the Internet.
| Layer | Exposure | Why it matters |
| Your website and checkout | Highest | Many ecommerce platforms and plugins run on PHP. A compromised site can have its checkout page altered to skim card numbers or redirect customers. |
| Gateways and hosted payment pages | Moderate | Gateways themselves vary, but plugins, shopping cart connectors and admin dashboards are often PHP-based. A hacked site can still swap out the script that loads a hosted payment form. |
| Merchant, ISO and partner portals | Moderate | Reporting portals, CRMs and boarding tools across the industry are frequently built on PHP. A breach there exposes merchant data and account access, not just card numbers. |
| Processors | Lower, but not zero | Core authorization systems generally aren’t PHP, but the web portals and back-office tools around them can be. |
| Card terminals | Low | Countertop and handheld terminals don’t typically run PHP. The exception is a terminal managed through a web dashboard that is itself exposed. |
| Card networks | Indirect | The networks themselves aren’t the target. The impact shows up downstream as compromised cards, fraud, chargebacks and compliance reviews for affected merchants. |
Another important thing to mention is that the use of hosted payment pages or tokenization allows not storing card information on your own server. This is exactly what you need. But nevertheless, it will not save you from attacks on your website. In the case the attacker was able to hack the page from where the payment form was taken, then he can interfere with it.
What to do this week
You don’t need to be technical to get this handled. You need to ask the right people the right questions.
- Find out where PHP lives in your business. Your website, online store, booking or invoicing tools, and any customer portal are the places to start. If you’re not sure, ask whoever built or hosts your site.
- Ask your web host and software vendors directly. “Do you suffer from PHP2Shell vulnerabilities (CVE-2026-109618 and CVE-2026-109619)? Yes, No, or Date. If you’re on a managed platform, chances are your provider has dealt with it for you.
- Update, don’t just plan to update. Revisions were made available for PHP 8.2 to 8.5 versions which PHP supports. If you are using any version prior to these, please contact your hosting provider to use a patched version. You can also find your patched version from php.net or your Linux distribution’s security advisory.
- Use the temporary mitigations if you can’t patch today. PHP published interim steps, such as turning off session upload progress, that shrink the attack surface. They help, but they’re a stopgap, not a fix.
- Update your plugins and themes too. While you’re in there, bring WordPress, WooCommerce, Magento or whatever you run up to the latest version.
- Keep card data off your servers. If you are still taking card numbers through your website, now is the time to implement hosted payment page or tokenization. It will make your life simpler and reduce your PCI scope. We at PayTech Trust can assist you in this process.
- Tighten access. Turn on multi-factor authentication for your website admin, hosting account and payment portals, and remove logins for anyone who no longer needs them.
IT Personnel or Programmer: Check if the patch has been installed successfully by looking at the package changelog for the two CVEs, not only the version number. In some cases, the fix may be backported while maintaining the same version number.
Warning signs to watch for
Patching closes the door. It doesn’t tell you whether someone already walked through it. Over the next few weeks, keep an eye out for:
- Checkout changes you didn’t make. New fields, a payment form that looks slightly off, or customers being sent to an unfamiliar page.
- Card testing. A burst of small transactions, a spike in declines, or orders with mismatched names and billing details.
- New admin accounts or files on your website that nobody on your team created.
- Customer complaints about fraud on cards they recently used with you.
- Unusual activity in your portals, such as logins from new locations, changed payout or banking details, or API keys you don’t recognize.
If you notice any of the symptoms mentioned above, please reach out to us without further ado. If there is a remote chance that your website has been compromised, we will help you switch out the gateway API keys and passwords after the cleanup process.
What we’re doing, and how we can help
Don’t go at it alone. If you’re unsure about the vulnerability of your site or the checkout process, or if you’re looking to implement a hosted payment page or tokenized checkout as a form of protection, talk to your PayTech Trust representative or contact us yourself. We can help determine what your options are.
Such security problems are going to keep happening. What separates the merchants that survive despite this is not necessarily the one with the biggest IT budget; it’s the one that knows their technology and how to keep sensitive information away from it.
Further reading
