How an Open-Source AI Agent Found a Real Zero-Day
Nobody taught this attacker how to find the bug. The AI agents found it themselves, in about eleven minutes, and the human operator only came back once the door was already open.
Amazon published the account on November 20, 2026, and it reads less like a typical vendor disclosure and more like a field report. CJ Moses, CISO of Amazon Integrated Security, described a suspected Chinese-nexus actor who pointed a set of autonomous agents at university networks in East Asia with a single plain-language instruction, obtain shell access. The agents, running on an open-source offensive framework called Cairn, mapped an application's programming interface, found an unguarded upload function, and turned it into a root-level reverse shell before the operator had to make a single tactical decision.
What makes this different from the usual exploit-automation story is specific and worth sitting with. This was not a known vulnerability run through a scanner, and it was not a patched bug diffed out of source code. Amazon's own researchers assess with high confidence that the agents found a genuine zero-day, a flaw nobody outside that university network had ever reported. The tool that found it was never built as a weapon. It was built as a research platform for defenders, and somebody pointed it the other way.
For a security leader whose job is proving what happened, not just stopping it, the detail that should stick is where the record came from at all. Amazon only saw any of this because the attacker's own control server had no login screen. The flaw the agents exploited was in an application that also had no login screen by default. Two unrelated engineering teams, on opposite sides of the same intrusion, made the identical mistake.
Key Takeaways
- A defensive tool became an offensive one with no code changes. Cairn is a publicly available, open-source autonomous penetration-testing framework built for researchers, and a threat actor simply gave it a goal and let it run, with no modification to the software itself.
- The zero-day was found live, not diffed from a patch. Unlike exploit frameworks that reverse-engineer a vendor's fix, these agents mapped a running application's upload endpoint, tested it for path traversal, and reached arbitrary file writes without any prior disclosure to work from.
- Eleven minutes is the number that should worry audit and response teams. That is how long it took the agents to go from mapping an API to writing files outside the intended directory, a window far shorter than almost any human-paced detection or approval workflow.
- Authentication defaults decided the outcome twice over. The vulnerable application shipped with authentication disabled by default, and the attacker's own Cairn console was left exposed the same way, which is also how Amazon was able to observe the operation at all.
- Failure did not stop the agents, it just redirected them. Multi-hour attempts against a Redis instance and a university GPU server both failed outright, and the agents simply moved to the next target rather than needing new human instructions.
A Framework Built for Defenders, Used for the Opposite
Cairn was not designed to break into anything. According to its own developers, it exists as a research and problem-solving engine, the kind of tool a red team or a university lab uses to find its own weaknesses before someone else does. The operator gives it a starting point and an objective in plain language, and multiple coordinated agents take it from there. Amazon's account is blunt about what that means in practice. The agents planned, executed, and adjusted their approach as they learned, without the operator choosing each next step.
That distinction matters more than it sounds. A lot of the "AI agent breach" coverage in 2026 has involved a single company's internally built tool, misconfigured or jailbroken, acting against its maker's wishes. Cairn is a different category entirely. It is public, it is general-purpose, and Amazon's post links to separate research from Gambit Security describing an unrelated, financially motivated actor running the exact same framework against online retailers. One tool, two unconnected operators, two different targets. The thing enterprises actually need to plan around is not a single rogue AI project. It is a growing shelf of capable, freely available agent frameworks that anyone can point at anyone, a pattern security professionals are already telling researchers they feel unprepared for.
Bonfy's own Shadow AI Security work starts from a version of this same premise. The tools an organization must worry about are rarely the ones it bought and approved. They are the ones nobody controls at all, whether that means an employee's browser extension or, in this case, a stranger's research project aimed at your infrastructure.
Eleven Minutes From API Map to Arbitrary File Write
The target was an open-source medical imaging application built on the MONAI Label framework, used by research hospitals and universities to help label and process clinical imaging data. The agents started by fingerprinting the application and mapping its application programming interface, a routine reconnaissance step for any automated tool. They found an upload endpoint that accepted a filename as a parameter, tried it for path traversal, and got arbitrary file writes outside the storage directory the application was supposed to confine them to.
That sequence, start to working exploit primitive, took about eleven minutes. In a later session, the agents wrote a Python reverse shell into a file called sitecustomize.py, a file Python quietly imports every time it starts up. They then called the application's own training endpoint, which spun up a fresh Python process, imported the planted payload automatically, and handed the agents a reverse shell running as root. No social engineering, no stolen credentials, no help from a human partway through. The security advisory that followed, published by the project's maintainers after Amazon's notification, tracks the bug as a path traversal flaw in the upload handlers and rates it critical, since the application runs with authentication disabled unless an administrator turns it on.
A single sourced data point like that deserves a beat before the next one arrives. Eleven minutes is not a number security teams can build a manual review step around. Most vulnerability triage processes assume there is a gap, measured in hours or days, between a flaw becoming known and someone acting on it. This operation never gave anyone a known flaw to triage. It generated one, used it, and moved on inside the time it takes to read this section twice.
The Irony Hiding in Plain Sight
Here is the detail that belongs in every version of this story and rarely gets one. Amazon's researchers did not infiltrate the attacker's infrastructure. They found it sitting open on the internet, because the Cairn instance running this entire operation had no authentication on its own control interface. Every prompt the human operator typed, every plan the agents generated, every line of output, sat there for anyone who stumbled onto the right IP address.
The operator wrote those prompts in Simplified Chinese. The scripts carried China Standard Time timestamps. None of that was meant to be seen. It was seen because the same basic hygiene failure that let the agents into a hospital-adjacent research application also let a defender into the attacker's own workspace. Two systems, built years apart by people who never met, failed the exact same way. Neither tool was supposed to face the open internet without a login, and both did anyway.
This is not a coincidence worth a shrug. It is the whole argument for entity-aware enforcement in one sentence. Permissions that exist on paper and authentication that exists in a settings menu somewhere are not controls until something checks them at the moment access happens. Contextual Data Enforcement is built around that exact gap, evaluating what is being requested, by what, and in what context, rather than trusting that a login screen will be there when it matters. In this incident, it was not there twice, on both sides of the keyboard.
Two Attacks That Failed, and Why That Still Matters
Not every target gave the agents a quick win, and the failures are almost as informative as the success. Against a university-hosted Redis instance left open without authentication, the agents spent roughly sixteen hours and 148 distinct actions trying to abuse replication, escape the scripting sandbox, and corrupt memory to gain code execution. They also tried a Log4Shell injection against a neighboring service and mapped the internal network topology through a separate exposed tool. None of it worked.
Against a university GPU server, the agents built a list of about 80 real usernames pulled from faculty pages, lab websites, and academic papers, then tested more than 30,000 credential combinations against SSH and several other systems on the same network over more than six hours. That also failed outright.
Read on their own, those are two unremarkable, unsuccessful brute-force attempts. Read next to the eleven-minute zero-day, they describe something closer to a persistent worker than a single scripted attack. The agents did not need a human to decide when to give up on Redis and try the GPU server instead, and they did not need one to decide when to abandon credential stuffing and go looking for an application bug. That is the part of agent autonomy that deserves more attention than it gets. The interesting risk is rarely the one successful exploit. It is the tireless, unsupervised pivoting that happens around it, most of which never shows up in a breach notification because it never worked.
When the Human Stepped Back In
Autonomy in this incident was not total, and that distinction is worth being precise about. Once the agents had working root access through the zero-day, the human operator returned. According to Amazon's account, the actor supplied the agents with a proxy connection into a second university network running the same vulnerable software, almost certainly compromised using the same flaw, and then directed the agents toward specific machines on that network.
The operator did not write the exploit or test the path traversal bug by hand. The operator also did not disappear once the agents got in. What happened instead sits between the two extremes that dominate public conversation about agentic threats. It was neither a fully scripted attack with no AI involvement, nor a rogue system acting with zero human direction from start to finish. It was a human choosing targets and supplying infrastructure, and agents doing the technical work of getting there, with the division of labor shifting back and forth as the operation progressed.
That mixed pattern is exactly what governance frameworks built around a single identity type miss. An agent acted here, and so did a person, often on the very same objective within minutes of each other. Any control or audit trail that only accounts for one of those two actors, agent or operator, will describe half of what happened, a gap Bonfy has written about directly as the security assumption that agentic work quietly breaks.
Why Chinese-Nexus Understates the Exposure
Amazon assesses with moderate confidence, not certainty, that this was a Chinese-nexus actor, based on the Simplified Chinese prompts, the China Standard Time timestamps, and a target set of East Asian universities outside mainland China that the researchers describe as likely of strategic interest. Moderate confidence is an honest label, not a hedge to downplay. Attribution built from timestamps and language in a leaked console is useful circumstantial evidence, not a signed confession.
What should concern a reader well beyond this one campaign is a separate detail buried in the same disclosure. An entirely different, financially motivated actor was independently found running the same Cairn framework against online retailers, with no apparent connection to the university campaign at all. A single autonomous pentesting tool, built for defenders and released publicly, is now confirmed in the hands of at least two unrelated operators with two different motives. That is not a story about one threat actor's new capability. It is a story about a capability that is now ambient, available to whoever downloads it next, regardless of their goals or their nationality.
The Evidence Problem This Creates for a CISO
None of the technical detail above is the hard part for a compliance leader. The hard part is what you can prove, and to whom, after something like this happens inside your own environment rather than someone else's research lab.
A regulator asking about a breach involving protected health information does not care whether a human or an autonomous agent read the record. HIPAA's requirements do not carve out an exception for an attacker that happened to be software. If a hospital or research institution running an application like this one had its clinical imaging data touched, the breach-notification clock starts the same way it would for any other intrusion, and the organization still must answer the same four questions regulators always ask, namely what was accessed, by what means, under whose authority, and how fast can you prove it. That is the same question healthcare content security work must answer before an incident, not during one.
That last question is where most environments fall short, agent or no agent. Ordinary application logs show that a request hit an endpoint. They rarely show which actor was behind it, what it was authorized to touch, or whether the access matched the stated purpose of the task underway. Agent identity logging and healthcare AI breach risk work both point at the same underlying gap. An audit trail built for human logins does not automatically produce evidence quality records once an autonomous system is the one making the calls. Bonfy has made a version of the same point in writing about PHI overexposure inside AI workflows. Minimum-necessary access only means something if something is actually enforcing it at the moment of use, not just describing it in a policy document nobody consulted during an eleven-minute attack.
Automated Response Must Match Agent Speed
Amazon's own closing recommendation is the least ambiguous part of the entire disclosure, and it deserves to be quoted rather than paraphrased: organizations should prioritize high-confidence detections that trigger automated response, with humans overseeing outcomes rather than reviewing every individual action.
That sentence is a direct rejection of how most security operations centers are still staffed and run. A sixteen-hour Redis attack and an eleven-minute zero-day both happened faster than most organizations' change-approval or escalation processes can move. Waiting for an analyst to review an alert, open a ticket, and get sign-off before blocking a session assumes the attacker is working on a human clock. This incident is one more confirmation that assumption no longer holds.
None of this is an argument for removing people from the loop. It is an argument for moving the loop to a different place. A human still decides what counts as high-confidence enough to trigger an automatic block, still sets the policy the system enforces, and still reviews what happened after the fact. What changes is that the decision to act at the moment of a specific request can no longer wait on a person to be watching at that exact second. Machine-speed attacks require policy enforcement that runs at the same speed, with human oversight applied to outcomes and exceptions rather than inserted into every transaction as a bottleneck. Bonfy's argument for governing the data layer itself, rather than trying to govern every agent that might touch it, comes from the same place. You cannot staff your way out of an eleven-minute attack. You can only build controls that do not need staffing in the moment it happens.
Entity-aware enforcement is what makes that automation defensible rather than reckless. A system that blocks on a vague anomaly score will generate noise a CISO cannot justify to a board. A system that blocks because a specific identity, human or agent, requested specific data outside its established relationship to that data and that task gives a security team an answer it can write down and defend. The zero-day in this incident existed inside an application that had no concept of entity, relationship, or context at all. It had a login screen that happened to be switched off. The fix for that particular hole matters, and the maintainers already shipped one. The fix for the pattern it represents is a different kind of control entirely, one that does not depend on every application getting its authentication defaults right on the first try.
Frequently Asked Questions
1. Our hospital runs an open-source medical imaging platform with authentication turned off by default for convenience; how do we find out whether an AI agent could find and exploit a flaw in it before an attacker does?
Start by checking the specific configuration flag, since several widely used research imaging tools ship with authentication disabled unless an administrator enables it. A hospital running that configuration should restrict network exposure immediately, enable authentication, and run its own authorized penetration test, ideally including an AI-driven one, against the application before assuming a human-paced scan would catch the same path traversal or upload flaws an autonomous agent can find in minutes.
2. What is the difference between a regular vulnerability scanner and an AI agent that can find and exploit a zero-day on its own?
A regular scanner checks a target against a list of already-known vulnerability signatures and stops when nothing matches. An AI agent given a plain-language goal instead maps the application fresh, tests individual parameters for unexpected behavior, and chains small findings, like a filename field accepting a traversal path, into a working exploit with no prior disclosure to draw from, which is what let agents in one documented case reach root access in roughly eleven minutes.
3. Is it reckless for a bank or hospital to let an AI penetration-testing agent run unsupervised against production systems?
Running an autonomous agent unsupervised directly against live production systems is reckless for a bank or hospital, since the same framework has already been documented attempting replication abuse and sandbox escapes against a live Redis instance for sixteen straight hours. The safer path is running agentic testing against staging environments or isolated copies with strict scoping and logging, then verifying findings manually before any change reaches a system holding real patient or account data.
4. If an AI agent used a previously unknown flaw to break into a university server holding research data, does that count as a reportable breach the same way a human-caused intrusion would?
A data breach caused by an AI agent exploiting a previously unknown flaw counts as reportable under the same rules that apply if a person had caused it, since breach-notification laws define the event by what data was exposed, not by whether a human or an autonomous system performed the access. The organization must still determine what was touched, document it, and meet the same statutory deadlines regardless of the attacker's nature.
5. We detected an automated attack moving through our network in minutes instead of hours; how do we build a response fast enough to matter against an AI agent instead of a person?
Responding fast enough against an AI agent requires shifting from manual, per-action review toward automated, high-confidence detections that trigger an immediate block, with a human overseeing outcomes rather than approving each step live. Kiteworks and Bonfy both argue for enforcing policy at the data layer, since a control that checks every request against an entity's actual relationship to that data can act in the same seconds an unsupervised agent does.
To learn more about agent-era data governance, schedule a custom demo.