PHP logo on a purple gradient background with Kinsta watermark in the corner

PHP2Shell: Why 70% of the Web Just Got an Emergency Patch—and What You Need to Do Today

November 05, 2026

If your business runs a website (and what business doesn't these days?), you need to pay attention to what happened yesterday. PHP—the programming language that quietly powers WordPress, Drupal, Wikipedia, and about 70% of websites worldwide—just received emergency security patches for vulnerabilities so severe they're being compared to Heartbleed and Log4Shell.

Here's what makes this different: these flaws were discovered by artificial intelligence, and they're so complex that they would have taken human researchers' months to find and exploit. AI did it in a week.

What Just Happened?

On October 21, PHP released out-of-cycle security patches for two critical vulnerabilities, now dubbed "PHP2Shell." These aren't bugs in a specific website or plugin—they're flaws in PHP itself, affecting nearly every version released since 2014.

What attackers can do with these vulnerabilities:

  • Take complete control of your web server
  • Steal passwords, authentication tokens, API keys, and certificates
  • Read sensitive data from server memory
  • Install persistent backdoors
  • Launch attacks deeper into your network

The scary part? Even a simple "Hello World" PHP page can be exploited. It doesn't matter how secure your website code is—if you're running vulnerable PHP, you're at risk.

The AI Factor: A New Era in Cybersecurity

What makes PHP2Shell historically significant isn't just the severity; it's how it was discovered. Security researchers at Wiz used AI models (Wiz Atlas, Gemini 4 Argon, and GPT-5.6 Sol) to find vulnerabilities that had been hiding in plain sight for over a decade.

The vulnerable code was always there. What changed is that AI can now understand complex memory-safety issues and chain multiple flaws together into working exploit work that previously would have required a world-class team a month of effort.

Translation for business owners: If AI can find these vulnerabilities for defenders, it can find them for attackers too. The race between good guys and bad guys just accelerated dramatically.

Who's Affected?

If you run any of these, you're likely affected:

  • WordPress websites (43% of all websites globally)
  • Drupal sites
  • Joomla installations
  • Custom PHP applications
  • E-commerce platforms
  • Internal business applications built on PHP

As of yesterday, approximately 884,000 internet-facing servers were running PHP versions that can't even receive the official patch because they're too old.

What You Need to Do RIGHT NOW

Step 1: Identify Your PHP Installations

Don't just check your main website. Look for:

  • Development and staging environments
  • Internal applications
  • Control panels (cPanel, Plesk)
  • Vendor appliances that bundle PHP
  • Any Windows software running PHP

If you're hosted: Contact your hosting provider immediately to confirm they've patched your environment.

Step 2: Apply the Patches

These versions were released October 21:

  • PHP 8.5.11
  • PHP 8.4.26
  • PHP 8.3.35
  • PHP 8.2.34

Prioritize internet-facing systems first. Every hour you wait increases the risk.

Step 3: If You're on Old PHP (8.1 or earlier)

You have three options, and you need to pick one today:

  1. Upgrade immediately to a supported PHP version
  2. Take the system offline until you can upgrade
  3. Put it behind a VPN or firewall to block public access

There is no workaround. There is no "wait and see." Old PHP versions won't get patches, period.

Step 4: Watch for Suspicious Activity

Monitor your servers for signs of exploitation:

  • Unusual HTTP 500 errors or memory-limit errors
  • PHP processes launching shells or download tools
  • New files appearing in your web directories
  • Unexplained web shells, cron jobs, or user accounts
  • Large or malformed cookies in your logs

No Active Attacks... Yet

As of this morning, security researchers haven't observed active exploitation in the wild. But history tells us this won't last.

When a similar PHP flaw became public in June 2024, exploit attempts hit honeypot servers within 24 hours. With proof-of-concept details now public and 70% of the web affected, attacks are coming—possibly within hours.

The Bigger Picture: AI Is Changing Cybersecurity

PHP2Shell is a wake-up call. AI is lowering the barrier for discovering and exploiting complex vulnerabilities. Attacks that once required elite-level skills can now be automated and scaled.

But there's good news: The same AI that found these vulnerabilities can help defend against them. Organizations that invest in AI-powered security tools—for vulnerability detection, threat monitoring, and incident response—will have a fighting chance to stay ahead.

Sources & Further Reading