Founders BetaFounder price: US$ 9.90/month locked for as long as you subscribe.→
HomeBlogBenchmarksCWE-bench v2: method, ranking and limits
Official image of the CWE-bench v2 benchmark
Image: Collinear AI
Benchmarks5 minOfficially confirmed

CWE-bench v2: method, ranking and limits

CWE-bench v2 opens 100 public tasks and reveals a leaderboard of 250 cases. See the method, the numbers and what the scoreboard does not measure.

Marcelo Santiago

Marcelo Santiago

Criador do bridgecode

CWE-bench v2: method, ranking and limits

The biggest AI newsletter in the World

Get AI articles in your inbox

Technical curation on models, agents and coding tools. No spam, unsubscribe anytime.

Daily at 8:00 and 16:00 Brasília time. No spam.

=======================================

On November 3, 2026, Collinear AI published the second version of the code agent benchmark CWE-bench. The announcement does not deliver a definitive real world interaction score. It delivers a clearer method, a larger set of public tasks and a ranking of 250 cases, with results dated November 2, 2026.

In this article you will see:

  • What CWE-bench v2 measures and how code verification defines correctness.
  • What the release brought: 100 public tasks, 91 weakness classes and greater access to the full set.
  • What the full ranking shows (including Claude Opus 5.5) and where it is not conclusive.
  • How to use the results at this stage without overstating the method.

What CWE-bench v2 measures

CWE-bench v2 tests whether code agents can locate and fix vulnerabilities in real repositories without breaking legitimate behavior. The set is not a general security proof: it evaluates a process defined by Collinear AI, with verifiers that check correctness programmatically.

The idea is comparable to automated code review: the agent suggests a fix, the verifier confirms whether it eliminates the problem and preserves legitimate behavior. The result is a score of tasks solved, not projects delivered in production. When the benchmark uses pass@1 and pass@4, it varies the number of attempts allowed per task: pass@1 considers only the first suggestion, and pass@4 considers up to four attempts. Strong performance on both indicators shows the method can solve the task consistently, not just on a single guess.

What the November 3 release brought

The announcement expands the visible scope of the benchmark. There are 100 public tasks, distributed across 91 weakness classes, with intentional openness for research and teaching. The full set remains larger: 250 tasks, of which 150 are reserved.

For those who follow security repositories, the distinction matters. The public set allows reproduction and comparison, the reserved set may require authorization or a contract. The Hugging Face post (https://huggingface.co/blog/cwe-bench) describes the release and how the tasks are delivered and verified.

The full ranking and what it does not say

In the official table for the 250 tasks, with results dated November 2, 2026, Claude Opus 5.5 appears with 67.1% on pass@1 and 79.2% on pass@4. Those numbers describe a scope of tasks verified by Collinear AI, not a general security hit rate.

CWE-bench v2 benchmark table showing the versions and metrics of Claude Opus 5.5.
Imagem: Collinear AI

The benchmark separates public from total. Results from the public set help reproduce the method, the full score mixes public and reserved tasks. It is not enough to copy the top of the ranking to compare all agents across all languages, in unmonitored repositories or in attack scenarios that are not simulated. A team that wanted to reproduce the test would have to follow the set and the results table from Collinear AI, and respect the date of each snapshot.

How to use the results today

To be worthwhile in practice, validate suggestions before they enter a workflow. The task does not end when the agent points out a fix. Programmatic verification and legitimate behavior evaluation follow, accompanied by security review and manual tests.

The most useful outcome of this release is methodological. It allows agents to be compared on a standardized calibration of vulnerability fixing, with explicit limits on what the score covers. For teams that ingest models or choose tools, the next step is to define quality signals: pass@1, pass@4 and the boundary of the set used as reference, not as certification.

To use this benchmark without exaggeration, confirm before you decide:

  • The task scope: public, private, or mixed.
  • The model version and the snapshot date that produced the score.
  • The applicable set, since the ranking mixes public and private tasks.
  • An honest comparison between pass@1 and pass@4, instead of using a single number as proof.

If the test does not follow these criteria, the benchmark remains useful, but as a comparison method, not as a guarantee.

Conclusion

CWE-bench v2 expands the method and opens more tasks for reproduction, but the full ranking remains within a method, not a security regulation. The benchmark helps teams correctly compare vulnerability fixes in monitored repositories, as long as they respect the sets and dates of each scoreboard.

You define the goal and the agents split the tasks: one plans, another executes, another reviews. Build an AI agent squad at bridgecode to apply this pattern in real projects.

Revised optional internal links

To compare agents on code, the post about FeatureLoop shows that local fixes do not always preserve the whole. For an agent evaluation that fits everyday tasks, the LifeVal benchmark from OpenAI reinforces the care with metrics and versions.

Frequently asked questions about the CWE-bench v2 benchmark

What does CWE-bench v2 measure?

CWE-bench v2 measures whether agents can find and fix vulnerabilities in real repositories without breaking legitimate behavior. Verifiers evaluate the fix programmatically.

How many CWE-bench v2 tasks are public?

The announcement opens 100 public tasks, spread across 91 weakness classes. The project reports 250 tasks in the full set, including 150 held back.

Which model leads the full CWE-bench v2 leaderboard?

In the official table for the 250 tasks, with results dated November 2, 2026, Claude Opus 5.5 appears with 67.1% on pass@1 and 79.2% on pass@4.

Why do the public set results differ from the full leaderboard?

The numbers use different sets. The launch article shows results for the 100 public tasks, while the full table combines public and held back tasks.

Does CWE-bench v2 prove which agent is best for any code?

No. It measures tasks selected and verified by Collinear AI. The scoreboard describes that scope and does not cover every language, repository or attack scenario.

Share this article

Add bridgecode as a source on Google
Tags:#CWE-bench v2#CWE#benchmark de segurança#agentes de código#Collinear AI#cibersegurança
Marcelo Santiago
Marcelo Santiago·Creator of bridgecode

Developer and creator of bridgecode, an agentic development environment for orchestrating squads of AI agents. Helps people going from vibe coding to professional development move from idea to shipped product.

The biggest AI newsletter in the World

Enjoyed this content? Stay ahead in AI engineering.

Code analysis, multi-agent architecture, token benchmarks and tools selected by developers for developers.

Daily at 8:00 and 16:00 Brasília time. No spam.