Site Security
Estimated reading time: 7 min read

AI Is Finding Critical Bugs Fast: Is Your Website Ready?

Ben Marshall Ben Marshall Full-stack Developer & Engineering Manager
AI circuit pattern illustrating AI-found vulnerabilities and faster patch cycles for websites
On this page
AI tools found PHP2Shell and a Node.js flaw this month, and OpenAI expects more. Here is what that means for site owners and a simple plan for the next patch emergency.

AI-found vulnerabilities are no longer a lab story. AI tools helped find PHP2Shell, the PHP flaw that sent the web scrambling this week, and a serious Node.js bug fixed the same day.[1][6] OpenAI expects many more.[1] For site owners, the hard part is no longer finding bugs. It’s getting fixes onto your server before attackers arrive.

What happened

On October 21, 2026, PHP released fixes for two critical flaws now called PHP2Shell.[9] Researchers at Calif found one of them with OpenAI’s GPT-5.6 Sol, and Wiz found both independently, using AI models in its work.[1][2] The vulnerable code had been in PHP for about 14 years.[2]

It wasn’t a one-off. The same day, Node.js fixed a flaw in its Brotli decoder that could allow remote code execution. Node.js credits OpenAI Codex Security with the report.[6] A week earlier, the security firm XBOW said it used a public OpenAI model to build a Chrome exploit chain in six days, for about $40,000 in AI costs. Google paid it a $250,000 bounty.[5]

“Pre-LLMs a Chrome full chain would take a team of four around 6-9 months”

Brendan Dolan-Gavitt, XBOW, via The Hacker News [5]

OpenAI calls PHP2Shell “one of the most impactful security issues in recent memory.”[1] It says these bugs are among several it has already found, and that it expects similar findings to rise sharply.[1]

Why it matters for your site

When a big flaw goes public, the clock starts at once. Cloudflare saw tens of thousands of PHP2Shell attack attempts within 45 minutes of the news, and millions by the next day.[2][4] Amazon logged an attempt on October 17, four days before the fixes came out.[3]

Most sites were still exposed. On October 21, Censys counted about 2.58 million internet-facing PHP hosts, and about 1.57 million of them looked unpatched.[3] As of October 23, security firms had not confirmed a successful break-in, but one firm, VulnCheck, says it has built a working exploit.[4]

Some organizations chose to go dark rather than wait. Germany’s federal IT provider and France’s Interior Ministry took sites offline as a precaution while patches were pending.[7] Most small businesses will never face that call alone, because their host runs the server. That makes your host’s speed part of your security.

Our take: patching is now the bottleneck

We think the lesson of this week is simple. AI is making it cheaper to find serious bugs, for defenders and attackers alike. OpenAI says so itself: the same skills can help attackers build exploits quickly.[1] So the number of “update today” moments is likely to go up, and the gap between a fix and an attack is likely to stay short.

That doesn’t mean panic. It means the boring parts of running a website now matter more: knowing what you run, who updates it, and how fast. A small site on a well-run host can be patched before its owner wakes up. A site on an old server nobody watches can sit exposed for months.

The “defender’s window” is real, but it leaks

OpenAI says frontier AI found the PHP flaws before attackers did, which gave PHP, hosts and security firms time to prepare fixes and firewall rules.[1] That head start helped. Cloudflare’s rules, for example, covered free plans too.[9] But details leaked a day early, and someone was probing for the flaw days before disclosure.[3][9] Plan as if your window will be hours, not weeks.

OpenAI also floats an idea worth watching: always-on, internet-wide scanning for known flaws that either notifies site owners or patches the system.[1] It’s a proposal, not a service, and it raises hard questions about consent. For now, nobody is coming to patch your server but you or your host.

How to get ready for AI-found vulnerabilities: a 6-step plan

None of this needs a security team. Most of it takes an afternoon.

  1. Write down what you run. One page: your host, your PHP version, your CMS, plugins and themes, and who has admin access. In WordPress, Tools, Site Health, Info shows the PHP version under Server.[9]
  2. Know who patches what. On managed hosting, the host updates PHP and the server. You update WordPress, plugins and themes. On your own server, it’s all you. Write the answer down before you need it.
  3. Let safe updates run. WordPress installs minor and security releases automatically by default.[8] Don’t turn that off. Consider auto-updates for plugins you trust and use often.
  4. Test a restore, not just a backup. TechRadar’s advice during PHP2Shell was to make a backup and make sure it can be restored quickly.[7] A backup you’ve never restored is a guess.
  5. Decide who can take the site offline. Governments did it this week.[7] Agree in advance who makes that call for your site and how you’d tell customers.
  6. Retire what you don’t use. Old staging sites, test installs and servers on PHP 8.1 or older are the ones nobody patches. PHP 8.1 and older get no official PHP2Shell fix.[9]

Three questions to ask your host this week

QuestionA good answer sounds like
Is my server on a patched PHP build for PHP2Shell?A clear yes, with the PHP version or the date it was patched.
How fast do you apply emergency server fixes?Hours to a day, with firewall rules while they patch.
How will you tell me when something like this happens?An email or status page, not silence.

If your host can’t answer the first question by now, that tells you something. Our PHP2Shell live guide lists fixed versions and what other hosts have said. The Rank Math PRO malware recovery order is a good model if you ever need to clean up after a break-in.

Will AI also find bugs in plugins?

Almost certainly, though we can’t say how many. The same tools that found a 14-year-old flaw in PHP can read plugin code too.[2] More reports will mean more plugin updates, and some reports will be noise. We wrote about that side of it in AI slop in bug bounty programs. The fix for both is the same habit: update promptly, and remove plugins you don’t need.

Where Zero Spam fits

Zero Spam doesn’t patch your server, and it can’t stop a PHP flaw. Only updates do that. What it does is block spam bots and known bad IPs on your forms and comments, which cuts junk traffic and keeps your logs readable when you need to check them. The free Zero Spam WordPress plugin is a good habit, and you can start on the free Explorer plan.

FAQ

Frequently Asked Questions

Did AI find PHP2Shell?

Partly. Calif found one of the flaws using OpenAI’s GPT-5.6 Sol, and Wiz found both independently with help from AI models.[1][2]

Are AI-found vulnerabilities more dangerous than others?

Not by nature. The risk is volume and speed: OpenAI expects more of these findings, and attacks on PHP2Shell began within minutes of the news.[1][2]

Do I need to do anything if I use managed WordPress hosting?

Ask your host to confirm it patched PHP, keep WordPress security updates on, and test a backup restore.[7][8][9]

Was the Node.js flaw found by AI too?

Node.js credits OpenAI Codex Security with reporting it. It was fixed on October 21, 2026, in 22.23.4, 24.22.1 and 26.12.1.[6]

Sources & References