CWE-bench v2 opens 100 tasks; Gemini 4 Argon leads
2026-11-04 · Hugging Face
Collinear AI published CWE-bench v2 on the Hugging Face blog to test frontier cyber capability. An agent gets a real open-source repo and a short instruction to find and fix a security weakness without breaking functionality; scoring is fully programmatic and reproducible.
v2 opens 100 tasks across 91 CWEs, with a held-out set no model has seen. Every task was hand-reviewed and checked for realistic instructions, verifiers that test behavior rather than one fix, and resistance to memorized upstream patches.
Of 11 models, Gemini 4 Argon leads with 67.8% pass@1 and 81.0% pass@4, just ahead of Claude Opus 5.5 at 67.3% and 78.0%. 95 tasks are solved by at least one model, yet even the leader fails 19% on every attempt. On cost, DeepSeek V4.1 Flash reaches 57.0% at $0.04 per rollout, Opus about $1.83 and Gemini about $3.92.
Caveat: this is the authors' own benchmark and leaderboard with only 11 models; despite open tasks, grader and harness, third-party replication would help.