Search
AI News

Google, OpenAI, Amazon’s 2-Month PHP2Shell Response [2026]

Daniel Okafor
Daniel OkaforSenior AI Reporter
13 min read
Google, OpenAI, Amazon’s 2-Month PHP2Shell Response [2026]

Three of the world’s largest technology companies spent two months quietly coordinating a response to a web security problem most internet users never saw coming. On October 21, 2026, the PHP development team shipped fixes for two critical flaws, collectively nicknamed PHP2Shell, that could let an attacker run code on an affected server without ever logging in. By the next morning, CNBC reported that Google, OpenAI and Amazon had all been pulled into the response, each using its own AI models to find, test or defend against the bugs.

PHP2Shell is a story about a programming language most readers have never heard of powering a huge share of the sites they visit daily. But it is also something newer: a live demonstration of how AI labs now treat vulnerability research, patch verification and threat detection as a core product line, not a side project. Google’s cybersecurity unit Wiz leaned on Gemini. OpenAI said its own models helped researchers find the bugs in the first place. Amazon’s threat-intelligence system flagged attackers probing for the flaw before the public ever heard the name PHP2Shell.

Google · Preferred Sources

Don't miss new tech stories on Google

Add TrendinTech once in the Google app and our stories appear in your news suggestions.

Add Now

What PHP2Shell actually is

PHP2Shell is the shorthand name attached to two separate vulnerabilities in the core PHP engine, the open source scripting language that underpins a large share of the world’s websites and web applications. According to UPI, researchers at Google’s Wiz Research and the security firm Calif identified the flaws and worked through a coordinated disclosure process before going public. The PHP development team itself released the security fixes and urged site operators to update immediately once the window closed.

The danger is straightforward to describe even if the underlying code is not: unauthenticated remote code execution. An attacker does not need a password, a stolen session or any kind of insider access. A specially crafted request to a vulnerable PHP installation could be enough to run arbitrary code on the server, with the potential to expose sensitive data stored behind it. Cloud Security Office Hours, a security news outlet tracking the disclosure, described the pair as core engine flaws capable of remote code execution and memory disclosure, comparing the severity in passing to earlier infamous web bugs, though the exact CVSS scoring circulating in early coverage had not been independently confirmed by every outlet by the time fixes landed.

CVE-2026-109618 / CVE-2026-109619 — unauthenticated remote code execution
AWS guidance: upgrade to PHP 8.5.12, 8.4.27, 8.3.36, or 8.2.35

Those CVE identifiers come from Amazon Web Services, which published its own security bulletin tying the PHP2Shell name to CVE-2026-109618 and CVE-2026-109619 and recommending the version upgrades above. That bulletin, paired with AWS WAF mitigation guidance, became one of the clearest technical anchors in a story that otherwise moved fast across dozens of outlets in a single day.

Why a PHP bug turned into a three company crisis

PHP has powered server side logic since the mid 1990s, and it remains the backbone for a huge portion of content management systems, custom business applications and e commerce backends still running today. That installed base is exactly why a flaw like PHP2Shell cannot stay a niche story. A single core engine bug can ripple across millions of individually owned, individually patched servers, many of them running older PHP builds that nobody has looked at in years.

What pulled Google, OpenAI and Amazon into the same story is not that any of the three companies runs PHP at scale internally. It is that each has spent 2026 building AI systems specifically marketed for vulnerability discovery and security operations, and PHP2Shell became the first real world test case big enough for all three to talk about publicly on the same day. Readers who followed the original discovery of the PHP2Shell flaw already know how widely PHP sits under the surface of the web. This piece focuses on what happened after the bug was found, when three different AI security playbooks collided with the same two week disclosure window.

Google’s Wiz unit puts Gemini to work verifying patches

Google said its cybersecurity unit, Wiz, used AI models, including Gemini, to help assess the PHP2Shell vulnerabilities, test potential attacks against them, and verify that the eventual patches actually closed the hole. That is a meaningfully different role than simply finding a bug. Verifying a patch means an AI system has to reproduce the original exploit path, confirm the fix blocks it, and check that the fix did not quietly open a new one, a task security teams have historically done by hand, line by line.

The timing lines up with Google’s own push around Gemini 4 Argon, which the company announced on October 13, 2026, and has specifically pitched for cybersecurity work: finding and patching critical vulnerabilities, testing attack hypotheses, auditing codebases and formal proofs, and hunting zero day flaws and logic errors. Google has not confirmed that Argon specifically, rather than another Gemini model, carried out every PHP2Shell task Wiz performed, so that broader hunting mandate should be read as context for the kind of work Google is building toward rather than a line by line account of this one disclosure.

Raluca Ada Popa, head of Gemini Security at Google DeepMind, captured the company’s framing of this shift when she said that “frontier AI is a big shift for cyber defense,” a comment made in the context of AI assisted vulnerability discovery and the kind of rapid defensive work the PHP2Shell response required.

OpenAI’s two month coalition and Codex Security Cloud

OpenAI’s version of the story starts earlier and runs longer. The company said researchers working with its AI models helped uncover the critical PHP vulnerabilities in the first place, and that for the two months leading up to public disclosure it effectively led a coalition coordinating fixes and protective measures with maintainers, independent researchers and security providers before anyone outside that circle knew PHP2Shell existed. Two months of silent coordination across multiple organizations, all without a leak, is itself notable in an industry where disclosure timelines regularly slip or get forced early by outside pressure.

OpenAI’s own characterization of the stakes was blunt. The company described PHP2Shell as “one of the most impactful security issues in recent memory,” language that is notable coming from the lab that helped find it rather than from an outside commentator.

That discovery work sits alongside two product moves. GPT-6 Astra, which OpenAI has described as its most capable broadly deployed model, reached what the company calls the Critical level for cybersecurity capability under its Preparedness Framework as of September 3, 2026, a classification OpenAI uses to flag models whose offensive and defensive security skills have crossed a threshold worth extra safeguards. Separately, OpenAI’s Codex line picked up Codex Security Cloud, a research preview feature that scans entire GitHub repositories on demand or on a schedule, checks new commits continuously, removes duplicate findings, investigates issues and prepares fixes in the cloud, all while the developer’s laptop is closed. It is a small step from manually auditing one disclosed bug to running that same scrutiny continuously across a company’s whole codebase.

The double edged warning

OpenAI did not present its own involvement as an unqualified win. The company warned that “the same capabilities can also help attackers rapidly develop offensive tools and exploits,” acknowledging that the exact AI assisted analysis techniques used to find and verify PHP2Shell could, in different hands, be pointed at building the attack rather than the fix. It is a tension that runs through every AI security product shipped in 2026: the model that can audit a codebase for flaws is, by construction, also a model that can be asked to find flaws to exploit.

Amazon’s MadPot caught attackers before the world knew

Amazon’s contribution came less from a flagship model and more from infrastructure that has quietly run for years. The company said its MadPot threat intelligence system, a network of sensors and decoys designed to attract and log malicious internet traffic, detected attempted exploitation of the PHP vulnerabilities before public disclosure. In plain terms, someone was already probing for PHP2Shell style weaknesses while the coordinated fix was still being finalized behind closed doors, and Amazon’s systems caught it happening.

That detection fed into a broader AWS security posture. AWS explicitly said its own cloud services were not impacted by the two PHP vulnerabilities, while also confirming that it was among the cloud and infrastructure providers given advance mitigation information while the fixes were being coordinated. AWS further said that certain older PHP runtime lines running on its platforms would not receive patches and would instead require customers to migrate to supported versions, a reminder that cloud providers can shield their own infrastructure without automatically shielding every customer workload running on top of it.

AWS’s security bulletin and the WAF mitigation playbook

AWS turned its PHP2Shell response into concrete, dated engineering work rather than just a statement. The company published a security bulletin covering CVE-2026-109618 and CVE-2026-109619 and paired it with guidance on using AWS WAF rules to mitigate the remote code execution risk at the network edge, buying time for teams that could not patch instantly. On the hosting side, AWS Elastic Beanstalk shipped PHP platform version 4.13.12 on October 21, 2026, with a further release carrying the upstream PHP fix targeted for the following day.

For teams managing their own servers rather than relying on a managed platform, AWS’s recommendation was simple: move to PHP 8.5.12, 8.4.27, 8.3.36 or 8.2.35, whichever major branch a given application already tracks. Note that not every organization patches that fast. Readers who covered the Plex2Shell exploit earlier this year saw a similarly named vulnerability sit unpatched on tens of thousands of servers long after a fix existed, a pattern that tends to repeat whenever a patch requires a manual update rather than an automatic one.

PHP2Shell at a glance

DetailWhat is known
Vulnerability namePHP2Shell
Number of flawsTwo critical vulnerabilities in the PHP engine
CVE identifiers (AWS bulletin)CVE-2026-109618, CVE-2026-109619
Primary riskUnauthenticated remote code execution
Secondary riskPotential exposure of sensitive data
Fix released byThe PHP development team
Public disclosure dateOctober 21, 2026
Recommended PHP versions8.5.12, 8.4.27, 8.3.36, or 8.2.35
Pre-disclosure detectionAmazon’s MadPot threat-intelligence system
Companies involved in responseGoogle, OpenAI, Amazon

Comparing three different AI security playbooks

Lined up side by side, the three companies’ roles in PHP2Shell were not duplicates of each other. Each one occupied a different stage of the vulnerability lifecycle, from discovery through verification to detection of real world exploitation attempts.

CompanyAI tool or unitRole in the PHP2Shell responseKey action
GoogleWiz Research with Gemini modelsAssessed vulnerabilities, tested attacks, verified patchesWiz used AI models to validate that fixes actually closed the flaws before disclosure
OpenAIGPT-6 Astra and Codex Security CloudHelped uncover the flaws and led a two-month coordinated disclosure coalitionResearchers using OpenAI models identified the bugs; Codex Security Cloud now scans repositories for similar issues
Amazon / AWSMadPot threat-intelligence systemDetected attempted exploitation before public disclosurePublished a security bulletin, WAF mitigation guidance, and an Elastic Beanstalk patch

The pattern that emerges is specialization rather than redundancy. Google’s role leaned toward adversarial testing and patch verification, the kind of work that benefits from a model that can simulate an attacker. OpenAI’s role leaned toward discovery and long horizon coordination across many outside parties. Amazon’s role leaned toward detection at scale, catching real attackers in the wild rather than simulating them in a lab. None of the three replaced traditional human led incident response; all three fed their AI output into human decision makers before anything became public.

Historical context: PHP has been here before

PHP2Shell is not the language’s first brush with a severe, widely felt security flaw. PHP’s long run as one of the most deployed server side languages on the internet means any core engine bug inherits an unusually large attack surface the moment it is discovered, simply because so many sites, including ones running years old, unmaintained code, depend on it. What is different this time is less the severity of the bug and more the speed and visibility of the response. A two month, multi party coordinated disclosure involving three of the largest AI labs and cloud providers in the world, confirmed publicly within a day of the fix shipping, would have been unusual even five years ago. In 2026, it is becoming closer to the expected playbook for a bug of this size.

What PHP2Shell means for the AI security market

For enterprise security buyers, PHP2Shell is likely to function as a proof point rather than a one off news cycle. Three different AI driven approaches, model assisted patch verification, model assisted discovery paired with coordinated disclosure, and automated threat detection at network scale, were all exercised in public on the same vulnerability within the same week. That is the kind of case study that security vendors will cite in sales decks for years, and it gives enterprise buyers a concrete reason to ask their own cloud and security vendors what equivalent tooling they have in place.

It also raises the bar for what counts as an adequate response. A company that still relies entirely on manual patch review and quarterly vulnerability scans now has a public example of competitors running continuous, AI assisted repository scanning through tools like Codex Security Cloud, and automated adversarial testing through tools positioned like Gemini’s security tier. Google’s own security messaging around frontier model vulnerability hunting has leaned hard into this framing over the past several weeks, positioning AI assisted discovery as table stakes rather than a differentiator.

Governments and enterprises react

The discovery of PHP2Shell prompted urgent warnings from governments and security agencies tracking the disclosure, according to CNBC’s reporting, even as the three tech giants were simultaneously working through their own response efforts. That dual track reaction, official warnings running in parallel with vendor level mitigation work rather than waiting for it to finish, reflects how fast severity assessments now spread once a CVE with unauthenticated remote code execution potential becomes public. Enterprises running self managed PHP infrastructure were left with the most exposure, since cloud customers on managed platforms like AWS Elastic Beanstalk received patches automatically, while self hosted deployments depended on IT teams noticing the advisory and acting on it themselves.

Five predictions for what happens next

  • Expect more joint disclosure coalitions. A two month, multi party coordination effort that held without leaking is likely to become a template other labs and infrastructure providers reference the next time a core internet protocol or language turns up a severe flaw.
  • AI assisted patch verification tools, the category Google’s Wiz unit used here, will likely get formalized into standalone products rather than staying an internal capability used case by case.
  • Codex Security Cloud’s research preview status is unlikely to last long given the publicity PHP2Shell generated for continuous repository scanning; a wider rollout beyond Enterprise, Business and Edu customers is a reasonable near term expectation.
  • Unpatched PHP servers will remain exploitable for months. Based on the pattern seen with the earlier Plex2Shell exploit, a meaningful population of self hosted PHP installations will likely stay vulnerable well past the October 21 fix date.
  • OpenAI’s own warning about offensive misuse of AI assisted vulnerability research is likely to resurface in future policy discussions about how frontier models are classified and restricted for cybersecurity capability.

Frequently asked questions

What is PHP2Shell?

PHP2Shell is the name attached to two critical vulnerabilities in the core PHP engine that could allow unauthenticated remote code execution on affected servers. The PHP development team released fixes for both flaws on October 21, 2026.

Which PHP versions fix the PHP2Shell vulnerabilities?

According to AWS’s security bulletin, affected operators should upgrade to PHP 8.5.12, 8.4.27, 8.3.36, or 8.2.35, depending on which major branch their application already tracks.

Why were Google, OpenAI and Amazon involved in a PHP vulnerability?

Google’s Wiz unit used Gemini models to assess the flaws and verify patches, OpenAI said researchers using its models helped uncover the vulnerabilities and coordinated a two month disclosure process, and Amazon’s MadPot threat-intelligence system detected exploitation attempts before public disclosure. AWS also issued its own security bulletin and mitigation guidance.

Was AWS itself affected by PHP2Shell?

AWS said its own cloud services were not impacted by the two PHP vulnerabilities. It did say certain older PHP runtime lines on its platforms would not receive patches and would require customers to migrate to supported versions.

Did attackers exploit PHP2Shell before it was disclosed?

Amazon said its MadPot threat-intelligence system detected attempted exploitation of the vulnerabilities before they were publicly disclosed, indicating that some attackers were already probing for the flaw.

What is Codex Security Cloud?

Codex Security Cloud is an OpenAI research preview feature inside Codex that scans entire GitHub repositories on demand or on a schedule, continuously checks new commits, removes duplicate findings, investigates issues, and prepares fixes in the cloud even after a developer closes their laptop.

Does PHP2Shell affect every website running PHP?

Not every PHP installation is affected equally. Risk depends on which PHP version a site runs and whether it has been patched. Sites on unsupported or unpatched versions carry the highest exposure to the unauthenticated remote code execution risk described in the AWS and PHP advisories.

What should IT teams do right now?

Teams running self managed PHP servers should identify their current PHP version, apply the upgrade to the latest patched release in their branch, and apply AWS WAF style mitigation rules at the network edge if an immediate upgrade is not possible. Teams on managed platforms like AWS Elastic Beanstalk should confirm their platform version reflects the October 21 and 22, 2026 updates.

Related Coverage

Daniel Okafor

Daniel Okafor

Senior AI Reporter

Daniel Okafor is the Senior AI Reporter at TrendinTech, where he covers large language models, machine learning research and the practical use of artificial intelligence across business and government. He has a particular interest in evaluation: how models are benchmarked, where those benchmarks fail and what that means for the companies betting on them.

All stories by Daniel Okafor (402)

Related Articles