AI Finds Zero-Days in Days. 53.9% of Generated Patches Fail
A 1Password review found 53.9% of 6,080 AI-generated patches failed. AI-assisted PHP2Shell research exposed the growing gap between finding flaws and deploying fixes.

Why it matters
- 1Password examined 6,080 AI-generated patches and found 53.9% failed to fix the original flaw, introduced a new flaw, or both.
- Zhipu AI’s GLM-5.3 produced working ExploitBench exploits in 50 of 410 attempts; Claude Mythos Preview managed 56.
- Wiz, Calif and OpenAI’s Codex Security team found two PHP flaws with CVSS ratings of 9.2 with AI assistance.
- PHP2Shell identifiers were CVE-2026-109618 and CVE-2026-109619; early attacks were observed before patches became available.
- LiteLLM version 1.107.0 was compromised through its published Python package while its source repository remained clean.
A 1Password analysis of 6,080 AI-generated security patches found that 53.9% failed to resolve the original vulnerability, introduced a new security flaw, or both. Anthropic research cited by Bennett shows how quickly frontier AI models (leading general-purpose AI systems) can now produce working exploits. Bennett argues that the combination turns remediation into the harder half of cybersecurity.
PHP2Shell supplies the concrete warning. According to research from Wiz, Calif and OpenAI’s Codex Security team, frontier AI helped one researcher uncover two critical PHP engine flaws in about a week. By the time patches appeared, early attack attempts were already being observed.
Bennett frames the stakes as operational rather than abstract. A model can produce an exploit before a maintainer ships a patch, and a patch can fail before it reaches production. Both delays enlarge the exploitation window, even when the initial finding is genuine.
How quickly can AI find exploitable flaws?
Anthropic research compared Zhipu AI’s open-weight GLM-5.3 with the restricted Claude Mythos Preview on ExploitBench, a benchmark for end-to-end software exploitation. GLM-5.3 produced working exploits in 50 of 410 attempts. Claude Mythos Preview managed 56.
Bennett treats the six-success gap as evidence that capabilities once limited to highly specialized security researchers are reaching a much wider audience. Frontier systems can also exploit flaws, not merely identify them. The software beneath those flaws has not become less vulnerable.
Bennett writes: “Finding a vulnerability doesn’t make you safer. First, you need to prove it’s real since AI-generated findings aren’t automatically valid, and a convincing-looking exploit isn’t always reproducible.”
His sequence continues with version mapping, exploitability assessment and risk analysis. AI can compress the search for flaws. It has not removed the engineering work required to establish that a flaw exists, reaches valuable systems and warrants immediate action.
What did PHP2Shell reveal?
The two Common Vulnerabilities and Exposures (CVE) identifiers were CVE-2026-109618 and CVE-2026-109619. Both carried CVSS (Common Vulnerability Scoring System) ratings of 9.2 and involved memory-safety flaws in PHP itself. The research demonstrated remote code execution, or attacker-controlled code execution, and memory disclosure, or exposure of process memory.
The researchers demonstrated those weaknesses against widely used applications, including WordPress, Drupal and Joomla. PHP’s runtime, the execution layer beneath applications, underpins a substantial proportion of the web. Even applications with otherwise secure code faced exposure because the weakness existed in the underlying runtime.
After an early public warning, PHP’s security team accelerated its release schedule. By the time patches became available, early attack attempts were already being observed. That chronology shows how disclosure-based workflows can lose time before defenders begin remediation, even when maintainers respond quickly.
The PHP2Shell disclosure coincided with a separate software supply-chain attack on popular open-source LiteLLM version 1.107.0, a gateway for large language models. Attackers embedded an infostealer, or malware for stealing data, and a remote access trojan, or malware providing remote control, in the published Python package.
Echo reports that the project’s source repository remained clean. A team reviewing source code alone would have missed the malicious payload entirely. The attack demonstrates that code review of the visible repository does not establish the safety of the distributed artifact.
Neither the PHP flaws nor the LiteLLM payload necessarily originated in an application’s own code. The vulnerabilities reached users through foundational software, while the malicious code entered through a routinely installed dependency. A scanner can issue a clean bill of health while both risks remain.
Until recently, discovering hidden flaws at scale required substantial research expertise and resources. Bennett argues that frontier AI is changing that equation by increasing the speed and accessibility of vulnerability discovery.
Why do vulnerability workflows still lag?
Bennett describes the familiar sequence: discovery, reporting, CVE assignment, patch release, scanner alerts, risk assessment, prioritization and deployment. Its weak point is knowledge. Traditional scanners identify disclosed issues, but cannot report a flaw with no CVE, advisory or patch.
That blind spot has grown less tolerable as AI-assisted research compresses discovery time. PHP2Shell showed that serious vulnerabilities can survive for years in foundational software. A conventional scanner can only prioritize the flaws that have entered the disclosure pipeline.
The 1Password result creates a second constraint. In its analysis of 6,080 generated patches, 53.9% left the original vulnerability unresolved, introduced another security flaw, or did both. More than half of the tested patches therefore carried a security problem of their own.
The study reflects specific testing conditions, Bennett notes. Its broader lesson remains: code that resembles a fix and proof that the code eliminates the defect require different levels of validation. A generated patch must still pass security, compatibility and deployment checks.
Even a technically correct patch can break existing functionality, fail against an older library version or force an upgrade that introduces a dozen other problems. Enterprises must roll changes across hundreds of applications, teams and environments. A patch that remains in testing protects no production system.
Bennett’s warning is blunt: “We’re accelerating vulnerability discovery insanely fast, while much of the work required to turn those discoveries into actual protection remains painfully slow. And that gap is becoming a security risk in its own right.”
Which four changes close the remediation gap?
Bennett rejects the idea that already overwhelmed security teams should simply work harder or process more alerts. His four recommendations focus instead on evidence, deployability and measurable protection.
- Look beyond the CVE database. CVE records and scanners show what defenders know, not every flaw that exists. Combine traditional scanning with proactive research, code analysis, threat intelligence and a clear understanding of the software components an organization relies on.
CISA’s Known Exploited Vulnerabilities Catalog can prioritize known threats, but it cannot reveal flaws nobody has disclosed. PHP2Shell showed that critical issues can persist in foundational software for years; AI-assisted discovery can shorten that interval to days.
- Treat more findings as more triage, not more security. AI can generate an enormous volume of potential findings, but not every result warrants an engineering team abandoning other work. The useful filter is whether the issue is genuine, exploitable and relevant to the organization’s environment.
Ask whether the issue reproduces, which versions are affected, whether attackers have a realistic path, and what business impact follows. Severity scores alone can bury reachable risks in systems that hold sensitive data and credentials.
- Make the fix deployable. Enterprises run legacy applications, interconnected systems and compatibility requirements; they cannot replace every dependency overnight. A correction requiring an organization to rebuild half its infrastructure offers little practical protection.
Develop ways to backport security patches, or move fixes into older supported versions, preserve compatibility, reduce unnecessary attack surface and deliver updates through tools teams already use. NIST’s enterprise patch-management guidance emphasizes identifying, prioritizing, installing and verifying updates.
- Measure time to actual protection. If AI finds a critical flaw today, defenders should track the elapsed time for validation, patch development, compatibility testing and production deployment. Findings produced per day is a research metric, not a protection metric.
Measure how quickly the organization can rebuild affected software, identify every application using a vulnerable dependency and complete the rollout with limited manual intervention. A patch that works in testing but never reaches production leaves the exposure open.
Echo provides one benchmark. Echo says it delivered fixed PHP packages immediately after upstream patches appeared and rebuilt images for supported PHP versions that same afternoon. That end-to-end timing offers a more useful comparison than model exploit counts alone.
Bennett expects frontier AI to keep compressing discovery time and widening access to exploit development, shrinking the window before attackers can act. He argues defenders can no longer assume that traditional disclosure and patching cycles will keep pace.
The next security contest will center on who can turn a finding into a reliable, deployable fix before exploitation begins. For security leaders, the decisive measure will shift from how many flaws AI finds to how quickly production receives a working defense.
Source: unite.ai
More from Marcus Bennett
Show full bio
Senior reporter covering companies, deals and strategy in artificial intelligence and machine learning at AI In Context.
873 articles
Related articles
- Millions of Hack Attempts Hit PHP Bugs Within Hours—and AI Is Why
- Sam Altman says the bugs can't all be patched as AI-driven 'Black October' shakes security
- 85% of Security Leaders Report Patching-Delay Incidents, Azul Survey Finds
- Three Frontier AI Models Agreed on Just One Vulnerability Out of 121
- Google Reports First Autonomous AI Attack That Finds and Exploits Flaws