November 4, 2026
Our team has built a pipeline that autonomously discovers, exploits, and patches vulnerabilities. In one run with our cyber model, it validated and generated patches for 948 local privilege escalation vulnerabilities in Linux, at an API cost of $1.2 million.
Security research that once called for a separate, sustained investigation into every single finding can increasingly be carried out as a systematic process. This document looks at one of our efforts in that area.
Scaling vulnerability discovery is getting easier, yet prioritization and validation remain bottlenecks in operations. Inside a controlled research environment we built a prototype that hunts for security flaws in the Linux kernel. From 2,308 candidate Linux kernel findings that it identified and analyzed, the prototype dynamically reproduced 1,724 vulnerabilities and produced 948 local privilege escalation (LPE) exploits — enough to let an unprivileged local user gain root access.
That evidence let us prioritize which vulnerabilities to report, and we developed candidate patches for maintainer review. Heeding the guidance of the Linux kernel community, we started with critical vulnerabilities, and together with Patch the Planet partners we are continuing to work on further reports and patches.
Back in June, as part of our Patch the Planet initiative, we shared that GPT‑5.5 Cyber had identified Linux kernel vulnerabilities and developed 24 local privilege escalation exploits in order to validate and report them. We then expanded that work into a pipeline — powered by an upcoming cyber model — that spans vulnerability discovery, dynamic validation, exploitability assessment, and patch generation. Once it had finished, human researchers reviewed the outputs and reported the vulnerabilities found, together with patches.
Broadly put, the pipeline runs as follows: it first pinpoints the security-relevant portions of the Linux kernel, statically scans those audit targets for candidate findings, reproduces the findings dynamically in an isolated environment, builds a proof-of-concept (PoC) exploit that demonstrates exploitability, generates patches, and finally a human security researcher reviews the results.
What the pipeline produces includes a root cause analysis, a minimal crashing proof-of-concept, a candidate patch, and a full exploit — all of which help human researchers judge how severe a vulnerability is and upstream the fixes.
In a run in mid-October 2026, our pipeline, using an upcoming cyber model, dynamically reproduced 1,724 vulnerabilities and generated PoCs for 291 information leak vulnerabilities and 948 working local privilege escalation (LPE) exploits for a commonly used Linux distribution. API credits for the whole run came to $1,213,430, or $1,279 per LPE exploit.
The target virtual machines ran a stock desktop operating system rather than a weakened target, under the same threat model that cybersecurity competitions such as Pwn2Own and TyphoonPWN use. Historically, Pwn2Own and TyphoonPWN offered a $20,000 and $70,000 bug bounty for Linux kernel LPE exploits. Applied to the 948 exploits, those historical bounty amounts yield a hypothetical valuation of $18.9M—$66.3M, approximately 16x to 55x what our pipeline cost.
On an adapted kernelCTF environment — a version of the Linux kernel with reduced attack surface — our pipeline obtained 25 information leak PoCs and 21 LPE exploits. For comparison, 26 confirmed 0-day LPE exploits have been accepted by kernelCTF in 2026 at the time of writing.
The campaign cost roughly $32,936 in API credits. Were the 21 vulnerabilities accepted by the program, it would lead to around a $1.5M bounty award, ~45x the scanning cost.
As far as we know, the agents in this pipeline discovered and used at least 10 novel Linux exploitation techniques.
Linux maintainers and the security community are working hard to discover and fix vulnerabilities rapidly. During the 10 days the scan was running, we observed that over 100 Linux LPEs had been patched or had staging patches from other contributors, with ~300 more being publicly discussed.
Given how quickly frontier models now discover vulnerabilities, we believe automated patch generation is essential if software is to be secured at the pace required and the exploitation window kept limited. With iteration guided by human experts, we believe AI-generated patches can be functionally correct, aligned with existing coding styles, and robust to attack variants. This is an important area for further research.
More capable models can discover new vulnerabilities in existing code, often including ones that have been around longer and are more complex to identify. In mid-October our analysis pipeline, using the newer cyber model, discovered >5x more novel LPEs than a GPT‑5.6 Sol run in July, despite three months of hardening between the scans.
Large, complex software projects likely need multiple rounds of scanning and fixing before latent bugs “bottom out”. Ideally the process is repeated with each subsequent generation of frontier models. That holds for proprietary as well as open source software.
For the near and medium term, a low-privileged account on an operating system that is not up to date with its latest available patches should be treated as functionally equivalent to root access by a well-resourced threat actor. Defense in depth — sandboxes and isolation approaches such as Firecracker and gVisor — matters for limiting the blast radius of exploited vulnerabilities.
Within the next few years, we believe that if a given software project has vulnerabilities, frontier models will likely be able to find them, and even less capable models may be able to develop exploits once those vulnerabilities are disclosed. In a world with no unknown vulnerabilities, building and maintaining high assurance software will be critical, especially for core software such as operating systems, browsers, image parsing libraries, the TCP/IP stack, and more. Besides finding and fixing existing vulnerabilities, promising areas of future research for scaling software security effectively include training models to write secure code by default, minimizing attack surface by removing unnecessary features, and formal verification.
Android devices, cloud infrastructure, supercomputers, and other systems used by billions of people all rest on the Linux kernel. With more than 40 million lines of code, the kernel exposes a broad attack surface through system calls, networking, filesystems, and device drivers. We chose Linux in order to study how effectively frontier models could find vulnerabilities and demonstrate their security impact in a codebase of this scale and importance.
The initial vulnerability discovery stage produced thousands of candidate findings — far too many for security researchers to review and triage by hand. The operational challenge our pipeline faced was not discovery but determining which findings could be reproduced, which security boundary they crossed, and which deserved the earliest maintainer attention.
OpenAI’s Cyber team exists to help secure the software the world relies on. We report API costs for each stage so that researchers can assess the resources needed to reproduce and extend this work. These costs reflect the models, target configurations, and workflow used in this evaluation. Our broader goal is to help defenders find and fix vulnerabilities, which reduces the opportunities open to attackers and raises their cost of exploiting software.
Finally, note that in this research we focused on methodology and on measuring model capability, not on cost. We expect that sufficient harness engineering could meaningfully reduce the cost at each stage; the costs we report are therefore more of an upper bound.
Our vulnerability research prototype is a pipeline of five stages, with an upcoming cyber model at its core:
At the end of the pipeline, the system bundles a root cause analysis, a minimal crashing proof-of-concept, a candidate patch, and a full exploit, which assists human researchers in assessing severity and upstreaming fixes.
Not every line of code in the Linux kernel is security-relevant. Our pipeline used a team of Scout agents to identify high-value audit targets, which were then handed to Analyst agents for vulnerability scanning.
Scout agents read through each folder and file and decide which targets to audit, based on their reachability (reachable by low-privileged users) and their security relevance.
This stage identified 5,034 audit targets, about 2.8 million lines of code — roughly 7% of the whole Linux kernel code base — which considerably cut the cost of the security audit compared with a full codebase analysis. The step cost $3,426 in API credits.
Analyst agents then analyzed each audit target and produced candidate findings, following a workflow similar to that of the Codex Security plugin. At a high level, the analyst agents read the code of the assigned audit target to understand how it works, identify its threat model, and look for vulnerabilities in it.
Within 12 hours, the analyst agents produced 2,308 candidate findings after deduplication. This stage cost $316,549 in API credits.
A candidate finding is not the same thing as a validated vulnerability. At this scale, investigating every report by hand would have been impractical for our research team.
We therefore focused on validating findings that a) were reachable by a low-privileged user, b) required no special capabilities, and c) produced measurable evidence of memory corruption.
For each candidate, a triage agent generated a proof of concept and ran it in an isolated virtual machine running a Linux kernel with Kernel Address Sanitizer (KASAN). The agent watched both the program output and the system console, then iteratively refined the proof of concept until it reproduced the reported behavior or had exhausted the potential ways of triggering it.
Within 30 hours, our system reproduced 1724 vulnerabilities, ~74.7% of the 2,308 candidate findings. Static code review on its own can be prone to false positives, so the accuracy of the analyst agents impressed us, as did the effectiveness of the triage agents in autonomously creating working proofs of concept for almost three quarters of the candidate findings.
Most of the remaining findings either required elevated privileges or failed to reproduce within the time budget, because of difficult race conditions, specific trigger conditions (e.g., a required allocation failure at a specific line), or time-consuming validation (e.g., refcount wraparound). Only 3.1% reflected incorrect analysis by the model, where the reported vulnerability assumed an impossible condition.
The validation stage cost $73,330 in API credits in total. In our validation pipeline, which needed to generate a proof-of-concept to confirm whether a candidate was a real vulnerability, we observed that this process was more expensive than making a recommendation based only on static analysis, and that the costs of trying to validate a true positive and a false positive were similar. Removing false positives earlier in the pipeline therefore makes the process meaningfully more cost-efficient.
Validation establishes that a vulnerability is real, but says nothing about how urgently it should be addressed. A vulnerability that could enable local privilege escalation, for instance, warrants greater priority than one that could only cause a local denial of service. With 1,724 validated vulnerabilities in hand, the next task was to identify the findings with the greatest potential security impact.
An initial screening agent statically reviewed each report, crash log, and relevant source code. It was deliberately permissive, so as not to discard potentially serious findings, while filtering out cases without a plausible exploitation path. That narrowed the results to 313 information leak candidates and 1,238 local privilege escalation candidates.
Exploit-development (ExploitDev) agents then tested those candidates in isolated virtual machines configured with the protections that a standard Linux distribution enables, including Supervisor Mode Execution Prevention (SMEP), Supervisor Mode Access Prevention (SMAP), Kernel Address Space Layout Randomization (KASLR), and HARDENED_USERCOPY. This helped prevent unrealistic assessments that depended on protections being switched off.
The agents produced 291 proofs of concept for information leaks and 1,169 working local privilege escalation exploits that could give unprivileged local users root access.
We performed variant analysis and developed 948 distinct patches for the vulnerabilities behind those exploits. That number is what we use to determine the overall count of unique LPEs. Successful exploits cost an average of $359 in credits to develop, which makes testing the exploitability of found vulnerabilities relatively inexpensive for defenders.
The initial vulnerability screening agent cost $44,194 in API credits. The exploitation stage cost $775,929 in API credits in total — $84,929 for processing information leak candidates and $691,000 for local privilege escalation candidates.
On average, processing a local-privilege escalation candidate ($558) was roughly two times more expensive than processing an information leak candidate ($271). The reason is that information leak PoCs were carried forward from the validation stage and needed less modification to become usable in an exploit. Developing an exploit from an LPE candidate, by contrast, required many extra steps such as planning an exploitation strategy, identifying vulnerable objects to use, bypassing mitigations, and more. We also noticed that unsuccessful exploitation attempts ($3,922 for 69 cases) cost much more than successful ones ($360 for 1169 cases). A few hard-to-exploit vulnerabilities (e.g. race conditions) caused this. Defining a reasonable give-up condition — stopping the attempt, say, after no progress for one hour — would have reduced the cost of ExploitDev significantly.
| Item | Cost in API credits |
|---|---|
| Screening agent | $44,194 |
| Information leak candidates | $84,929 |
| Local privilege escalation candidates | $691,000 |
| Exploitation stage total | $775,929 |
| Average per successful exploit | $359 |
| Average per local privilege escalation candidate | $558 |
| Average per information leak candidate | $271 |
For every validated vulnerability, the system also generates a patch. We give the model the relevant source code and prompt it with best practices in patch writing — performing static checks on the patch, following the software development practices used in nearby code, and performing variant analysis so that the patch is complete.
Following the Linux kernel community’s suggestion, we have already sent out hundreds of reports and patches for critical vulnerabilities, and we are working with Patch the Planet partners to gradually send out patches for the rest. This work is part of our broader Daybreak commitment to support open-source projects.
In this section we share learnings, reflections, and additional analysis from this research.
Throughout this research we saw Linux maintainers moving quickly to fix vulnerabilities and protect users. The scan was performed on the latest Linux kernel in mid-October 2026. By the time the autonomous scan and manual analysis finished after 10 days, 61 LPEs had already been patched upstream, 43 had staging patches, and 299 were being reported and discussed publicly.
We greatly appreciate the Linux maintainers who have been working urgently to patch identified issues, as well as the broader security community contributing their findings. This collective response is what is needed to secure the world’s software. The rapid rate of vulnerability disclosure and patching also underlines how critical it is for users and companies to keep software up to date.
Takeaway: Automated triage should take the rapid patching cycle into account. Revalidating findings against the latest code — including new code merged after the original scan — helps avoid duplicate or obsolete reports. This focuses attention on unresolved vulnerabilities and gives maintainers evidence they can act on without adding unnecessary review burden.
While we were developing the pipeline, in late July 2026, GPT‑5.6 Sol found and exploited 166 unique LPE vulnerabilities, for an end-to-end cost of $513,690 in API credits.
In the second scan, in mid-October 2026, the newer cyber model found and exploited 948 unique LPE vulnerabilities, for an end-to-end cost of $1,213,430 in API credits. In both campaigns we scanned the latest Linux kernel master branch at the time.
Takeaway: Rescan previously audited code as model capabilities improve. Even with the same research harness, a more capable model may uncover vulnerabilities that earlier models missed.
We sampled 166 exploits developed by the agents and analyzed the exploitation techniques they used. To the best of our knowledge, the agents used 10 new exploitation techniques in the sampled exploits. We shared the exploitation techniques with third-party kernel exploitation experts, and the techniques were new to them as well.
Of the 10 techniques, two are new persistent elastic objects that the model used to spray objects inside the target kernel cache; two are new page grooming techniques that improve exploit reliability; five are new data-only techniques for obtaining privilege escalation directly or via an arbitrary write; the other technique involves arbitrary type confusion. For safety reasons, we omit the full technical details of these new exploitation techniques from this post.
Takeaway: Frontier models do not merely pattern match known vulnerable code patterns or rely only on known exploitation techniques; they show creativity and novel approaches.
Measuring the cost of finding and exploiting vulnerabilities, and using that evidence to guide defensive investment, is an important part of our team’s mission. Our goal is to help defenders fix vulnerabilities before attackers can use them, and to make it cost prohibitive for attackers to exploit software. Measuring exploitation costs helps us assess how that challenge changes as model capabilities improve. In this section we compare our pipeline run’s cost with bug bounty program rewards for the vulnerabilities identified.
The target virtual machines in our experiment ran a stock desktop operating system, not a weakened target, under the same threat model used by cybersecurity competitions (e.g. Pwn2Own, TyphoonPWN). Historically, Pwn2Own and TyphoonPWN offered bug bounties of $20,000 and $70,000, respectively, for Linux kernel local privilege escalation exploits. Applying those historical bounty amounts to the 948 exploits produces a hypothetical valuation of $18.9M—$66.3M, approximately 16x to 55x our pipeline’s cost.
We also tested our pipeline against Google’s kernelCTF vulnerability reward program.