AI Agents Zero-Day: The Cairn MONAI Label Attack Explained (CVE-2026-133968)

Posted by Reda Fornera on 2026-11-23
Estimated Reading Time 17 Minutes
Words 2.9k In Total

AI agents zero-day attacks are no longer a thought experiment. On September 8, 2026, an operator pointed Cairn — an open-source autonomous AI hacking framework — at a list of university IP addresses and gave it one instruction: obtain shell access. Over the next two days, the framework’s AI agents hammered an unauthenticated Redis server for sixteen hours, sprayed more than 30,000 credential combinations at a GPU server — and, along the way, discovered and weaponized a zero-day in MONAI Label, a medical-imaging AI application that no one had filed a CVE for yet.

That’s not vendor whitepaper speculation. It is the forensic reconstruction published on November 20, 2026 by Amazon Threat Intelligence in a post by CJ Moses on the AWS Security Blog — and there is, as far as credibly documented reporting goes, no publicly documented precedent for autonomous AI agents finding and deploying a zero-day on their own in real-world attack activity.

What actually happened

Start with the evidence, because the evidence is unusual in the best way. On September 10, 2026, Amazon Threat Intelligence identified a server running a publicly hosted, unauthenticated instance of Cairn, an open-source autonomous AI penetration-testing framework. Whoever operated it made a catastrophic operational-security mistake: they left the platform’s entire operational history exposed to the internet.

“Because the operator left the server publicly accessible, the operational history of the platform was visible to anyone on the internet, including project configurations, actor prompts, and AI output,” Amazon’s report explains. In other words, Amazon didn’t have to speculate about what the agents did — they could read the agents’ homework.

And the homework shows real attacks. The leaked records describe a campaign targeting “IP addresses associated with universities in East Asia outside mainland China” over an approximately 48-hour period beginning September 8, 2026. These were actual university servers, not a lab range. The AI agents probed production systems belonging to real institutions whose names Amazon declined to disclose — and at least one ended up with a root-level reverse shell running on it.

To be precise about a distinction that sloppy coverage will blur: Amazon did not run these agents, and this was not a red-team exercise on a deliberately vulnerable target. Cairn was built as “a research and problem-solving engine” for defenders, per the report — but it was the threat actor who deployed it, aimed it, and whose mistakes let Amazon read the transcript. Amazon assesses with high confidence that the vulnerability the agents found was a genuine zero-day, “based on the absence of any corresponding fix, issue, advisory, or prior mention in vulnerability databases for the affected open-source project.”

The campaign, as reconstructed

Cairn is worth understanding for a minute, because it’s the tool that makes everything downstream possible. It’s an open-source autonomous penetration-testing framework, and Amazon’s description of the operating model is almost defiantly simple: give it a starting point and an objective in plain language, and it coordinates multiple AI agents to find a path to the goal.

The operator in this campaign did exactly that, and not much more. Per the report, they provided “a list of targeted IP addresses with variations of the goal to ‘obtain shell access.’” From there: “the AI agents planned, executed, and adjusted their approach as they learned, without the operator choosing each next step.” No click-by-click direction. No human approving each payload.

As for who was behind it: the operator wrote prompts in Simplified Chinese, the executed scripts carried China Standard Time timestamps, and the targets were universities Amazon says are “likely of strategic interest to China.” On that basis, Amazon “assesses with moderate confidence that this is a Chinese-nexus threat actor.” That’s the ceiling of the claim — moderate confidence, built on three signals, without naming a specific group. Treat it accordingly.

The leaked history captures several distinct operations, and they vary wildly in outcome. That variance is the most instructive part of the whole report.

The ~11-minute AI agents zero-day exploit chain in MONAI Label

The centerpiece of the report is the operation against a university server running an open-source medical-imaging AI application — since identified across the vulnerability ecosystem as MONAI Label, a Project-MONAI server used by researchers to label medical images for AI training.

The sequence, as Amazon reconstructed it from the leaked agent history: the AI agents identified the application’s framework, mapped its API endpoints, and found an upload endpoint with a filename parameter — then tested that parameter for path traversal. It was vulnerable. “In about 11 minutes, the agents went from mapping the application’s API to arbitrarily writing files on the server,” the report states.

Note the precision of that number, because it’s easy to misread: the ~11 minutes is the agents’ time from API mapping to arbitrary file write within that operation. It is not “hack a university in 11 minutes” end to end, and the exploit chain continued after it.

Generic stock photo of source code on a dark terminal screen — illustrative of the autonomous exploit-chain activity the AI agents ran against MONAI Label, not a screenshot from the campaign

1
2
3
4
5
6
7
MONAI Label server, auth disabled by default
└─ agents map the framework and its API endpoints
└─ PUT /datastore/image + PUT /datastore/label
└─ caller-controlled "image" query parameter
└─ path traversal test → succeeds
└─ ARBITRARY FILE WRITE anywhere the process can write
(reached ~11 minutes after API mapping began)

What exactly was broken? The GitHub advisory — GHSA-qc22-rmgc-vg94, linked directly from Amazon’s post — documents it in detail. The PUT /datastore/image endpoint accepts a caller-controlled image query parameter used as the image ID without validation. The server’s LocalDatastore.add_image() then appends a file extension, joins the ID onto the datastore directory, and writes the uploaded file with shutil.copy(). Because the resolved path is never checked to be inside the datastore, a value like ../../../tmp/x writes the uploaded content to any location the MONAI Label process can write to. The PUT /datastore/label endpoint builds its destination path the same way. Critically, the advisory notes that authentication is disabled by default (MONAI_LABEL_AUTH_ENABLE=False), so in a default deployment any network client that can reach the server can exploit it — no account required.

Then came the persistence. In a later session, per the report, the agents used the same zero-day to write a Python reverse-shell payload into sitecustomize.py — a file Python automatically imports every time the interpreter starts. They then triggered the application’s training API endpoint to spawn a new Python process. That process imported the tampered file and established a reverse shell running as root.

Read the full chain slowly: a zero-day discovery, an arbitrary-write primitive, and a persistence mechanism that weaponizes Python’s own startup hook — assembled by agents whose only human input, up to that point, was “obtain shell access.”

The failures matter too — agent persistence versus reality

If you only read the zero-day section, you’d walk away believing AI agents are unstoppable. The report itself hands you the counterweight.

The most extensive operation — against a university Redis instance left configured without authentication — went nowhere. Over roughly 16 hours and 148 sequential actions, the agents worked through essentially the entire public playbook for taking control of an open Redis server: abusing Redis’s replication feature to load unauthorized code, escaping its scripting sandbox, writing to its configuration files, and corrupting its memory. When all of that failed, they pivoted — attempting a Log4Shell injection against another service on the same system, mapping the internal Docker network topology through an SSRF vulnerability in a co-located Qdrant instance, and launching credential sprays against PostgreSQL, SSH, and several other services.

The result: “None of these attempts succeeded.”

The GPU server operation was the same story with different tools. It ran for more than six hours, during which the agents built a list of about 80 real usernames by researching the university’s public presence — faculty directories, lab websites, archived web pages, academic papers — then tested more than 30,000 credential combinations against SSH, an admin dashboard, a network storage device, a VPN server, and the campus portal. Amazon’s summary is blunt: “They never found a working login.”

Two hardened targets, two complete failures, at a cost of nearly a full day of continuous agent operation each. This is the part of the report that resists the “AI ends cybersecurity” narrative: agents have stamina and creativity in volume, but nothing magical happens between their requests. Well-configured services defeated 148 sequential attack actions the same way they’d defeat a patient human.

But note what the failures do establish. The agents “kept adapting for nearly a full day without human direction” — chaining new techniques from published attack research as each one failed. A human operator pacing the same playbook would need breaks. The agents needed none.

MONAI Label zero-day disclosure and the CVE-2026-133968 patch timeline

The disclosure timeline is its own case study in how AI-era bugs move.

Per the report, Amazon notified the maintainers, and “they released a fix and a GitHub Security Advisory.” The advisory (GHSA-qc22-rmgc-vg94) credits an AWS security vulnerability-disclosure account (@aws-sec-vdp) as the original reporter — first filed against the MONAI repository (GHSA-cxx7-378q-5622), then re-filed against MONAI Label, where the vulnerable code lives, “to generate CVE in the correct repository.” It was fixed in PR #1915, which makes both upload endpoints validate that resolved paths stay inside the datastore and reject path-traversal IDs outright.

The rough edges: the fix was merged on October 19, but — as VentureBeat flagged on November 20 — the newest release at the time of Amazon’s report was still 0.8.5, meaning the fix that existed in source wasn’t yet reachable by anyone installing the package. The GitHub advisory was published November 18 (per BleepingComputer’s coverage), and MITRE’s CVE entry for CVE-2026-133968 went live November 20 with a CVSS 3.1 base score of 9.8 — Critical — and a description that states plainly it was “exploited in the wild starting in September 2026.”

The gap closed on November 22, when MONAI Label 0.8.6 shipped. It’s labeled explicitly by the maintainers: “This is a security release. All MONAI Label server deployments should upgrade.” The critical datastore fix affects all versions up to and including 0.8.5 — and it’s not alone. The 0.8.6 release also patches a second path traversal, in the session upload endpoint, via unvalidated tar extraction and session-ID paths.

A brass padlock resting on circuitry — generic stock imagery standing in for responsible disclosure and the remediation of CVE-2026-133968, not related to the incident

One more disclosure nuance worth sitting with: the affected organizations “were non-AWS customers that AWS had no direct path to notify,” so AWS “worked with a government partner to notify the organizations about the activity.” AI agents found this zero-day or not — victim notification still runs on last century’s channels.

What this means for agent security

Every story in our series on agentic security has escalated the same variable: how much of the attack happens without a human in the loop. We’ve covered the OpenCode Console API key breach and the “distillation attack” that made stolen AI credentials a commodity, Google’s warning that attackers were using AI to find scanner-evading zero-days — the 2026 wave before Cairn — the first documented LLM-agent cyberattack that exfiltrated a database in under an hour, and Black October’s agentic breach wave — Railway’s incident report detailing a 26-hour race between defenders and an AI-driven attacker. This case moves the frontier one hard step further: the agents weren’t executing a human’s playbook — they found a vulnerability nobody had recorded and built the chain themselves.

Why the speed matters, in Amazon’s own framing: “An agent that discovers and exploits a zero-day in minutes completes its activity faster than many security operations centers can manually triage an alert.” Your SOC’s triage latency is now longer than this agent’s discovery-to-weaponization window. And the failed operations prove the tempo isn’t a one-off: the agents that lost against Redis “ran continuously for 16 hours without breaks, sleep, or working-hour constraints.”

The dual-use dynamic is equally explicit. Gambit Security, which Amazon credits as “one of the first organizations in the industry to document the use of Cairn by a threat group,” describes a separate, financially motivated operation using Cairn — alongside the Strix vulnerability-scanner and a Hermes orchestration agent — against online retailers. Between September 10 and 15 alone, per Gambit’s report, 105 attack projects were launched and at least 27 companies were compromised to varying degrees, with more than 600,000 credit card records exfiltrated from two victims and card-skimming scripts planted on others. The mean model-usage cost per completed scan, by the operator’s own accounting: $25.46. At that price, the economics that used to filter out attackers stopped filtering anything. Where access was achieved, it usually took less than a day.

The defender prescription in the report is a genuinely uncomfortable one: “prioritize high-confidence detections that trigger automated response, with humans overseeing outcomes rather than reviewing every individual action.” Read that again — Amazon’s advice is to move humans out of the approval loop for high-confidence detections, because the approval loop itself is the latency the attackers now exploit. Humans as outcome overseers, not action gatekeepers.

Guardrails in practice — and the honest caveat

For defenders, this report converts into a short checklist:

  • If you run MONAI Label, upgrade to 0.8.6 today. (One upgrade caveat: 0.8.6 requires Python ≥3.11 — check your image before pulling.) Everything at or below 0.8.5 carries the critical datastore path traversal (CVE-2026-133968 / GHSA-qc22-rmgc-vg94) exploitable without authentication in the default configuration — plus the second session-upload traversal fixed in the same release. If a 0.8.5-or-older server was reachable from an untrusted network, review it for unexpected file changes before returning it to service — given what lands in writable paths, that’s not paranoia.
  • Hunt the indicators. The report’s IOCs — 142[.]4.98.145 and 142[.]4.107.34, in records dated September 8 to 10, 2026 — should go straight into your retroactive log searches. If you ran an exposed MONAI Label or an unauthenticated Redis during that window, assume someone checked.
  • Audit auth on every AI/ML serving endpoint. The MONAI Label root shell started with an upload API and a factory default that turned authentication off. Medical-imaging servers, model-inference endpoints, annotation portals — inventory them, confirm they’re not internet-exposed, and turn authentication on. The same audit applies to developer tooling configs: we’ve previously shown how a local assistant settings file can quietly leak API keys — exposed credentials and exposed endpoints are two halves of the same AI-stack attack surface.
  • Re-baseline your threat model. Agent-driven recon and automated technique-chaining (Log4Shell attempts, SSRF pivoting, credential spraying across five services) are now table stakes in active campaigns. Detections that assume a human’s patience or a human’s break schedule are miscalibrated.

And the honest caveat, which the report itself provides. The agents failed twice, expensively, at hard targets; the 16-hour, 148-action Redis operation is the sober counterweight to the 11-minute headline. Nobody autonomous zero-days “anything” — not yet, not reliably. What’s new is that the full arc — enumerate, discover a live zero-day, exploit it, persist as root, and accept a human operator’s hand-off to the next target — now exists in a reconstructed, real-world campaign record rather than a demonstration environment.

That hand-off deserves the last word. Per the report, in a later session “the threat actor stepped in”: after the agents found the zero-day, the actor provided them with a proxy tunneling into a second university network — a server running the same vulnerable software, which Amazon infers the actor had already compromised with the zero-day themselves — and directed the agents to pivot through it at other machines. The pattern to internalize is not “AI replaces attackers.” It’s “AI absorbs the scutwork, the stamina, and now the vulnerability research — while humans keep the keys.” Every capability on that list is something your detection stack should assume in next year’s logs.

References and further reading


Please let us know if you enjoyed this blog post. Share it with others to spread the knowledge! If you believe any images in this post infringe your copyright, please contact us promptly so we can remove them.



// adding consent banner