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
- 01Can you list every agent?
Owner, model, tools and the data it can reach, in one place.
- 02Can you replay a run?
Who it acted for, what it called and what was blocked, in a record that cannot be quietly edited.
- 03Would you notice a change?
A new tool, a burst of calls, an unusual destination. Behaviour should have a baseline.
- 04Can 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.
