The PHP security crisis, explained for dummies: what happened and how to tell if your website is protected

AI has discovered how to exploit a PHP security vulnerability that had been hidden for more than 20 years: what you should know and how to respond.
October 22, 2026

Wednesday was a rough day for half the Internet. Very rough, in fact.

You can call it PHPcalypse, PHPgate, or, if you prefer, use the name that will go down as its official one: PHP2Shell. Either way, this is something you should understand, especially if you manage a website or eCommerce business.

And since this is a slightly technical and rather messy issue, we will go step by step and keep things simple.

What PHP is

Today’s main character is not exactly young. PHP was born in 1995, created by Rasmus Lerdorf, and its initials originally stood for Personal Home Page, although today they refer to Hypertext Preprocessor. It is a programming language that runs on the server, meaning on the computer that hosts a website, rather than directly in the user’s browser.

And its global reach is enormous.

According to W3Techs data, PHP is present on 69.3% of websites with an identified server-side language. Other estimates place its presence between 72% and 79%. Industry reference portals such as Builtwith speak of 24 million websites using it worldwide. Why? Basically because CMS platforms such as WordPress are built on it, and WordPress alone already accounts for 42.8% of websites worldwide.

The origin of the case

One truly striking aspect of this case is that the root of the problem is not new. We are talking about vulnerabilities in PHP that had been present since 2004, but were only discovered relatively recently, as the PHP Foundation itself explains in this post. Remember this detail: the vulnerabilities had been present in all PHP versions since version 5, released in 2004.

There had been signs since 2024 that something might be wrong, but it was not until last August that a researcher from the cybersecurity company Calif, working within OpenAI’s Patch the Planet security initiative, informed the PHP Foundation that he had found the vulnerability. That very same day, OpenAI independently reported the same underlying issue. This was a critical vulnerability that had been there for more than twenty years, and it was discovered thanks to the support of GPT-5.6 Sol in investigating PHP issues.

“As of August 11, fixing it became the top priority for the entire PHP Foundation security team,” they explained.

What kind of risks are we talking about?

Through these vulnerabilities, a cybercriminal could have taken control of a web server remotely, without needing to know passwords or have a user account. We are talking about access to databases, customer information… data stored in systems accessible from the server, but also the ability to modify content, insert fraudulent links, redirect visitors to malicious pages, or alter how an online store functions. Attackers could also use the compromised server to distribute malicious software, maintain hidden access, or launch further attacks.

Given the seriousness of the matter, both the PHP Foundation and other companies involved in the investigation decided to establish a timeline for disclosing it gradually to the world. The idea was to avoid unnecessary panic and make sure the millions of affected websites could respond quickly and accurately.

But, as often happens in these cases, the truth of the situation came to light through a leak, and forums around the world began discussing an incident with the potential to bring the Internet to a halt.

And then the chaos began.

The digital world panics

The United States security agency, the NSA, warned that same Wednesday that all websites using PHP were at risk. In its statement, the NSA explained that “Effective immediately, all organizations using PHP for their systems are advised to prepare for an update addressing two critical vulnerabilities. (…) These vulnerabilities often provide a direct path to the server’s file system or database. If immediate patching is not feasible, organizations are advised to take the system offline until it can be fully mitigated. The NSA will follow with more specific guidance shortly.”

The PHP Foundation confirmed the news.

And of course, the world panicked.

In fact, that recommendation from the NSA was followed by multiple public and private organizations around the world. For example, the Government of the Netherlands published an official statement confirming the preventive shutdown of several services, including DigiD, which is used for digital identification with public administrations. Germany, France, Belgium, and Finland also reported cases of official bodies shutting down services, and there were disruptions affecting media outlets, hospitals, and educational platforms as well. In Spain, the CCN-CERT, a leading cybersecurity authority, also chose to put its website into maintenance mode.

Also in Spain, INCIBE, the National Cybersecurity Institute, issued a statement in which it rated the incident at the highest severity level (five out of five), explaining that PHP had published “two critical vulnerabilities in its core that may allow an unauthenticated remote attacker to execute code with the privileges of the web process. Both have a CVSS v4.0 score of 9.2 out of 10”. It also noted that attacks against PHP servers had been reported before the updates were released.

The solution to PHP2Shell

As was only logical, the PHPcalypse crisis was addressed through an urgent security update. PHP developers, with help from cybersecurity specialists and AI tools, managed to fix the two critical vulnerabilities.

Although PHP’s original schedule was to disclose the issue and release the patches on October 22, 2026, the leak led to the decision to move the release forward to the 21st. Four corrected PHP versions were distributed: 8.2.35, 8.3.36, 8.4.27, and 8.5.12, one for each currently active PHP branch (8.2, 8.3, 8.4, and 8.5). 

Hosting providers and system administrators began installing them to protect their servers, and the threat was mitigated on updated systems, although it did not disappear from the Internet entirely.

Okay, but… what should you do in your case?

Now let us get practical.

The first thing you should do is check whether your website uses PHP. As we mentioned, WordPress and WooCommerce are built on it, but PrestaShop, Drupal, and Magento (Adobe Commerce) also use PHP. If your site runs on any of them, you should review the installed version. If you use a SaaS platform such as Shopify, the infrastructure is managed by the provider, so you should check its security communications.

Next, you should verify that PHP is up to date and running one of the four “safe,” already patched versions that PHP released on the 21st. Versions 8.1 and earlier no longer have official PHP support. If they are still in use, you will need to migrate from them (although, I am afraid, this is something you should already have done by now). In this regard, remember that updating WordPress, WooCommerce, or PrestaShop is not enough. PHPcalypse affects the language these applications themselves run on, so the fix must be applied on the server.

If, as will be the case most of the time, all of this sounds like ancient Sanskrit to you, go with the simplest solution: contact your hosting provider or system administrator. They will know what to do. Ask them whether the servers are protected against vulnerabilities CVE-2026-109618 and CVE-2026-109619, request confirmation of the installed version, and make sure they confirm that the fix has been applied. A simple message like this would be perfect (we have already done it ourselves, by the way):

Hello, we are reviewing our website’s security in light of the critical PHP vulnerabilities (CVE-2026-109618 and CVE-2026-109619). Could you please confirm whether our website uses PHP, which version is installed, and whether the security patches released on October 21 have already been applied? We would also like to know whether any suspicious activity has been detected and whether we should take any additional measures. Thank you!

Whether you handle it yourself or manage it through external support, dig a little deeper. Even if PHP has already been updated, the website may still have been exposed. The technical team should review the server logs, look for suspicious activity, and verify that no unauthorized changes were made before the patches were applied. If there are any signs of compromise, it will be necessary to investigate the scope and assess possible data leaks.

That is precisely why it is important to review your backups and your website’s operation. Before making major changes, it is advisable to have a recoverable and functional backup available. Then verify that user access, forms, the shopping cart, payments, and other critical functions are all working properly.

Image: ChatGPT

Other articles related to

Published by

Content manager in Marketing4eCommerce

Stay up to date!

Únete a nuestro canal de Telegram

All you need to know!

Sign up for our newsletter and receive our best articles on eCommerce and digital marketing in your email for free.