Skip to content
SkysphereAI LABS
Insights
SecurityNov 11, 20264 min read

PHP2Shell: AI agents now find the bugs. Watch your own.

In October 2026, AI agents helped uncover critical flaws in the language behind most of the web. The lesson is about your agents, not just your patches.

In short
  • 01AI agents helped find and chain critical PHP flaws in about a week.
  • 02The window between discovery and attack is collapsing.
  • 03Every agent you run needs an inventory, a trace and a pause switch.

On 21 October 2026 the PHP project shipped emergency fixes for a set of memory-safety flaws that Wiz Research named PHP2Shell. According to Wiz, the bugs allow an attacker to run code on a server without logging in, and affect nearly every PHP version released in the last decade.

PHP sits behind roughly 70% of websites, by the figure Wiz and the Associated Press both cite. The FBI’s cyber division advised operators who could not update immediately to take sites offline, and Europe’s cybersecurity agency urged immediate action.

The part that changes things

The flaws were not found the old way. Wiz says its researchers worked with AI agents to discover the bugs, chain them and validate the exploit, and that one researcher finished in a week what “would have taken a world-class team months.”

Months of expert work, compressed into a week.

This time the defenders got there first. IBM has since reported attackers exploiting the flaws, and the Associated Press quoted one large network provider describing millions of exploit attempts. The same tools are available to both sides.

What it means if you run agents

Patching PHP is the easy lesson. The harder one is that software agents are now capable actors, and most organisations are deploying them faster than they can see them.

  • Agents are attack surface. An agent with broad tools and a long-lived key is a ready-made foothold.
  • Agents are actors. They read records, call tools and act on behalf of staff, often with no single log.
  • Speed cuts both ways. If discovery takes days, a quarterly review of what your agents can do is too slow.

Four questions to answer this week

  1. 01
    Can you list every agent?

    Owner, model, tools and the data it can reach, in one place.

  2. 02
    Can you replay a run?

    Who it acted for, what it called and what was blocked, in a record that cannot be quietly edited.

  3. 03
    Would you notice a change?

    A new tool, a burst of calls, an unusual destination. Behaviour should have a baseline.

  4. 04
    Can you stop it?

    One agent or all of them, in a click, by someone accountable.

PHP2Shell will be patched and forgotten. The pace it revealed will not slow down. The organisations that do well from here are the ones that can see what their agents are doing, and stop them when it matters.

The product behind this post
MAIA
One roof for every city agent

Bring us the workflowthat slows you down.

Thirty minutes. We map it live and show you what an agent would do with it.