CWE-bench v1
We show this table for reference; we do not rank on it.
Defensive vulnerability patching on 120 held-out tasks spanning 73 weakness types.
Benchmark score on CWE-bench v1 — September 30, 2026
We compile the CWE-bench v1 rows from benchmark-owner or independent runs. GPT-6 Astra leads the table at 68.0%, followed by Gemini 4 Argon (68.0%) and Grok 4.7 (68.0%). We do not use these results to rank models overall.
GPT-6 Astra
OpenAI
Gemini 4 Argon
Grok 4.7
xAI
11 modelsAgenticCurrentDisplay onlyUpdated September 30, 2026
Benchmark score table (11 models)
ScoreAmong the reported CWE-bench v1 rows, GPT-6 Astra is first at 68.0%. The third row is 0.0 points behind. The broader top-10 range is 16.0 points, so the table still separates the published systems.
11 models have been evaluated on CWE-bench v1. The benchmark falls in the Agentic category. CWE-bench v1 is currently displayed for reference but excluded from the scoring formula, so it does not directly affect overall rankings.
About CWE-bench v1
Year
2026
Tasks
Audit and patch held-out C/C++, Go, Java, TypeScript/JavaScript, Python, and Rust repositories
Format
Pass@1
Difficulty
Frontier agent evaluation
The deterministic programmatic pass@1 score requires blocking the exploit while preserving existing tests. Models use high reasoning, four rollouts per task, and a one-hour limit per rollout. Version 1 uses 120 tasks and stays separate from v0, pass@4, and judge-panel scores.
Freshness and provenance
Version
CWE-bench v1 2026
Refresh cadence
Quarterly
Staleness state
Current
Question availability
Public benchmark set
BenchLM uses freshness metadata to decide whether a benchmark should still be treated as a strong differentiator, a benchmark to watch, or a display-only reference. For the full scoring policy, see the BenchLM methodology page.
Questions
What does CWE-bench v1 measure?
Defensive vulnerability patching on 120 held-out tasks spanning 73 weakness types.
Which model scores highest on CWE-bench v1?
GPT-6 Astra by OpenAI currently leads with a score of 68.0% on CWE-bench v1.
How many models are evaluated on CWE-bench v1?
11 AI models have been evaluated on CWE-bench v1 on BenchLM.
Compare top models on CWE-bench v1
Know when it’s worth switching models
The model to choose, the cheaper alternative, and the release we would wait on.
Read a sample issueJoin 2,000+ readers.
One email each week. Unsubscribe anytime.