CWE-bench
Version 1
Agents audit a repository and write a patch for a security flaw, without being told where the bug is. Covers six programming languages.
V1 has 120 tasks and is not comparable with v0. The held-out set is private to Collinear. Google reports Gemini 4 Argon at 68% pass@1 and says patches must preserve the existing functional and regression tests.
- Made by
- Collinear AI
- Released
- September 2026
- Kind
- Secure code and review
- Level
- Expert
- Scored
- Checked automatically
- Answers
- Code
- Tasks
- Kept private
- Measures
- Capability
- Language
- English
- Interaction
- Agentic
- Environment
- Terminal
- Items from
- Real work and use
- Refresh
- New versions replace it
- Run by
- A host
- Based on
- A version of another benchmark
- In views
- Agents
- Strongest model tested
-
Gemini 4 Carbon #3 on the capability index
- Last in a launch post
- October 2026
- Last model added
- November 2026
- Updated automatically
- Yes, daily
- Scores refreshed
- November 24th, 2026
Gemini 4 Carbon leads with 71%
Best score per model from the benchmark's own leaderboard, read on November 24th, 2026. Where a model ran with several settings or harnesses, we keep its best. Every run is in the next chart.
Gemini 4 Carbon leads with 71%, claims included
Best score per model from every source, including labs’ own numbers and claims Epoch AI collected from reports and papers. Labs pick their own settings, so a claim can beat an independent run of the same model. Striped bars are claims, and dotted bars are reruns by Epoch AI or another board.
- 1
Gemini 4 Carbon 71%
- 2 GPT-6 Astra 68%
- 3 Grok 4.7 68%
- 4
Gemini 4 Argon 68%
- 5 Claude Opus 5.5 67%
- 6 Claude Fable 5.1 58%
- 7 Grok 4.6 57%
- 8
Muse Spark 1.3 55%
- 9
DeepSeek V4.1 Flash 55%
- 10
Tencent Hy4 preview 53%
- 11 GPT-6 Sol 52%
- 12
Inkling 37%
Source: Official CWE-bench leaderboard
- 1
Gemini 4 Carbon 71%
- 2 GPT-6 Astra 68%
- 3 Grok 4.7 68%
- 4
Gemini 4 Argon 68%
- 5 Claude Opus 5.5 67%
- 6 Claude Fable 5.1 58%
- 7 Grok 4.6 57%
- 8
Muse Spark 1.3 55%
- 9
DeepSeek V4.1 Flash 55%
- 10
Tencent Hy4 preview 53%
- 11 GPT-6 Sol 52%
- 12
Gemini 3.8 Flash Cyber 47.2%
- 13
Inkling 37%
Sources: Official CWE-bench leaderboard and labs’ model cards
| # | Model | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | | 71% | Antigravity | Oct 2026 | Official leaderboard |
| 2 | GPT-6 Astra | 68% | Codex | Sep 2026 | Official leaderboard |
| 3 | Grok 4.7 | 68% | opencode | Sep 2026 | Official leaderboard |
| 4 | | 68% | Antigravity | Sep 2026 | Official leaderboard |
| 5 | Claude Opus 5.5 | 67% | Claude Code | Sep 2026 | Official leaderboard |
| 6 | Claude Fable 5.1 | 58% | Claude Code | Sep 2026 | Official leaderboard |
| 7 | Grok 4.6 | 57% | opencode | Aug 2026 | Official leaderboard |
| 8 | | 55% | opencode | Sep 2026 | Official leaderboard |
| 9 | | 55% | opencode | Sep 2026 | Official leaderboard |
| 10 | | 53% | opencode | Aug 2026 | Official leaderboard |
| 11 | GPT-6 Sol | 52% | Codex | Sep 2026 | Official leaderboard |
| 12 | | 37% | opencode | Jul 2026 | Official leaderboard |
| # | Model | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | 71% | Antigravity | Oct 2026 | Official leaderboard | |
| 2 | GPT-6 Astra | 68% | Codex | Sep 2026 | Official leaderboard |
| 3 | Grok 4.7 | 68% | opencode | Sep 2026 | Official leaderboard |
| 4 | 68% | Antigravity | Sep 2026 | Official leaderboard | |
| 5 | Claude Opus 5.5 | 67% | Claude Code | Sep 2026 | Official leaderboard |
| 6 | Claude Fable 5.1 | 58% | Claude Code | Sep 2026 | Official leaderboard |
| 7 | Grok 4.6 | 57% | opencode | Aug 2026 | Official leaderboard |
| 8 | 55% | opencode | Sep 2026 | Official leaderboard | |
| 9 | 55% | opencode | Sep 2026 | Official leaderboard | |
| 10 | 53% | opencode | Aug 2026 | Official leaderboard | |
| 11 | GPT-6 Sol | 52% | Codex | Sep 2026 | Official leaderboard |
| 12 | 47.2% | Sep 2026 | Lab model card | ||
| 13 | 37% | opencode | Jul 2026 | Official leaderboard |
Labs report scores for 3 models in their cards. Switch the scores above to rank them together.
Everything the board measures
The benchmark’s own leaderboard publishes 3 numbers for each entry: the headline score and 2 other measures. Rank entries by any one, compare them all in the table, or plot any two. Each row is the entry’s best run on the headline score.
- Headline
- Headline score
- Other measures
- Cost per task
- Programmatic pass@4
- Headline
- Headline score
- Other measures
- Cost per task
- Programmatic pass@4
- Headline
- Headline score
- Other measures
- Cost per task
- Programmatic pass@4
- Thinking Machines
- xAI
- Tencent
- Anthropic
- Meta
- OpenAI
- DeepSeek
- Google DeepMind
- not in our model list
The best score, 71%, costs $5.83 a task
Runs on the cost frontier score higher than any run that's cheaper. Claude Opus 5.5 comes within 4 points of the best for $0.79 a task, 7 times cheaper. The costs are the leaderboard's own estimates, so compare them only within this benchmark.
Source: Official CWE-bench leaderboard
| Model | Effort | Harness | Score | Cost per task | Output tokens |
|---|---|---|---|---|---|
| Antigravity | 71% | $5.83 | |||
| GPT-6 Astra | Codex | 68% | $2.85 | ||
| Grok 4.7 | opencode | 68% | $2.75 | ||
| Antigravity | 68% | $6.63 | |||
| Claude Opus 5.5 | Claude Code | 67% | $0.79 | ||
| Claude Fable 5.1 | Claude Code | 58% | $3.47 | ||
| Grok 4.6 | opencode | 57% | $1.09 | ||
| opencode | 55% | $3.95 | |||
| opencode | 55% | $0.09 | |||
| opencode | 53% | $0.47 | |||
| GPT-6 Sol | Codex | 52% | $0.96 | ||
| opencode | 37% | $3.00 |
3 models have held number one on the official leaderboard since its release in September 2026 3 models have held number one with claims included since its release in September 2026
Lab claims count from the day the card came out, independent runs from the model’s release. We draw one row each for the benchmark’s own leaderboard and what labs claim in their cards.
Sources: Official CWE-bench leaderboard and labs’ model cards
Scores over time
All the scores we have, one dot each, so a model tested at several settings appears more than once.
Sources: Official CWE-bench leaderboard and labs’ model cards
One lab put it in a launch post in the last six months
Launch posts from every lab that has listed it, one tick per post. Tall colored ticks include it, and short gray ones leave it out.
| Date | Launch post | Score | As the post writes it |
|---|---|---|---|
| Oct 28, 2026 | 71 | CWE-bench | |
| Oct 13, 2026 | 68 | CWE-bench v1 (Cybersecurity row of headline table) | |
| Sep 2, 2026 | 47.2 | CWE-Bench (run by Collinear), pass@1 |
3 system cards report it, from 1 lab
Besides launch posts, we read the system cards, model cards and technical reports labs publish with a release. They report far more, including safety and frontier-risk tests.
| Date | Document | Score | As the document writes it | Section |
|---|---|---|---|---|
| Nov 10, 2026 | | 71 | CWE-bench (results table) | Cyber risk |
| Oct 13, 2026 | | 68 | CWE-Bench v1 (120 tasks), Pass@1 mean of 4 trials at high reasoning 68% (7.2) | Cyber risk |
| Oct 13, 2026 | | 68 | CWE-bench v1, Cybersecurity row (results table, p.5) | Cyber risk |
2 lab claims next to the leaderboard
Each score a lab reported for its own model, beside the same model's best score on the leaderboard. Gaps mostly come from different harnesses, effort levels and task subsets. 2 of them match, which usually means one side copied the other. Every benchmark.
| Model | Lab says | Board says | Gap |
|---|---|---|---|
| | 68% CWE-bench v1 (Cybersecurity row of headline table) | 68% Leaderboard, Antigravity | Same |
| | 71% CWE-bench | 71% Leaderboard, Antigravity | Same |
Versions
We switch the top row to each new version when it comes out. Open it for one row per version. An old version stays in play while people still test it, so whoever first takes it past 85% gets credit for closing it out.
Source: Official leaderboards
More in Cybersecurity
- ExploitGym In use 869 real-vulnerability exploit-development tasks (userspace, V8, Linux kernel). Success means capturing a flag through the intended vulnerability. GPT-6 Astra 42.4%
- ExploitBench In use 41 recent V8 JavaScript-engine N-day vulnerabilities. Progress measured by 16 grader-verified capability flags across five tiers. GPT-6 Astra 100%
- ExploitBench - Internal Port In use Agents develop working exploits for recently disclosed vulnerabilities to limit contamination. Scored as arbitrary code execution success rate. GPT-6.2 Astra 53.5%
- Atomic Challenges In use Agents solve 22 skill-level offensive security challenges in vulnerability research, network attack simulation and evasion. Scored as challenges solved. GPT-6 Astra 90.9%
- MiMo Cyber Bench In use Agents do in-house cybersecurity tasks that add to public vulnerability reproduction and exploitation benchmarks. The report gives no task count or grading details. MiMo-V2.6 Pro 81.7%
- PatchBench (OpenAI) In use Models patch security flaws. Automated tests and model-based review check that each patch fixes the flaw, keeps the intended behavior and is ready to merge. GPT-6.2 Astra 79.7%
Data audit
All 12 checks pass. Every benchmark
Catalog record 2 pass
- Pass Task access The tasks are private.
- Pass Confidence Checked against a primary source.
Scores 5 pass
- Pass Independent runs Scores from the official leaderboard (12 entries), launch posts (3 scores) and system cards (3 scores).
- Pass Models scored 13 models we track.
- Pass Newest score The newest is from November 2026, for Gemini 4 Carbon.
- Pass Frontier models 4 of the top 10 have a score, led by Gemini 4 Carbon (#3).
- Pass Headroom The best is 71%, under 85%, so it still separates models.
Leaderboard import 3 pass
- Pass Importer We read the board on cwe-bench.com: 12 rows for models we track at the last read.
- Pass Last read November 24th, 2026.
- Pass Read worked The last read worked.
Consistency 2 pass 1 note
- Pass Lab claims Both pairs agree within 10 points.
- Pass Known issues No published audit found problems.
- Note Epoch AI review Epoch AI hasn’t reviewed it.