On October 17, Amazon's threat intelligence team caught something odd in their MadPot sensor network: exploitation attempts against a PHP vulnerability that hadn't been disclosed yet.
No CVE. No advisory. No patch. Just attacks, already running against 70% of the websites on the internet — four days before the security community even knew it was a problem.
That's PHP2Shell. And if you have a website (which you almost certainly do), this one landed in your world this week.
What it is
Two critical PHP vulnerabilities — CVE-2026-109618 and CVE-2026-109619 — were patched on October 21. Both rate 9.2 on CVSS, which is in the "emergency" range. Both allow unauthenticated remote code execution: an attacker sends a crafted web request, gets shell access on your server. No login required.
The underlying flaws had apparently been sitting in the PHP codebase since a 2024 security audit identified a memory issue. A fix stalled. The bugs aged quietly until researchers at Wiz, Calif, and OpenAI's Codex Security team all converged on the same discovery using AI-assisted analysis, which compressed the research timeline enough to make the root cause traceable. According to Wiz, the underlying exploit chain was "exceptionally complex" — the kind of multi-step path that historically took months for a dedicated researcher to reconstruct. AI brought that down to weeks.
That compression is the part worth sitting with. Because the same capability that found the bug is now in the hands of every sophisticated threat actor who reads the same security news you do.
Why this hits small orgs specifically
PHP powers roughly 70% of websites. WordPress is PHP. If your organization has a website — a nonprofit's donation page, a small business site on WP Engine, a community organization's event calendar — you were in scope from the moment attackers got their hands on a working proof-of-concept.
Here's the thing that doesn't get said enough: you probably can't patch this yourself.
PHP2Shell is a vulnerability in PHP itself. Not in WordPress. Not in a plugin. The fix lives at the server layer, which your hosting provider controls. If you're on managed WordPress hosting — DreamHost, Bluehost, SiteGround, any Canadian equivalent — your PHP version is theirs to update.
On October 21, the day patches shipped, one site monitoring firm reported that roughly 0.08% of sites had moved to a fixed PHP version. InMotion Hosting was publicly waiting on CloudLinux to build patched packages before they could roll them out. Some hosts patched within hours. Others took days.
If you haven't checked in with your host, you don't know which camp you're in.
What you should do right now
Check your PHP version. In WordPress: go to Tools → Site Health → Info → Server. Look for "PHP Version." You need 8.5.12, 8.4.27, 8.3.36, or 8.2.35 at minimum.
A catch: Ubuntu and Debian servers backport security fixes without changing the upstream PHP version number. So a patched Ubuntu server might still report an older-looking version. Don't rely on the number alone — contact your host and ask directly whether they've applied the PHP2Shell patches for CVE-2026-109618 and CVE-2026-109619. Get a written confirmation.
Scan for webshells. Separately from PHP2Shell, Wiz is reporting active exploitation of wp2shell, a WordPress core vulnerability (CVE-2026-63030 and CVE-2026-60137) where attackers are planting persistent backdoors in the file system. Even if you patch PHP today, an attacker who got in before the patch could have left something behind. Install Wordfence or Sucuri Security and run a full malware scan. Pay particular attention to /wp-content/uploads/ — PHP files in that directory are a red flag, because uploaded files shouldn't be executable.
Check your access logs. If your host gives you cPanel, Plesk, or direct log access, look for unusual POST requests to PHP files — especially anything that looks like it's executing commands or accessing system files. Most hosts have this under "Logs" or "Raw Access." You're looking for traffic that doesn't match your normal patterns.
The pattern worth understanding
PHP2Shell is a clear example of something we're going to see more of: exploitation starting before public disclosure.
The standard model has been: find a vulnerability, quietly tell the vendor (responsible disclosure), wait for a patch, then publish the research. The patch-to-exploitation window used to be measured in days to weeks. Defenders had time.
AI changes this because it helps both sides. The researchers who found PHP2Shell used AI to trace a complex exploit chain they say would have been extremely difficult to reconstruct manually. But they discovered this flaw while attackers were already running exploit attempts — meaning someone else found a version of it first, quietly, without publishing anything.
When AI makes the research phase dramatically faster, it narrows the gap between "someone figured this out" and "a patch exists." And for the window where exploitation is happening but no patch has shipped, defenders have almost nothing to work with. You can't patch something that hasn't been disclosed yet.
For a 15-50 person organization, this lands in a practical way. You're probably not monitoring your server logs in real time. You don't have an incident response plan sitting on the shelf. You rely on your hosting provider and your WordPress setup to be secure, largely because the complexity of staying on top of this is a full-time job.
That's not a criticism — it's the situation most organizations are actually in. But the gap between "relying on hosting defaults" and "actually knowing what's running on your website" is getting more expensive to ignore.
What to set up going forward
Three things that help more than a one-time patch:
-
Turn on automatic PHP updates with your host. Most managed WordPress hosts have this as a setting. Enable it. PHP critical patches don't benefit from careful observation time — they benefit from speed.
-
Get a weekly email summary from your security plugin. Wordfence and Sucuri both send regular digests. You don't have to watch the dashboard every day — you just need something that flags anomalies to your inbox.
-
Know who to call. When something like PHP2Shell drops, the first question is "is my host patched?" That should take five minutes to answer, not five days of ticket purgatory. Know which support channel your host actually responds to.
We help small teams build the kind of baseline that makes weeks like this less stressful — not a binder on the shelf, but a working setup. Reach out if you want a second look at where your organization stands.