On Wednesday, 21 October 2026, at 3 pm Lisbon time, the PHP team published a security update with a sentence you rarely read in technical notes: there are no complete mitigations, updating is the only safe choice. In the following days, according to the Portuguese Government, several public bodies in Portugal temporarily took their websites offline to apply the fix.
Almost four weeks later, on 16 November, the subject has left the news, but it has not left the servers. If your company has a WordPress website, a WooCommerce store or a custom-built platform, it very probably runs on PHP: according to W3Techs, PHP is used by 68.2% of websites whose server-side language is known. And there is a point many SMEs are unaware of: this fix does not arrive with a WordPress or plugin update. It has to be applied by whoever manages the server, and many companies have still not confirmed that it happened.
The PHP2Shell vulnerability is in PHP itself, not in WordPress: it is only fixed when whoever manages the server installs PHP 8.2.35, 8.3.36, 8.4.27 or 8.5.12, or an equivalent version already patched by the vendor.
One note before going on: Digito is not a cybersecurity company. This article explains what the flaw means for anyone who owns a website and what to ask whoever runs it; it is no substitute for a technical analysis of a server that has been attacked.
What has happened since 17 October
PHP2Shell is the name given to two critical flaws in PHP, CVE-2026-109618 and CVE-2026-109619, both rated 9.2 out of 10 on the CVSS scale. They allow someone, without logging in, to run code on the server with the web server's permissions. In practice, that can mean altering pages, installing malicious code or reaching the site's data.
| Date (2026) | What happened |
|---|---|
| 17 October | AWS records an exploitation attempt, four days before public disclosure |
| 21 October | Fixed versions 8.2.35, 8.3.36, 8.4.27 and 8.5.12 are released; the European Commission, ENISA, CERT-EU and Europol publish a joint statement asking organisations to coordinate with hosting providers |
| 22 October | Portugal's CNCS admits "relevant potential exposure" in the country and starts looking for vulnerable sites, beginning with public ones |
| 23 October | PHP publishes an advisory on a third, less likely flaw (CVE-2026-115560), to be fixed in the next regular update |
| 26 October | CISA, the US cybersecurity agency, adds CVE-2026-109618 to its catalogue of exploited vulnerabilities |
| 28 October | Security firm Dream describes an attack that used PHP2Shell to get into 25 network appliances, three of them in an entity linked to the US Government |
Sources for each row: the PHP news archive, AWS, the European joint statement and Observador, which quotes the CNCS.
On the real risk, it pays to be precise. In the first days, what was seen was mostly scanning and failed attempts; Sophos said on 22 October it had no evidence of successful attacks, and the CNCS had no reports of attempts in Portugal. Since then, the CISA listing and the case described by Dream show that exploitation is no longer theoretical. That case targeted network appliances running an old PHP version, not company websites, but the lesson holds: anyone who has not updated yet is relying on luck.
Three questions to know whether your site is exposed
- Does the site run on PHP? WordPress, WooCommerce, PrestaShop, Joomla, Drupal, Magento and many custom-built sites, yes. On closed platforms such as Shopify or Wix, the server is not yours: the responsibility lies with the provider.
- Who manages the server? This is the most important question, and many companies cannot answer it.
- Which PHP version is installed, and with which fixes? The version number does not always tell the whole story, as we will see below.
PHP considers every installation serving web pages at risk, whatever the way it connects to the server (PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP or LiteSpeed). For mod_php, it describes a demonstrated attack that happens before any application code runs. That is why a security plugin does not solve it: the attack can happen before WordPress loads.
Who has to update, depending on the hosting
- Shared hosting or managed WordPress: the provider updates. GoDaddy, for example, told its customers it had patched every version on those plans, warning that the version number might not change.
- Virtual (VPS) or dedicated server: the update is yours, or belongs to whoever you hired to manage it. The same GoDaddy told VPS customers expressly that they had to update PHP themselves.
- Site built by an agency or a freelancer: it depends on the contract. If the contract covered development only, the server may in practice have nobody responsible for it.
- Closed platforms (SaaS): there is nothing to install on your side. The difference between these platforms and a store of your own also runs through here, as we explained when comparing Shopify and your own store.
An accounting firm in Aveiro has a WordPress site built by a freelancer in 2020, on a VPS contracted in the freelancer's name. WordPress updates itself and the firm believes everything is up to date. The server's PHP does not update itself, and nobody has that task. This is the profile of site that stays vulnerable for weeks without anyone noticing.
What to ask your hosting provider or agency today
You can send these five questions exactly as they are:
- Which PHP version runs our site and who is responsible for updating it?
- Can you confirm in writing that CVE-2026-109618 and CVE-2026-109619 are fixed on our site, and since what date?
- Was the fix applied to the same version (without changing the number) or was the version changed?
- Have you seen attack attempts on our site since 17 October and checked for intrusion?
- When was the last backup taken, and is it stored off the server?
A reply within a few hours is normal from an organised provider. If more than a day passes without a clear confirmation, that is a problem in itself. It is what the European joint statement asks for: identify PHP applications and coordinate with hosting providers.
How to check without being technical
In WordPress, the path is Tools, Site Health, Info, Server. The PHP version appears there. If it is 8.2.35, 8.3.36, 8.4.27, 8.5.12 or higher within the same branch, it is fixed.
If a lower number appears, that does not prove the site is vulnerable. PHP explains that Linux distributions and extended-support vendors received the fixes in advance, and many apply them without changing the number. In that case, only written confirmation from the provider settles the doubt. GoDaddy tells customers with technical access to check the PHP build date; if someone creates a phpinfo file to see it, they should delete it immediately afterwards, because it exposes the server configuration.
A note on quick fixes: PHP lists configuration changes that reduce the risk while you do not update, but writes that they do not make an installation safe. They buy hours, not weeks.
Already updated? Look back to 17 October
AWS recommends that any investigation starts on 17 October, the date of the first known attempt. For an SME, this means asking whoever manages the server to review the logs from that date, and checking for visible signs:
- administrator users nobody at the company created;
- strange pages, links or redirects;
- security warnings in the browser or in Search Console;
- files changed on the server without explanation.
If there are signs of intrusion, restoring a backup is not enough. You need to change the WordPress, hosting and database passwords, and the service keys stored on the site (payments, email, connections to other systems). A backup from before 17 October becomes valuable as a clean reference. At this point, the work is for a security company, not for the agency that built the site.
For online stores, the risk adds to that of apps and scripts in the checkout, which we covered in the article on online store security before Black Friday.
PHP 8.1 or earlier: the problem that remains
PHP 8.1 and earlier versions no longer receive updates from the project. This time, the PHP team provided minimal fixes for versions 7.4, 8.0 and 8.1, and some distributions offer their own. They are patches, not a plan. And there is a date to remember: according to PHP itself, PHP 8.2 stops receiving security fixes on 31 December 2026. A site on 8.2 fixed in October is left without a safety net again in a month and a half.
There is also the third flaw, CVE-2026-115560. On 16 November, the fix had not yet been released; PHP says it will publish it with the next regular update and recommends, in the meantime, disabling the session.upload_progress option, which most SME sites have never used. It is worth asking your hosting provider to handle this too.
A ceramics store on WooCommerce was set up in 2021 with PHP 7.4, because an old shipping plugin did not work on newer versions. The store sells, the plugin works, nobody touches it. In October, that decision started to cost. The safe route is to test the store on a copy with a supported version, replace the plugin that blocks the change and only then update the server. With Black Friday less than two weeks away, it is work for right after the sales, but to schedule now.
What these weeks teach about website maintenance
AWS recommends measuring the time to fix critical flaws in hours, not days. An SME without a technical team cannot do that alone, but it can make sure someone has that responsibility in writing. Three things that should be defined in any company with a website:
- Who owns the hosting account: the company, not a person or a supplier who may disappear.
- Who updates what, and within what deadline: server and PHP, WordPress, theme and plugins, with a short deadline for critical flaws.
- Where the backups are: off the server, with a restore tested at least once.
When comparing website prices, this part usually stays out of the calculation. When assessing how much a website costs in Portugal, ask also who answers in a week like that of 21 October.
How Digito helps
Digito is not a cybersecurity company and does not do forensic analysis of attacks. What we do is build and maintain websites and online stores, with managed hosting, updates and backups. On the sites we host, fixes like this one are handled by us, without the client having to ask.
If you are not sure who manages your website's server, or you have not yet obtained confirmation that PHP2Shell is fixed, we can start by identifying where the site is hosted, which PHP version it uses and who has access. From there, we tell you whether it is enough to ask the current provider for the fix or whether it pays to move to hosting with maintenance included: digitosolutions.com.
Sources
- PHP, News Archive 2026: advance notice of 20 October, security advisory of 21 October (fixed versions, SAPIs at risk, partial mitigations, backports for 7.4 to 8.1, PHP 8.2 end of life on 31 December 2026), informational advisory of 23 October on CVE-2026-115560 and Windows builds of 26 October; checked on 16 November 2026, no fix published for CVE-2026-115560
- AWS Security Blog, Amazon Threat Intelligence identifies PHP2Shell exploitation prior to public disclosure in MadPot, 21 October 2026 (updated 22 October): attempt on 17 October, fix within hours, investigate from 17 October
- European Commission, ENISA, CERT-EU, Europol EC3 and the CSIRT network, Joint statement on critical PHP vulnerabilities, 21 October 2026 (updated 22 October): identify PHP applications, coordinate with hosting providers, isolate what cannot be patched
- W3Techs, Usage statistics of PHP for websites: 68.2% of sites with a known server-side language, checked on 16 November 2026
- GoDaddy, Important PHP security update: what website owners need to do, 20 to 23 October 2026: shared and managed WordPress plans patched by the provider, VPS up to the customer, version number may not change
- Observador, PHP: one of the most serious vulnerabilities, with "relevant potential exposure" in Portugal, 22 October 2026: statements by the CNCS and the Government (the CNCS alerts were not consulted directly)
- Sophos, Proof-of-concept exploit released for PHP vulnerabilities 109618 and 109619, updated 23 October 2026: correction of 22 October, no evidence of successful compromise at that date
- watchTowr, CVE-2026-109618 FAQ, updated 26 October 2026: CVE-2026-109618 added to CISA's KEV catalogue on 26 October
- The Hacker News, PHP2Shell attack roots 25 servers, 28 October 2026, based on Dream's research: 25 network appliances compromised, attribution only suspected
- NCSC-NL, php2shell repository on GitHub, list of affected software updated 12 November 2026