The NSA’s PHP Warning: Why SiteGround Sites Were Already Patched
On October 21 the NSA told organizations running PHP to patch 2 critical flaws right away, and to take a system offline if they could not patch it yet. PHP runs most of the web, WordPress included, so that warning covers a lot of contractor websites. My phone lit up that afternoon with people asking whether their site was about to get hacked.
If your website is hosted on SiteGround, you can stop worrying. SiteGround put protections in place before the fix was even public, then installed the official PHP patches the day they came out. We checked our sites on SiteGround 2 days later and they were already running the patched version. You did not have to do anything, and you still do not.
Quick Answer · TL;DR
PHP2Shell is a problem in PHP itself, so the fix lives on the server, not in your website.
- The 2 flaws, CVE-2026-109618 and CVE-2026-109619, can let an attacker run code on a server without logging in.
- PHP fixed them on October 21, 2026 in versions 8.5.12, 8.4.27, 8.3.36 and 8.2.35.
- SiteGround patched its servers the same day and says customers do not need to change anything.
- Updating WordPress, your theme or your plugins does not fix this. Only a patched PHP version does.
- If your site is hosted somewhere else, check your PHP version today and ask your host to confirm the patch.
- PHP 8.1 and older get no fix from the PHP project, so a site on an old version needs to move up.
What Happened
What the NSA Warned About
PHP is the programming language that runs on the server behind most websites. When someone loads a page on a WordPress site, PHP is what builds that page. It is not something you see or touch. It sits underneath your site, and your hosting company is the one that installs and updates it.
Researchers found 2 serious flaws in PHP, now nicknamed PHP2Shell. In plain terms, both can let an attacker send a crafted request to a server and get it to run their code, without a password and without logging in. Each one is rated 9.2 out of 10 for severity. The PHP project released fixed versions on October 21, 2026.
The warnings that followed were unusually strong. The NSA urged organizations to inventory everything that runs on PHP and patch it, and said that if an immediate update was not possible, the system should come offline until it could be fixed. The UK’s national cybersecurity agency, the NCSC, gave the same advice. Attack attempts had already been seen before the patches shipped, which is why nobody was treating this as a wait-and-see situation.
Why your plugins cannot fix this one
Most WordPress security news is about a plugin or a theme, and the fix is to click Update. This is different. The flaw is in PHP, the layer underneath WordPress, so updating WordPress, your theme or every plugin you have changes nothing here. The only complete fix is a patched PHP version on the server, which on almost every small business site means your host has to install it.
The SiteGround Angle
Why SiteGround Customers Were Covered Before Most People Heard About It
A lot of our clients’ websites run on SiteGround, so this was the first thing I checked. Here is what SiteGround did, in order:
- October 20: PHP sent hosting companies an advance notice that a security release was coming.
- Before the release: SiteGround rolled out server-level protection rules across all its servers and switched off the affected functionality on every supported PHP version.
- October 21: PHP published the fixed versions, and SiteGround applied them across its servers the same day.
SiteGround’s message to customers was that there is nothing you need to do. No software to update, no setting to change, no PHP version to switch. In replies to customers, SiteGround also said the protection covers every PHP version it supports, whether a site uses its managed PHP setting or a version picked by hand.
I did not want to pass that along on SiteGround’s word alone, so we checked. On October 23 we looked at outdooit.com and at a client website, both on SiteGround. Both were running PHP 8.2.35, which is the patched release for the 8.2 line.

This is the part of hosting nobody thinks about until a week like this one. When a flaw lives in the server software, the speed of your host decides how long your site is exposed, and you have no say in it. SiteGround had protection in place before the details were public and the full patch on day 1. That is exactly what you are paying a managed host for. It is a big reason we host client sites there.
For Agencies
If You Run an Agency on SiteGround
If you manage a stack of client sites on SiteGround, you do not need to log into every one of them this week or take anything offline. The patch is at the server level, so it reached all of your sites at once.
What is worth doing is a quick spot check and a short note to your clients. Clients read the same headlines you did, and a 2-line email saying “we checked, your site is on a patched server” lands a lot better than silence. Check a couple of sites, confirm the PHP version, and tell people before they ask.
- Open 1 or 2 client sites and confirm the PHP version is a patched release from the table below.
- Look for any site still on PHP 7.4, 8.0 or 8.1 and plan a move to a supported version.
- Check any client site you manage that is not on SiteGround, since those are the ones that need attention.
- Send clients a short note saying their site is covered and why.
Everyone Else
If Your Site Is Hosted Somewhere Else
This is where you should spend 10 minutes today. Most hosts are patching, but they are not all equally fast, and you want to know rather than assume.
How to check your PHP version
In WordPress, go to Tools, then Site Health, then the Info tab, and open the Server section. The PHP version is listed there in full, for example 8.2.35. Compare it to this table.
| Your PHP line | Patched version | What to do |
|---|---|---|
| 8.5 | 8.5.12 or later | Covered if you are on 8.5.12 or later |
| 8.4 | 8.4.27 or later | Covered if you are on 8.4.27 or later |
| 8.3 | 8.3.36 or later | Covered if you are on 8.3.36 or later |
| 8.2 | 8.2.35 or later | Covered if you are on 8.2.35 or later |
| 8.1 and older | No fix from the PHP project | Ask your host about a backported fix, then move to a supported version |
If your version is lower than the patched one for your line, contact your host and ask 2 questions: when will the patched PHP be installed, and is there protection in place until then. If the answer is vague and the site runs anything important, like a booking form or payments, take the advice the NSA gave seriously.
If you are on PHP 8.1 or older, this is a good moment to move up anyway. Those versions stopped getting security fixes from the PHP project, so this will not be the last time an old version leaves a site exposed. On most hosts, switching to a newer PHP version is a setting in the control panel, but test the site afterward, because an old theme or plugin can break on a newer version.
How We Handle Hosting for the Sites We Build
Every website we build includes hosting during the build term, and we keep an eye on exactly this kind of thing so contractors do not have to. When a server-level issue like PHP2Shell comes out, we check our sites the same week and tell clients where they stand. You should be thinking about leads, not PHP versions.
Not Sure Where Your Site Stands?
Send me your website and I will check what it runs on, whether the PHP version is patched, and whether anything else on the site needs attention. No charge and no obligation.
The Short Version
PHP2Shell is serious, and the warnings were justified. It is also a server problem with a server fix. If your site is on SiteGround, the fix was installed on release day and you can get back to work. If it is anywhere else, check your PHP version against the table above and get a straight answer from your host this week.
Sources
Get contractor marketing tips in your inbox
SEO strategies, Google Ads insights, AI SEO updates, and practical marketing guides for home service contractors, delivered monthly. No fluff, no spam.


