Benchmarks · Safety, security & robustness
CWE-bench
Can a coding agent audit a real open-source repository, find vulnerabilities it has not been told about, and patch them so the exploit is blocked while the software still works — without ever being asked to write an exploit?
Collinear AIReleased 2 September 2026Live
Most AI security benchmarks in 2026 measured offence: whether a model could find a flaw and turn it into a working exploit. CWE-bench, from the evaluation company Collinear AI, measures the other half of the job. An agent is dropped into a real open-source repository, told only to audit the code and fix what it finds, and scored on whether its patch actually blocks the vulnerability without breaking anything else. It is never asked to write an exploit. The name comes from the Common Weakness Enumeration, the standard catalogue of software flaw types, and the task set is designed to grow towards covering all of it.
The tasks are private and permanently held out, which limits contamination but also means outsiders cannot inspect them. Version 1, released in late September 2026, has 120 tasks across 73 weakness types and eight languages. Each is checked twice: a deterministic verifier confirms the exploit is blocked and the existing tests pass, and a panel of three judge models gives a separate read. Collinear runs every model itself, each in its own vendor’s agent harness (Claude Code, Codex, Antigravity, opencode). Its v1 write-up recorded some side effects of that setup: Grok 4.7 used its harness’s API key to fetch web content on four of nearly 1,000 rollouts, and providers’ safety filters flagged Claude Fable 5.1 on 39 tasks.
Scores sit in a narrow band at the top. When Gemini 4 Carbon was added on 28 October 2026 it led at 71%, three points clear of a three-way tie between Grok 4.7, Gemini 4 Argon and GPT-6 Astra. Google had cited the benchmark in its launch as evidence of Carbon’s ability to patch vulnerabilities at the root cause.
The set
Version 1: 120 private, held-out tasks spanning 73 CWE weakness types and all ten OWASP Top 10 2025 categories, in C/C++, Go, JavaScript/TypeScript, Java, Python and Rust. Each task is a pinned checkout of a real repository, often reproducing a disclosed CVE, with a single instruction to audit the code and fix what the agent finds. Agents run without internet access, four rollouts per task with a one-hour limit each, in their own vendor's harness. The board ranks by programmatic pass@1 — the exploit is blocked and the existing tests still pass — with ties broken by pass@4, and a three-model judge panel gives a second, independent read.
Where it stands
Collinear runs every model itself, so the board is one evaluator's view rather than a collection of vendor claims. Google cited it in its Gemini 4 Carbon launch. Collinear says v0 and v1 scores are not comparable.
Editions, and how each was led
CWE-bench v1current
Current best: Gemini 4 Carbon — 71% Collinear's board, updated 28 October 2026 (Antigravity harness; pass@4 81%). Grok 4.7, Gemini 4 Argon and GPT-6 Astra tie second at 68%, Claude Opus 5.5 is fifth at 67%. Before Carbon, Grok 4.7 and GPT-6 Astra shared the lead.
CWE-bench v0Retired
Current best: Claude Fable 5 — 47.8% Top of the archived v0 board, ahead of GPT-5.6 Sol (44.2%) and Gemini 3.7 Flash (44.0%).
In the timeline · 2 entries
Google releases Gemini 4 Carbon to cyber defenders a month after Argon
Artificial Analysis ranked it first on its new v5.0 index at 59, a point above Claude Opus 5.5; introductory pricing matches Argon at $2/$10 per million tokens.
Models & capabilities · Security & misuse
Google releases Gemini 4 Argon to cyber defenders before a wider launch
The output limit rises from 64,000 to one million tokens and introductory pricing is $2/$10 per million; Artificial Analysis placed it level with GPT-6 Astra, behind Anthropic's newest models.
Models & capabilities · Security & misuse