Repairing Broken Access Control in Web Applications with LLMs: An Empirical Benchmark Study
Not on the map. Why?
Abstract (arXiv)
Broken access control (BAC) ranks among the most severe web-application vulnerability classes, yet its automated repair remains largely unexplored. Unlike memory-safety vulnerabilities, BAC is a logic vulnerability whose repair demands a deep understanding of an application's access-control model and business semantics, which traditional automated vulnerability repair techniques handle poorly. Large language models (LLMs) open a promising avenue for this problem, but no standard benchmark exists for studying how well they repair BAC vulnerabilities. We construct BAC-Bench, the first benchmark for BAC repair, consisting of 46 real-world BAC vulnerabilities drawn from six widely used web applications spanning four programming languages. Each vulnerability is equipped with a sandboxed runtime environment, a PoC validation program and a functional test program. We further propose a BAC repair-strategy framework that characterizes any BAC patch along four dimensions, Position, Coverage, Mechanism, and Content. Evaluating eight base LLMs and two commercial LLM agents on BAC-Bench, we find that single-turn base LLMs repair 37.68% of the vulnerabilities on average, while two minimal scaffolds, Apply-Feedback and Navigate-and-Locate, raise this average to 66.03%, with the best base LLM reaching 75.36%, close to the 78.99% of the best agent. Notably, some LLM-generated patches surpass the official patches, and one incidentally closed a zero-day vulnerability that had lain dormant for three years. Our findings delineate the current capability boundary of LLM-based BAC repair and offer guidance toward its practical adoption.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 17 of its 75 references that are in the map. Submitted 25 Oct 2026.
Builds on
17 of 75 references.
References · 17
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,872
- 2024Agentless: Demystifying LLM-based Software Engineering Agentscited by 461
- 2018SequenceR: Sequence-to-Sequence Learning for End-to-End Program Repaircited by 147
- 2023Keep the Conversation Going: Fixing 162 out of 337 bugs for 0.42 each using ChatGPTcited by 132
- 2025CyberGym: Evaluating AI Agents' Real-World Cybersecurity Capabilities at Scalecited by 96
- 2021CURE: Code-Aware Neural Machine Translation for Automatic Program Repaircited by 87
- 2024A Deep Dive into Large Language Models for Automated Bug Localization and Repaircited by 42
- 2021Neural Transfer Learning for Repairing Security Vulnerabilities in C Codecited by 37
- 2024APPATCH: Automated Adaptive Prompting Large Language Models for Real-World Software Vulnerability Patchingcited by 21
- 2023Exploring ChatGPT's Capabilities on Vulnerability Managementcited by 20
- 2024ACFIX: Guiding LLMs with Mined Common RBAC Practices for Context-Aware Repair of Access Control Vulnerabilities in Smart Contractscited by 18
- 2023SecureFalcon: Are We There Yet in Automated Software Vulnerability Detection with LLMs?cited by 15
5 more
- 2025ATLANTIS: AI-driven Threat Localization, Analysis, and Triage Intelligence Systemcited by 13
- 2025Towards a Human-in-the-Loop Framework for Reliable Patch Evaluation Using an LLM-as-a-Judgecited by 9
- 2026OSS-CRS: Liberating AIxCC Cyber Reasoning Systems for Real-World Open-Source Securitycited by 4
- 2026CommitSuite: A Comprehensive Benchmark for Commit Classification and Message Generationcited by 2
- 2026Detecting Privilege Escalation in Polyglot Microservices via Agentic Program Analysiscited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Antaeus: Hunting Repository-Level Logic Vulnerabilities via Context-Grounded LLM Reasoning ↗
- 2026Found, but Not Fixed : From Software Vulnerability Discovery to Fixes with Iterative LLM Pipelines
- 2024A Case Study of LLM for Automated Vulnerability Repair: Assessing Impact of Reasoning and Patch Validation Feedback
- 2026Tool-Guided Retrieval-Augmented Repair for Securing LLM-Generated C Code
- 2025A Systematic Study on Generating Web Vulnerability Proof-of-Concepts Using Large Language Models
- 2026RAVEN: Agentic RAG for Automated Vulnerability Repair
- 2025SEC-bench: Automated Benchmarking of LLM Agents on Real-World Software Security Tasks
- 2026SEC-bench Pro: Can Language Models Solve Long-Horizon Software Security Tasks?