---
title: "CVE-Factory: Scaling Expert-Level Agentic Tasks for Code Security Vulnerability (arXiv:2602.03012) | Papers With Code Cyber"
description: "Evaluating and improving the security capabilities of code agents requires high-quality, executable vulnerability tasks. However, existing works rely on costly, unscalable…"
canonical: "https://paperswithcode-cyber.com/paper/2602.03012"
type: "paper"
---

# CVE\-Factory: Scaling Expert\-Level Agentic Tasks for Code Security Vulnerability

arXiv:2602\.03012 · 2026-02-03

Authors: Luo, Xianzhen, Zhang, Jingyuan, Zhou, Shiqi, Huang, Jinyang, Xiao, Chuan, Zhu, Qingfu, Ma, Zhiyuan, Yue, Xing, Yue, Yang, Zeng, Wencong, Che, Wanxiang

## Abstract

Evaluating and improving the security capabilities of code agents requires high\-quality, executable vulnerability tasks\. However, existing works rely on costly, unscalable manual reproduction and suffer from outdated data distributions\. To address these, we present CVE\-Factory, the first multi\-agent framework to achieve expert\-level quality in automatically transforming sparse CVE metadata into fully executable agentic tasks\. Cross\-validation against human expert reproductions shows that CVE\-Factory achieves 95\\% solution correctness and 96\\% environment fidelity, confirming its expert\-level quality\. It is also evaluated on the latest realistic vulnerabilities and achieves a 66\.2\\% verified success\. This automation enables two downstream contributions\. First, we construct LiveCVEBench, a continuously updated benchmark of 190 tasks spanning 14 languages and 153 repositories that captures emerging threats including AI\-tooling vulnerabilities\. Second, we synthesize over 1,000 executable training environments, the first large\-scale scaling of agentic tasks in code security\. Fine\-tuned Qwen3\-32B improves from 5\.3\\% to 35\.8\\% on LiveCVEBench, surpassing Claude 4\.5 Sonnet, with gains generalizing to Terminal Bench \(12\.5\\% to 31\.3\\%\)\. We open\-source CVE\-Factory, LiveCVEBench, Abacus\-cve \(fine\-tuned model\), training dataset, and leaderboard\. All resources are available at https://github\.com/livecvebench/CVE\-Factory \.

## Tasks

- [Exploit construction and validation](https://paperswithcode-cyber.com/tasks/cyberintel-exploit-development)
- [Vulnerability detection and triage](https://paperswithcode-cyber.com/tasks/cyberintel-vulnerability-analysis)

## Code repositories

- [livecvebench/CVE\-Factory](https://github.com/livecvebench/CVE-Factory)

## Paper resources

- [Abstract page](https://arxiv.org/abs/2602.03012v3)
- [PDF](https://arxiv.org/pdf/2602.03012v3.pdf)
