Retrieved article excerpt
Open article · Retrieved 2026-10-27T08:28:27.926314+00:00
# Computer Science > Cryptography and Security
**arXiv:2610.34290** (cs)
[Submitted on 25 Oct 2026]
# Title:Repairing Broken Access Control in Web Applications with LLMs: An Empirical Benchmark Study
Authors:[Mingrui Liu](https://arxiv.org/search/cs?searchtype=author&query=Liu,+M), [Liang He](https://arxiv.org/search/cs?searchtype=author&query=He,+L), [Xinchu Wang](https://arxiv.org/search/cs?searchtype=author&query=Wang,+X), [Yeting Li](https://arxiv.org/search/cs?searchtype=author&query=Li,+Y), [Dongxu Han](https://arxiv.org/search/cs?searchtype=author&query=Han,+D), [Yunpeng Li](https://arxiv.org/search/cs?searchtype=author&query=Li,+Y), [Yuling Liu](https://arxiv.org/search/cs?searchtype=author&query=Liu,+Y)
View a PDF of the paper titled Repairing Broken Access Control in Web Applications with LLMs: An Empirical Benchmark Study, by Mingrui Liu and 6 other authors
[View PDF](https://arxiv.org/pdf/2610.34290)
[HTML (experimental)](https://arxiv.org/html/2610.34290v1)
> Abstract: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.
| | |
| --- | --- |
| Subjects: | Cryptography and Security (cs.CR); Artificial Intelligence (cs.AI); Software Engineering (cs.SE) |
| Cite as: | [arXiv:2610.34290](https://arxiv.org/abs/2610.34290) [cs.CR] |
| | (or [arXiv:2610.34290v1](https://arxiv.org/abs/2610.34290v1) [cs.CR] for this version) |
| | <https://doi.org/10.48550/arXiv.2610.34290> Focus to learn more arXiv-issued DOI via DataCite (pending registration) |
## Submission history
From: Mingrui Liu [[view email](https://arxiv.org/show-email/ceaef125/2610.34290)]
**[v1]**
Sun, 25 Oct 2026 13:45:32 UTC (2,764 KB)
Full-text links:
## Access Paper:
View a PDF of the paper titled Repairing Broken Access Control in Web Applications with LLMs: An Empirical Benchmark Study, by Mingrui Liu and 6 other authors
- [View PDF](https://arxiv.org/pdf/2610.34290)
- [HTML (experimental)](https://arxiv.org/html/2610.34290v1)
- [TeX Source](https://arxiv.org/src/2610.34290)
[view license](http://arxiv.org/licenses/nonexclusive-distrib/1.0/ "Rights to this article")
### Additional Features
- [Audio Summary](https://arxiv.org/audio/2610.34290)
### Current browse context:
cs.CR
[< prev](https://arxiv.org/prevnext?id=2610.34290&function=prev&context=cs.CR "previous in cs.CR (accesskey p)")
|
[next >](https://arxiv.org/prevnext?id=2610.34290&function=next&context=cs.CR "next in cs.CR (accesskey n)")
[new](https://arxiv.org/list/cs.CR/new)
|
[recent](https://arxiv.org/list/cs.CR/recent)
| [2026-10](https://arxiv.org/list/cs.CR/2026-10)
Change to browse by:
[cs](https://arxiv.org/abs/2610.34290?context=cs)
[cs.AI](https://arxiv.org/abs/2610.34290?context=cs.AI)
[cs.SE](https://arxiv.org/abs/2610.34290?context=cs.SE)
### References & Citations
- [SciX](https://scixplorer.org/abs/arXiv:2610.34290)
- [Google Scholar](https://scholar.google.com/scholar_lookup?arxiv_id=2610.34290)
- [Semantic Scholar](https://api.semanticscholar.org/arXiv:2610.34290)
export BibTeX citation
Loading...
## BibTeX formatted citation
×
loading...
Data provided by:
### Bookmark
[BibSonomy](http://www.bibsonomy.org/BibtexHandler?requTask=upload&url=https://arxiv.org/abs/2610.34290&description=Repairing Broken Access Control in Web Applications with LLMs: An Empirical Benchmark Study "Bookmark on BibSonomy")
[Reddit](https://reddit.com/submit?url=https://arxiv.org/abs/2610.34290&title=Repairing Broken Access Control in Web Applications with LLMs: An Empirical Benchmark Study "Bookmark on Reddit")
Bibliographic Tools
# Bibliographic and Citation Tools
Bibliographic Explorer Toggle
Bibliographic Explorer *([What is the Explorer?](https://info.arxiv.org/labs/showcase.html#arxiv-bibliographic-explorer))*
Connected Papers Toggle
Connected Papers *([What is Connected Papers?](https://www.connectedpapers.com/about))*
Litmaps Toggle
Litmaps *([What is Litmaps?](https://www.litmaps.co/))*
scite.ai Toggle
scite Smart Citations *([What are Smart Citations?](https://www.scite.ai/))*
Code, Data, Media
# Code, Data and Media Associated with this Article
alphaXiv Toggle
alphaXiv *([What is alphaXiv?](https://alphaxiv.org/))*
Links to Code Toggle
CatalyzeX Code Finder for Papers *([What is CatalyzeX?](https://www.catalyzex.com))*
DagsHub Toggle
DagsHub *([What is DagsHub?](https://dagshub.com/))*
GotitPub Toggle
Gotit.pub *([What is GotitPub?](http://gotit.pub/faq))*
Huggingface Toggle
Hugging Face *([What is Huggingface?](https://huggingface.co/huggingface))*
ScienceCast Toggle
ScienceCast *([What is ScienceCast?](https://sciencecast.org/welcome))*
Demos
# Demos
Replicate Toggle
Replicate *([What is Replicate?](https://replicate.com/docs/arxiv/about))*
Spaces Toggle
Hugging Face Spaces *([What is Spaces?](https://huggingface.co/docs/hub/spaces))*
Spaces Toggle
TXYZ.AI *([What is TXYZ.AI?](https://txyz.ai))*
Related Papers
# Recommenders and Search Tools
Link to Influence Flower
Influence Flower *([What are Influence Flowers?](https://influencemap.cmlab.dev/))*
Core recommender toggle
CORE Recommender *([What is CORE?](https://core.ac.uk/services/recommender))*
- Author
- Venue
- Institution
- Topic
About arXivLabs
# arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? [**Learn more about arXivLabs**](https://info.arxiv.org/labs/index.html).
[Which authors of this paper are endorsers?](https://arxiv.org/auth/show-endorsers/2610.34290) |
Disable MathJax ([What is MathJax?](https://info.arxiv.org/help/mathjax.html))