A little before seven this morning, Pacific time, the PHP project shipped an emergency release to close two holes that have been open since 2012. The holes have a name now, PHP2Shell, and a pair of CVE numbers, and a severity score of 9.2 out of 10. What they let a stranger do is send a few crafted web requests to a server and run their own code on it. No password, no login, no plugin required. The researchers who found them proved it against a fresh install of WordPress. Details leaked a day early, on Monday, and by the time the patch landed, security firms were already reporting attacks in progress.
Back in May I wrote a post called Do You Actually Need a CMS Anymore, and I was careful in it. I said I was not going to tell you the CMS was dead. That was true in May.
Today I am going to tell you WordPress is dead. Not fading, not losing share, not “legacy.” Dead, as of this morning, for the small business website it was built to serve. Here is why, and what to do about it before the end of the day.
What happened this morning
The two bugs, CVE-2026-109618 and CVE-2026-109619, live in PHP itself, the language WordPress is written in, not in WordPress and not in any plugin. Wiz Research, which found them, says they allow remote code execution, which is the security term for a stranger making your server do whatever they want, and a separate trick that reads live memory out of the server, where passwords, session tokens, and API keys for other visitors happen to be sitting. Both work without authenticating. Both affect every version of PHP from 5.4, released in 2012, through the version that was current yesterday. Wiz demonstrated a working attack against the latest WordPress container image, and its researchers note that even a one-line “Hello World” page on a vulnerable PHP install can be exploited, because the flaw sits underneath the application.
PHP fixed it with four releases this morning: 8.5.12, 8.4.27, 8.3.36 and 8.2.35. Help Net Security points out the part that matters for most readers of this blog: the PHP project no longer supports 8.1 or anything older, so those versions get no patch at all. Patchstack, which watches the WordPress ecosystem for a living, titled its alert “attacks ongoing” and listed every PHP serving setup as exposed, from the shared hosting default to the fancy new runtimes.
Wiz’s own headline puts the exposure at 70% of the internet. W3Techs counts WordPress alone at roughly 42% of all websites. If you own a small business, there is a very good chance your site is one of them, and a very good chance you do not know which version of PHP it runs.
The patch exists. It does not reach you.
Let me be fair to PHP for a moment. The fix shipped. If you run your own server, you can install it in ten minutes. If you are on a good managed host, they may have done it before you woke up. Automattic, Cloudflare, Google and AWS were all in the room before disclosure, and Cloudflare’s firewall was blocking the attack pattern before the details went public.
That is the best case, and the best case is not where most WordPress sites live.
At the start of 2025, W3Techs counted roughly 45% of PHP sites still running version 7, a line that stopped getting security fixes in November 2022. Those sites are not waiting for a patch. There is no patch coming for them, this week or ever. The only fix is to move to a supported PHP, which on a lot of old installs breaks the theme, breaks two plugins, and breaks the page builder, which is exactly why nobody has done it in four years.
And if your site is on a $6 a month shared host, you do not control the PHP version at all. You control a dashboard that says “17 plugin updates available,” and you have been ignoring it since spring, because the last time you clicked it the contact form stopped working.
I wrote about that dashboard in March, in Yes, You Can Use Claude to Manage Your WordPress Site, and the third option in that post was to leave. Today the third option is the only one left.
Why this one is different from the last hundred WordPress scares
WordPress has had security news every month of its life. If you have owned a site for a decade you are numb to it, and reasonably so. So let me say exactly what is new.
These bugs were in the PHP source for fourteen years. The code was open. Thousands of competent people read it. Nobody turned the bugs into a working exploit, because doing so meant chaining several memory corruption tricks together and re-tuning the chain for every PHP version and server configuration. Wiz describes that work as sitting at the edge of what human researchers could practically do.
Then, on August 19, a Wiz researcher pointed frontier AI models at the PHP codebase. Gemini 4 Argon, GPT-5.6 Sol and Wiz’s own Atlas tool. The first bug fell that day. A working attack on Drupal came the next day. A working attack on WordPress came the day after that. One person, one week, with a team’s worth of months compressed into it. Wiz says so plainly in its writeup and adds that there are other variants of the same pattern in PHP, some tracked, some probably not yet found.
That is the fact to carry out of this post. The cost of turning a decades-old bug in a large old codebase into a weapon has collapsed, and it collapsed this summer. WordPress is a 23-year-old PHP application that executes code and queries a database on every page view, with a marketplace of more than 60,000 third-party plugins doing the same. Every one of those is a surface, and every surface just got cheaper to probe by a factor that Wiz measured in weeks versus months.
The patch fixes today’s bug. It does not change the shape of the thing. The next PHP2Shell is not a question of whether. It is a scheduling question, and the schedule got short.
The site that cannot be hacked this way has no PHP to patch
Here is the part I have been saying since February, which is now the whole argument.
A content management system is a graphical interface that lets a person who cannot write code put words into a database. That is the entire job. The database exists so a human can type into it. The PHP exists to pull those words back out of the database and build a page every time someone visits. The plugins exist to add features to the thing that pulls words out of the database. The security patches exist because the plugins exist. Pull the first domino and the whole row stops making sense.
The first domino was the human typing into a database. We do not need that anymore. I have not opened an admin panel in over a year, and this site publishes more than it ever did. The editor now is an AI agent, and an agent does not need a form, a button, a media library or a login screen. It needs text. I made that case in When Text Is All You Need, and the industry has been quietly agreeing by landing new sites on file-based frameworks all year.
When the editor lives in text, the site becomes a folder of files. The files get built into plain HTML once, ahead of time, and copied to a content delivery network. When a visitor shows up, a server hands them a finished page. Nothing executes. Nothing queries. There is no PHP on the box because there is no box, just files on a network that was built to serve files.
You cannot PHP2Shell a page that was rendered last Tuesday and has been sitting in a cache since. There is no interpreter to corrupt. There is no memory to leak, because there is no process. The attack class that made headlines this morning does not apply, and neither does the next one in that class, or the one after that.
This is not a clever workaround. It is the ordinary result of removing a machine you only needed because humans had to be in the loop, and humans are no longer in that loop.
What to do today
Three things, in order. The first two take an hour.
Find out what PHP your site runs. Log in to WordPress, go to Tools, then Site Health, then Info, then Server. If the number starts with 7 or with 8.0 or 8.1, you have no patch available and you should assume the site can be taken over by anyone who feels like it. If it is 8.2 or higher, email your host and ask whether today’s release is installed. If they cannot answer in plain language, that is your answer.
Export your content. Tools, then Export, then All Content. You get one XML file with every post and page. That file is just text. It is the only thing on the site that was ever yours, and it fits in an email.
Start the migration. The shape I recommend has not changed since the guide we published in February: content in files, files in a git repo, a static framework pointed at them (Astro if you are starting fresh, Next.js is what this site uses), hosted on Cloudflare Pages, with Claude Code as the editor. A contact form runs through a small serverless function. Every old URL redirects to its new home so you keep your search rankings. In Claude Code the prompt is roughly this:
I have a WordPress site at https://mysite.com and an export file at
wordpress-export.xml. Rebuild it as an Astro site deployed on Cloudflare
Pages. Keep the design, content and URL structure. Set up the contact form
with Resend. Add redirects for every old URL. Then show me the diff.For a typical business site with 5 to 20 pages and a blog, that is a few days of work, most of it reviewing what the agent produces. The hosting bill afterward rounds to zero. The maintenance afterward is the sentence you type when you want something changed.
If you want the long version, the guide is still two dollars.
The exceptions, briefly
Some sites really do need a database and a workflow around it. A newsroom with a copy desk. A catalog with ten thousand products and live inventory. A regulated practice where the audit trail is the product. I listed those in May and they are still true.
But notice what they have in common: they are not most small business websites. And even those, if I owned them, would have a static public face and private machinery that an anonymous visitor cannot reach. That is a bigger project and a different post.
For the plumber, the law office, the restaurant, the clinic, the consultancy, the site that exists to say who you are, what you do, and how to reach you: that site has no reason to run a program when someone visits. It should be files. Today it has to be.
WordPress launched in 2003 to let a person type into a database. It did that job for 23 years, better than anything else, and it carried nearly half the web on its back. This morning the database became the liability, the person became optional, and the thing holding them together became the way in.
Rest in peace. Export your content.
Related reading
- Do You Actually Need a CMS Anymore? on what a CMS is actually for, and what replaced ours
- When Text Is All You Need on why the editor is now an agent, and why that means files
- Yes, You Can Use Claude to Manage Your WordPress Site on the migration, step by step
If you have a WordPress site and want it off PHP this week, let’s meet or call our AI voice agent at (530) 702-4447.