Microsoft AI agents uncover 266 new CVEs, mostly in Windows code
A Microsoft team built a coordinated set of AI agents that scans whole codebases for security flaws and tries to prove each one. Run inside the Windows build pipeline and on the Linux kernel, it found flaws that have been assigned 266 public vulnerability records.
scienceunderway.com/articles/microsoft-ai-agents-uncover-266-new-cves-mostly-in-windows-code

AI illustrationWhat the study shows
The system is called Hyenas. It is built from AI agents, large language models (LLMs) that can read files, call tools and act in steps. It works in four stages. It first gathers context about the codebase and how it could be attacked. It then scans each function for possible flaws. Next it checks each candidate by reasoning about whether an attacker could really trigger it. Finally it tries to write a proof of concept, a small program or input that actually triggers the flaw in a clean test machine.
Two design choices sit at the centre. First, one agent writes shared notes on each function before any auditing starts. The notes record which security rules the function enforces, passes on to other code, breaks, or leaves unclear. The authors call this code enrichment. Every later agent reuses these notes instead of working them out again. Second, several kinds of auditor look at the same function: a general one, one that hunts for variants of past flaws, and up to five picked from a library of 151 specialists.
The authors report the real-world results. Flaws found by the system have been assigned 266 CVEs, the public identifiers for known security vulnerabilities. Of these, 225 are in Windows, 33 in the Linux kernel and 8 in other projects such as curl, Node.js and vLLM. The authors say all are patched and about three quarters are rated critical or high.
The Linux figures show how much filtering happens along the way. The system covered about 5% of the kernel. It reproduced 621 cases with working proofs. After the team removed duplicates, low-impact cases and already-known bugs, 59 were reported and 33 have become CVEs so far.
In a controlled test, the team scanned six open-source projects, including curl and OpenSSL, against 294 flaws made public after the model's training cutoff. The shared notes raised the share of known flaws found after checking from about half to about 61%. They also made the LLM bill about 2.4 times higher. Only about one in four reported candidates matched a known flaw, both with and without the notes.
On CyberGym, a public benchmark where an agent must reproduce a described flaw in real code, the system succeeded on 91% of 1,507 tasks. It ranked first on the leaderboard as of August 2026. The authors note that other systems now report higher scores. The paper is a preprint and has not been peer reviewed.
Our reading
In our reading, the headline number matters less than where it came from. The 225 Windows CVEs came from running the system inside Microsoft's own build and release pipeline, not from a one-off experiment. That is rare evidence of AI agents doing security auditing as routine work at a large company. It rests on the authors' own report, and most of the authors are affiliated with the company that ran it.
The Linux kernel numbers show what the work really looks like. Hundreds of reproduced cases shrank to a few dozen CVEs after people and coding agents sorted duplicates and low-impact findings. The proof step helps a great deal here. A flaw that comes with a working trigger is much easier for a maintainer to accept than a warning from a scanner. Even so, the system is a strong first filter, not a replacement for security engineers.
The controlled tests show the trade-off plainly. Shared notes found more real flaws but more than doubled the cost. Roughly three in four candidates did not match a known flaw. Some of those may be real but unrecorded bugs, so true precision is uncertain in both directions.
The rest of this story is for members. Membership is free: read it at scienceunderway.com/articles/microsoft-ai-agents-uncover-266-new-cves-mostly-in-windows-code
Read the rest of this story
Membership is free. You get every article in full, and can save stories and follow topics.
We send a sign-in link, no password needed. Already a member? Sign inReadiness assessment
| Level | Status | Evidence |
|---|---|---|
| I Lab only | Met | A working system is described and evaluated in controlled experiments on six projects. |
| II Benchmarked | Met | Hyenas reports a 91% success rate on the public CyberGym benchmark (1,507 Level 1 tasks) and first place on the leaderboard as of August 2026. |
| III Open source | Not yet | The paper gives no link to released code, weights or data. |
| IV In production | Met | The authors report it is integrated into Microsoft's Windows CI/CD pipeline, producing 225 assigned and patched CVEs. Microsoft is named as the deploying organisation. This rests on the authors' own report; no independent audit is described. |
What would move it up
It already meets level IV through documented use at Microsoft, but it skips level III. Releasing the code, the specialised auditors or the benchmark dataset would make the work open and reproducible. An independent deployment by another organisation would also strengthen the production claim.
The study
HyungSeok Han, Dongkwan Kim, Eunsoo Kim et al. Hyenas: Scalable Repository-Wide Vulnerability Discovery with Coordinated Agents. arXiv, 2 December 2026. arXiv:2612.04546
Notes
- Han et al., Hyenas: Scalable Repository-Wide Vulnerability Discovery with Coordinated Agents, arXiv preprint 2612.04546, December 2026. Not peer reviewed. Source
- No code, weights or data release is linked in the paper.
- Exact figures from the controlled test (Table 4): recall after validation 60.7% with code enrichment versus 49.7% without; precision 22.9% versus 23.7%; LLM cost $4,718.0 versus $2,000.0 across 225 files and about 193,000 lines of code.
- CVE breakdown (Table 3): Windows 225 (13 critical, 154 high), Linux kernel 33 (1 critical, 23 high), others 8 (5 high); total 266, with 196 critical or high (73.7%).
- CyberGym Level 1: 1,507 tasks, 91% success, plus 5.55% crashes not matching the task description and 3.45% failures. Ranked first as of August 2026; the authors note other systems now report higher scores.
Edited and signed by
Stefan PerdalFounder. Twenty-five years of building digital products.239 stories editedStefan read the study, set the readiness level and approved this story. An AI system found the paper and wrote the first draft.
How this was made
An AI model read the study and wrote this article in the structure Science Underway uses. An editor reviewed it and approved it for publication. Check the original study before you rely on the details.
No corrections to this article. Found an error? Report it.


