CWE-bench v2 Tests Whether Agents Can Fix Real Vulnerabilities; Gemini 4 Argon Leads by a Hair

Collinear AI's open benchmark has 100 tasks across 91 weakness types. Gemini 4 Argon scored 67.8% pass@1 and Claude Opus 5.5 67.3%. The top model fails about 19% of tasks every time.

November 2, 2026

CWE-bench v2 tests whether a coding agent can fix a real vulnerability. The public set has 100 tasks covering 91 CWE weakness types, it runs on the Harbor framework, and the dataset is open on Hugging Face.

Results across 11 models

Modelpass@1Approx. cost per rollout
Gemini 4 Argon67.8%$3.92
Claude Opus 5.567.3%$1.83
DeepSeek V4.1 Flash57.0%$0.04

At four attempts, Gemini reaches 81.0% and Opus 78.0%. At least one model solved 95 of the tasks. Even the top model fails about 19% of tasks on every attempt.

Why it matters

The gap between the two leaders is half a point, while Gemini costs about twice as much per rollout. The cheapest model listed here is about ten points behind for a small fraction of the price. These are the benchmark authors’ own results.

Sources

Summary written by FoxaMind with AI assistance from the sources above. Check the originals for full details.