AI Patching Fails 74% of the Time, 1Password Study Reveals Major Security Concerns

2 Sources

Share

1Password's Off-By-1-Labs research shows AI-generated patches successfully fix software vulnerabilities only 26% of the time. The study tested frontier models Claude and Codex on six recent CVEs, generating 6,080 patch attempts. Results reveal AI struggles to patch vulns without human supervision, with 74% of patches either failing completely or introducing new security issues.

AI Struggles to Patch Software Flaws Despite High Expectations

1Password's newly formed security research team, Off-By-1-Labs, released findings that challenge the notion of autonomous patching in cybersecurity

1

. The 1Password study tested frontier AI models on their ability to generate fixes for software vulnerabilities, revealing a stark reality: AI-generated patches successfully resolved security vulnerabilities only 26% of the time

2

. Researchers initially hypothesized a 67% success rate, expecting AI patching to leverage vast open source code repositories and public disclosures from training data. The actual results proved significantly lower and more uneven than anticipated

1

.

Source: ZDNet

Source: ZDNet

The research team tested two frontier models—ChatGPT 5.5 at medium effort and Claude Opus 4.8 at high effort—against six recently disclosed vulnerabilities unlikely to exist in training datasets

2

. These included CVE-2026-31431 (Linux privilege escalation), CVE-2026-34197 (ActiveMQ Remote Code Execution), CVE-2026-8512 (use-after-free in Chrome's File System Access API), CVE-2026-45185 (EXIM unauthenticated Remote Code Execution), CVE-2026-22738 (SpringAI SpEL Remote Code Execution), and GHSA-wpqr-6v78-jr5g (Gemini CLI Remote Code Execution)

1

. The models generated 6,080 patch attempts—approximately 3,040 each—using nine crafted prompts per bug under varying environmental conditions

1

.

FLAWED Patches Introduce New Risks to Application Behavior

The study coined the term FLAWED—Fix-Like Artifacts With Embedded Defects—to describe AI-generated patches that superficially appear functional but harbor critical problems

1

. While 26% of patches cleanly fixed vulnerabilities, 20.1% resolved the original issue but altered application behavior in unintended ways, such as converting allow list logic to deny list logic

2

. Another 2.3% fixed the vulnerability while simultaneously introducing new security issues

2

.

The failure rate proves even more concerning: 49.3% of AI-generated patches failed to fix at least one existing exploit path, while 2.2% both failed to address the vulnerability and created new exploit paths

2

. Among patches categorized as successful, over a third were rated fragile—meaning they guarded against specific vulnerability instances without addressing underlying problems

2

. This fragility in security remediation creates a false sense of protection while leaving systems exposed.

Human Supervision Remains Critical for Autonomous Patching Success

Source: The Register

Source: The Register

The research demonstrates that AI struggles to patch vulns effectively without human supervision, particularly when initial guidance proves incorrect

2

. When provided correct guidance, AI models achieved a 65% fix-success rate compared to 50.4% with no guidance

2

. However, incorrect guidance proved devastating, dropping success rates to just 15.2%

2

. Human developers typically catch misleading information through reasoning, while AI models lack this critical judgment capability.

Keith Hoodlet, director of security research at 1Password, emphasized that the expected value of fully LLM-generated, non-human-reviewed patches registers as net-negative by a considerable margin

2

. The cognitive load imposed by reviewing mountains of mostly-incorrect, similar-yet-subtly-different patches likely requires more effort than patching vulnerabilities using standard LLM-assisted coding techniques that keep humans in control

2

. Cognitive surrender to a process with only 1 in 4 success rate poses significant long-term risks for organizations considering autonomous patching

2

.

Vulnerability Triage Emerges as Viable AI Application in Cybersecurity

Despite limitations in autonomous patching, AI demonstrates value in vulnerability triage and discovery

1

. Hoodlet told ZDNET that human defenders and AI tooling should focus on vulnerability identification and triage, helping defenders determine where the most impactful bugs exist in codebases

1

. This approach enables companies to make informed decisions about what needs patching, when to patch software flaws, and the business risks associated with each choice

1

.

Off-By-1-Labs released its patch evaluation harness, also named FLAWED, on GitHub for organizations to assess their security fixes

1

2

. The average successful, clean patch cost just $6.74, including failed attempts

2

. However, cost-benefit analysis must account for expert supervision required to make LLM-assisted patching useful. The research identified opportunities for further study that may yield more consistent and robust AI-generated patches, though current models excel at discovering vulnerabilities but remain effective at patching only a narrow subset

1

.

Today's Top Stories

© 2026 TheOutpost.AI All rights reserved