AI Agents Found Zero-Day in 11 Minutes, Got Root Access

AI agents found a zero-day in a medical imaging server in about 11 minutes and used it to take full control of a university server, Amazon Threat Intelligence disclosed on November 20, 2026.

The AI agents zero-day attack is the first public case of autonomous agents finding and exploiting a previously unknown flaw on their own. Their operator gave them one goal — “obtain shell access.” The agents did the rest.

What happened in September

Amazon found the campaign by accident. On September 10, 2026, researchers spotted a publicly hosted Cairn instance running without authentication. The operator had left the server exposed, so its prompts and output were visible to anyone online.

The campaign ran for about 48 hours from September 8, 2026, against universities in East Asia outside mainland China. Prompts were in Simplified Chinese and scripts were set to China Standard Time. Amazon calls the actor China-nexus with moderate confidence, but named no group.

Cairn was built for defenders; that ease of use also attracts attackers.

The 11-minute break-in

The target was MONAI Label, an open-source medical imaging server. The agents identified the framework, mapped its API endpoints, and found an upload endpoint with a filename parameter.

They tested it for path traversal — writing a file outside its intended folder — and it was vulnerable. In about 11 minutes, the agents went from mapping the API to writing files anywhere on the server.

Root came later: the agents wrote a Python reverse shell into sitecustomize.py, then triggered a training endpoint to spawn a new process. It imported the payload and opened a reverse shell as root.

How AI agents went from mapping the MONAI Label API to root access in four moves

The campaign at a glance

The Cairn campaign: what Amazon documented

Item Detail
Campaign window About 48 hours from September 8, 2026
Redis operation About 16 hours, 148 actions — failed
GPU operation Over 6 hours, 80 usernames, 30,000+ combos — failed
MONAI operation About 11 minutes to file write; root later
The flaw Path traversal; MONAI Label 0.8.5 and earlier, auth off
CVE CVE-2026-133968, 9.8 out of 10 (critical)
Fix status Merged Oct 19, 2026 (PR #1915); no release yet

11 minutes  •  148 failed actions  •  30,000+ combos  •  9.8 CVE score

“These findings show that agentic offensive operations are already happening, and defenders should prepare for the speed and persistence these tools enable.” — Amazon Threat Intelligence, AWS Security Blog

The failures matter as much as the success

The zero-day was not the agents’ first try. Their biggest operation targeted an open Redis database. Over about 16 hours and 148 sequential actions, the agents tried known takeover techniques — abusing replication, escaping the scripting sandbox, corrupting memory — plus Log4Shell injection.

Nothing worked.

A second operation ran over 6 hours against a GPU server. The agents gathered about 80 real usernames from public sources, then tested more than 30,000 credential combinations against SSH, an admin dashboard, network storage, a VPN, and the campus portal. No login worked.

The point is persistence: the agents kept adapting for nearly a full day without human direction, and an agent does not get tired.

The Cairn campaign in numbers: 11 minutes to a zero-day, 148 failed Redis actions, 30,000 credential combos, CVE 9.8

How the attack worked, step by step

From API map to root shell

1. Map the API
The agents mapped the MONAI Label API.
2. Test the upload
An upload endpoint took a filename parameter, vulnerable to path traversal.
3. Plant the payload
Later, the agents wrote a reverse shell into sitecustomize.py.
4. Trigger and take root
A training endpoint spawned a new process. It imported the payload and opened a root shell.

The 11 minutes covered steps 1 and 2; root came in a later session.

The patch problem: no version to install

Amazon notified the maintainers, who merged a fix on October 19, 2026 and published a GitHub Security Advisory.

But a merged fix is not a patch you can install. The advisory says the correction ships in a future release, and the newest release is still 0.8.5, from 2024. Every default deployment — authentication off — is still exposed.

Even with authentication on, the ANNOTATOR role is enough to exploit it.

The flaw is now CVE-2026-133968, rated 9.8 out of 10, critical. Until a patched release ships, exposure control is the only defense — not an update.

What this costs — the money angle

This incident reprices AI security. MarketsandMarkets puts the agentic AI security market at $1.65 billion in 2026, growing to $13.52 billion by 2032 at a 42.0% compound annual growth rate, per its market report. Gartner sizes the broader AI-security market at about $2.84 billion in 2026, rising to roughly $4.78 billion in 2027.

Defenders pay first: an agent that exploits a zero-day in minutes finishes faster than most teams can triage an alert. Amazon’s prescription is high-confidence detections that trigger automated response, with humans overseeing outcomes — a spending decision on detection and automation, not headcount.

For builders, demand is concrete: tools that find exposed AI servers, enforce authentication by default, and red-team systems before attackers do. Gambit Security documented a separate, financially motivated actor using Cairn against online retailers — the framework is already in criminal hands.

How to protect your systems now

If you run MONAI Label, act this week:

  1. Block untrusted network access with firewall and routing rules.
  2. Turn on authentication (MONAI_LABEL_AUTH_ENABLE=True). It is off by default.
  3. Limit roles: do not grant the ANNOTATOR role to untrusted users.
  4. Run as a limited user with write access restricted to the datastore.
  5. Check for compromise: unexpected Python startup files and unusual training jobs.
  6. Verify source builds include the October 19 fix (PR #1915).
  7. Automate response: an 11-minute attack beats manual triage.

What to do now: block access, turn on authentication, run as non-root, check for shells

What is still unconfirmed

Three limits matter. Amazon’s account is its own reconstruction, not independently confirmed. The China-nexus attribution carries moderate confidence, and the second network — reached through a proxy tunnel — is inferred, not confirmed.

Root came on one university server; another deployment may differ.

No patient scans or clinical systems were touched.

Frequently asked questions

What is Cairn?

Cairn is an open-source autonomous AI penetration-testing framework. Given a starting point and an objective in plain language, it coordinates multiple AI agents to find a path to that goal. It was built as a research and problem-solving engine for defenders, but threat actors are now using it too.

What is MONAI Label?

MONAI Label is an open-source medical imaging server that research teams use to label medical scans and train imaging models. It is a separate program from the broader MONAI framework. Versions 0.8.5 and earlier are affected in the default setup, which runs with no login enabled.

How did the agents find the zero-day in 11 minutes?

They identified the MONAI Label framework, mapped its API endpoints, and found an upload endpoint with a filename parameter. They tested the parameter for path traversal, found it vulnerable, and went from mapping the API to writing files anywhere on the server in about 11 minutes.

Is there a patch for the MONAI Label flaw?

Not one you can install yet. The maintainers merged a fix on October 19, 2026 (PR #1915) and published a GitHub Security Advisory, but the fix will only ship in a future release. The newest release remains 0.8.5, from 2024.

Until then, firewall rules, authentication, and running as a limited user are the defenses.

How serious is CVE-2026-133968?

It is rated 9.8 out of 10, a critical score. The flaw allows an attacker with no account to write files outside the server’s storage folder, and authentication is off by default in MONAI Label. An arbitrary file write can lead to remote code execution, for example by overwriting application code or adding entries to .ssh/authorized_keys.

What should I do if I run MONAI Label?

Block untrusted network access with firewall and routing rules, turn on authentication (MONAI_LABEL_AUTH_ENABLE=True), do not grant the ANNOTATOR role to untrusted users, run the server as an unprivileged user with write access limited to the datastore directory, and check for unexpected Python startup files and unusual training jobs.

Was patient data stolen?

Amazon’s account shows no evidence that patient scans, records, or clinical systems were touched. The reported outcome was root access on one university server. The significance is the capability the agents demonstrated, not a medical data breach.

Sources

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top