SHARED INTEL Q&A: PHP2Shell is no Log4Shell — open-source flaw is more warning than wildfire

By Byron V. Acohido

I wrote about Log4Shell when it broke in December 2021. The lesson then was how much of the modern web rests on open-source code that nobody fully sees.

Related: Log4j’s big lesson 

PHP2Shell teaches that lesson again, with a twist. Log4Shell was found the old-fashioned way, by a human researcher at Alibaba’s cloud security team.

This time, the weakness had been flagged years earlier, but no one could prove it was dangerous. Then researchers put AI to work on it. In about a week, they had a working attack.

Old flaw, new tools

On Oct. 21, the PHP project released fixes for two critical flaws in its core code, CVE-2026-109618 and CVE-2026-109619. Each is rated 9.2 out of 10. Both can let an attacker run code on a web server without logging in.

PHP is everywhere. It underpins WordPress, Drupal, Joomla and Magento sites, and the flaws reach back more than a decade. VulnCheck counts about 2.6 million internet-facing PHP hosts.

The warning came in a 2024 outside audit, but the fix stalled. The PHP Foundation now calls that delay a structural failure.

The AI work came from Calif, a California AI red-teaming firm, and Wiz, using frontier models from OpenAI and Google. Wiz says one researcher with AI did what would have taken a world-class team months.

Attacks, then a lull

Then came the scramble. Amazon spotted an exploit attempt four days before disclosure. Cloudflare logged millions of attempts within a day. CERT-EU advised organizations that couldn’t patch quickly to consider taking sites offline.

Yet for days, the attacks mostly failed. CrowdStrike reported plenty of probing but no successful exploitation.

Over the weekend, that shifted. A researcher set up decoy servers, known as honeypots, to watch what attackers would do. On those decoys, attackers broke in and got command access 35 times.

The catch: the researcher set up the decoys to give the attack its best shot, a common way to test whether an attack can work at all. Most real servers are set up differently, and many have added protections. So the break-ins prove the attack works, just not everywhere.

Not another Log4Shell

Log4Shell was a different animal. It was trivially easy to exploit. A single line of text, typed into a chat box or a login field, could take over a server, and attacks hit real systems within hours.

The fallout reshaped the field. Organizations scrambled to find every place the flawed code sat buried in their systems, a hunt many found surprisingly hard. That reckoning helped push software bills of materials, running inventories of the open-source code inside each product, into the mainstream.

PHP2Shell, so far, is not that. Even with AI in the mix, the real world’s organic guardrails are holding. Servers are set up in too many different ways for one exploit to work everywhere.

That could change. And detection often lags, so no confirmed breaches doesn’t mean none. But so far, the danger hasn’t matched the alarm. PHP2Shell looks more like the steady stream of serious flaws that get patched and fade from view.

The bigger shift

What’s genuinely new is how it surfaced. Turning a flaw into real damage takes three steps: proving it’s dangerous, making the attack work reliably on real-world systems, and using it at scale. AI just showed it can shrink the first step from months to about a week.

That raises two questions. How long before AI speeds up the other two? And how quickly will criminals pick up where the ethical researchers left off, now that they’ve shown the way? The answers could reshape the whole cycle of finding, reporting and patching flaws, including the bug bounty programs that pay researchers to find them first.

I put those questions to four security leaders: John Gallagher, vice president at Viakoo; Trey Ford, chief strategy and trust officer at Bugcrowd; Nick McKenzie, CIO and CISO at Bugcrowd; and Dana Simberkoff, chief risk, privacy and information security officer at AvePoint. Each, rightly, zeroes in on the practical nuances defenders face right now: how far the exposure really reaches, whether patching can keep up and who makes the hard call when it can’t. Their answers have been edited for clarity and length.

LW: This flaw sat in PHP’s core for more than a decade, flagged but unproven, until AI showed it was dangerous. What does that say about what’s still hiding in widely used code?

Ford

Ford: We’ve always suspected old code hides serious flaws. Now we have proof.

And it’s not just PHP. Every framework and open-source library has flaws buried in it. As more people look, and as AI helps them look faster, more of those flaws will surface.

That’s going to be uncomfortable for a while. In the meantime, the smart move is to test your deployments, plan for how things fail and layer your defenses, so the flaws nobody has found yet do less damage.

LW: The headlines have focused on websites. How far does the blast radius really reach?

Gallagher

Gallagher: Way beyond websites. PHP is buried in all kinds of systems, including building controls and industrial gateways. That’s operational technology and IoT.

Once attackers get in, they can run their own code or take over systems. The worst case is stealing credentials: API keys, device certificates, anything used to log in.

Websites made the headlines. The bigger threat is attackers seizing those OT and IoT systems and using them to move deeper into the organization.

LW: As AI sharpens both sides, who has the edge?

Gallagher: Security has always been lopsided. Attackers only have to be right once. Defenders have to be right every time.

AI makes that much worse. A defender has to scan, analyze and patch millions of systems across the cloud, the corporate network and every connected device. An attacker with AI just needs to find one that’s unpatched.

LW: Do traditional patch cycles hold up?

Gallagher: You can’t fight machine-speed attacks at human speed. For IT systems that update automatically, the honest answer is “just barely,” and not at all if attackers get a working exploit before the patch is out.

The bigger problem is everything else. Most OT and IoT devices don’t update themselves. For those, a monthly Patch Tuesday or a 30-day compliance window is obsolete.

When AI shrinks the time from a code fix going public to attackers scanning the whole internet down to minutes, manual patching can’t keep up. Even automated patching is a close race.

LW: Once the patch is in, is the risk contained?

Simberkoff

Simberkoff: Not necessarily. Flaws in older servers can quietly undermine trust well before any security alert goes off. Bugs this deep in the engine can let attackers read memory without logging in, so API keys and passwords may already be stolen before the patch goes on. Updating the software alone doesn’t close that gap.

For security leaders, it comes down to speed. Automated policies let you lock down access, change exposed credentials and protect key data right away, while IT works on fixing the systems themselves.

LW: CERT-EU told some organizations to consider taking sites offline. How should leaders weigh that cost?

Ford: When a flaw like this lands, the business has a choice. Take the system offline, or accept the risk and race to patch before something goes wrong. And that window keeps getting shorter, because attackers move at machine speed now.

It’s not just the security chief’s call, either. The risk committee should weigh in. We can’t count on disclosures being coordinated, or on friendly researchers finding the flaws first.

McKenzie

McKenzie: PHP2Shell put CISOs in some tough conversations with their CIOs. I’d bet plenty of security teams and IT teams were at each other’s throats over the right call, especially for old, unsupported versions of PHP that won’t get a patch.

This is where cyber risk and business risk collide. Stay exposed and risk a breach, or pull the app offline and lose a business-critical workflow. Both sides have a point. The CIO owns uptime, the CISO owns the exposure, and neither job goes away under pressure.

What helps is getting clear, fast. Someone accountable has to make the call, and everyone needs to see what each path costs before they commit.

LW: What should other CISOs take away?

McKenzie: Three things stand out.

First, decide before the crisis. Agree now on who makes the call when security and IT disagree, and on what “take it offline” actually means for each critical app.

Second, build your fallbacks ahead of time. A web application firewall (WAF) rule you can deploy today beats a patch promised for later.

And third, know where your software runs. You can’t make a risk call on something you don’t know you have, and PHP often sits quietly underneath websites, tools and third-party products.

The bigger lesson? Flaws like this don’t keep business hours. Waiting on a vendor patch while the internet catches fire is not a strategy. As the time to exploit keeps shrinking, round-the-clock response stops being a luxury.

Acohido

Pulitzer Prize-winning business journalist Byron V. Acohido is dedicated to fostering public awareness about how to make the Internet as private and secure as it ought to be.

(Editor’s note: This journalist-led report was produced with underwriting support from some of the featured companies, while Last Watchdog retained full editorial control. I use AI as a tool to help me gather evidence, test ideas and draft. I supply the direction, the critical thinking and the vigilance. I stand behind every claim and conclusion.)

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInEmail this to someone