arXiv:2610.39899cs.SEOct 2026

Manuscript Offprint

arXiv:2610.39899

ExploreRepair: Evidence-Specialized Agents for Vulnerability Repair under Information Constraints

Duc Manh Tran, Ratnadira Widyasari, Ivana Clairine Irsan, Huihui Huang, Ting Zhang, David Lo, Rahul Gopinath, Hong Jin Kang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Automated vulnerability repair must often operate with incomplete vulnerability information: developers may lack an accurate vulnerability classification or a provided proof-of-vulnerability (PoV) test, yet still need to produce a repair. Without detailed information, a key challenge is to explore multiple plausible interpretations of the vulnerability before committing to a repair. To address this challenge, we propose EXPLORERREPAIR, a vulnerability repair framework that reconciles the vulnerability observations and repair implementations from a team of exploration agents. We first collect these observations and repair implementations from three agents, each tasked with exploring a specific dimension of the vulnerability. Then, a Lesson Aggregator and a Patch Aggregator independently synthesize repairs from these observations and concrete implementations before a final Aggregator reconciles their proposals without benchmark feedback. On PatchEval, EXPLORERREPAIR achieves repair success rates of 39.6% and 71.6% with GPT-5.6-Luna and DeepSeek-V4.1-Flash, respectively, exceeding EvoRepair, a state-of-the-art vulnerability repair approach, by 16.0 and 25.4 percentage points. On VulnLoc+, it achieves success rates of 51.4% and 62.9%, respectively, exceeding LoopRepair's variant without PoV tests by 20.0 and 17.1 percentage points.

1 Introduction

Automated vulnerability repair (AVR) focuses on removing security flaws while preserving intended program behavior (Gao et al., 2021; Zhang et al., 2022; Zhou et al., 2024; Nong et al., 2025; Ye et al., 2026; Li et al., 2026; Han et al., 2026). Recent approaches depend on complete vulnerability information, such as detailed vulnerability descriptions or proof-of-vulnerability (PoV) tests, to guide repair. These artifacts help characterize the flaw and guide patch generation, for example by providing feedback for validating and refining candidate repairs.

In practice, developers often have to fix vulnerabilities without access to critical vulnerability information, as it is frequently missing or unavailable (Guo et al., 2022; Sun et al., 2023). For example, only 4.1% of 75,807 CVEs had an available public PoV within one year of disclosure (Householder et al., 2020). Nevertheless, state-of-the-art AVR approaches, such as EvoRepair and ContraFix, depend on information only available from a complete vulnerability analysis, including PoVs and oracle feedback, to guide repair (Hu et al., 2026; Liu et al., 2026).

In this study, we investigate vulnerability repair without complete information. This setting reflects real-world practice, in which such information is frequently missing, especially for newly discovered vulnerabilities whose fixes are urgently required. To compensate for the loss of complete vulnerability information, a repair method has to explore the codebase to gather evidence while avoiding premature commitment to an incorrect repair hypothesis.

The need to simultaneously consider heterogeneous evidence types makes this task difficult. First, the vulnerable code location provides incomplete structural evidence, e.g., information about how inputs can reach the code, and parallel repair sites may lie elsewhere in the repository (Tang et al., 2025). Second, source code provides incomplete semantic evidence, e.g., the relevant API contract and intended behavior must be reconstructed. Third, the absence of a ground-truth PoV removes executable evidence that demonstrates the vulnerable behavior.

To this end, we propose EXPLORERREPAIR, a vulnerability repair framework with two phases, exploration and aggregation. During exploration, three independent, evidence-specialized agents investigate repository structure, infer developer in-tent, or construct and execute a PoV. Each agent returns a candidate patch and the trajectory of its exploration.

During aggregation, the agents’ trajectories and patches are hierarchically aggregated to leverage their complementary information and avoid committing to a single dimension of analysis. First, we use an LLM to distill the agents’ trajectories and candidate patches into lessons that capture their vulnerability observations and supporting evidence. Next, the Lesson Aggregator and Patch Aggregator independently synthesize repairs from the distilled lessons and candidate patches, respectively. This allows the two aggregators to consider the agents’ vulnerability diagnoses and concrete repair implementations separately. Finally, the Aggregator reconciles their proposals, combining complementary changes and resolving conflicting assumptions to produce the final repair.

We evaluate EXPLORERREPAIR on 169 Python, JavaScript, and Go vulnerabilities from PatchEval (Wei et al., 2025) and 35 C/C++ vulnerabilities from VulnLoc+ (Ye et al., 2026). On PatchEval, EXPLORERREPAIR achieves repair success rates of 39.6% and 71.6% with GPT-5.6-Luna and DeepSeek-V4.1-Flash, respectively, exceeding a single-agent baseline using the same model by 7.1 and 14.2 percentage points. Our framework also outperforms EvoRepair, a state-of-the-art vulnerability repair approach, by 16.0 and 25.4 percentage points, respectively. These results demonstrate that EXPLORERREPAIR's improvements are unlikely to be attributable to additional tools or instructions. On VulnLoc+, EXPLORERREPAIR achieves repair success rates of 51.4% and 62.9%, exceeding LoopRepair by 20.0 and 17.1 percentage points. Even when LoopRepair is given access to the ground-truth PoV, EXPLORERREPAIR outperforms it by 2.9 and 11.4 percentage points, respectively.

In short, this paper makes three contributions:

• We formulate information-constrained vulnerability repair as a task of repairing the vulnerability using repository context without relying on vulnerability metadata or oracle feedback.

• We propose EXPLORERREPAIR, a new automated vulnerability repair approach that employs evidence-specialized exploration with hierarchical lesson–patch aggregation to guide repair generation.

• We evaluate EXPLORERREPAIR on two benchmarks comprising 204 vulnerabilities in total, showing that it substantially outperforms state-of-the-art vulnerability repair methods.

References (21)