# 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.

- Category: In industry
- Readiness level: IV (In production) on Science Underway's four-step scale, as proposed
- Published: 2026-12-04
- Editor: Stefan Perdal
- URL: https://scienceunderway.com/articles/microsoft-ai-agents-uncover-266-new-cves-mostly-in-windows-code

## The study

Hyenas: Scalable Repository-Wide Vulnerability Discovery with Coordinated Agents (preprint, not peer reviewed). arXiv 2612.04546. https://arxiv.org/abs/2612.04546

## At a glance

- What it shows: Microsoft researchers built a team of AI agents that searches entire codebases for security holes, then tries to prove each one with a working attack input. They report that it found previously unknown flaws, now patched, that received 266 public vulnerability records, most of them in Windows.
- What it does not show: It compares the system with other tools only through a public benchmark leaderboard, not by running established code scanners on the same code. It also does not say how much human checking sat between the agents' findings and the published flaws.
- Why it matters: This is a detailed account of AI agents finding serious security flaws inside a large company's everyday software pipeline. It also shows the cost and the noise that come with doing so.

## What 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 the article (what it means, limits, what to watch) is free for members: https://scienceunderway.com/articles/microsoft-ai-agents-uncover-266-new-cves-mostly-in-windows-code

## 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.

---
Source: Science Underway, https://scienceunderway.com/. Please link to the article when you cite it.
