Amazon Threat Intelligence says a China-linked actor used autonomous AI agents built on the open-source Cairn framework to find and exploit a previously unknown flaw in MONAI Label, an open-source medical-imaging application. In the company's account, the agents moved from mapping the application's API to arbitrary file writes on the server in about 11 minutes. It is one of the clearest public examples so far of agentic tooling being used in a real intrusion rather than a lab demonstration.

What Happened

Amazon first spotted the activity on September 10, 2026, when it found a publicly reachable Cairn server running without authentication. That exposure gave investigators a view into how the operators configured their agents. Amazon's disclosure, published November 20 on the AWS Security Blog, describes a campaign that ran for roughly 48 hours in early September.

Cairn is an open-source framework for autonomous penetration testing. It is built for defensive security work, but the same architecture can be pointed at targets by attackers. According to reporting on the investigation, the operators issued one high-level directive, reportedly "obtain shell access." The system then broke that goal into subtasks handled by a hierarchy of agents responsible for reconnaissance, probing and exploit generation.

The Flaw and the Timeline

The vulnerable component was an upload function in MONAI Label that accepted a filename parameter without properly sanitizing it. That made the bug a path traversal flaw, meaning an attacker could write files outside the directory the application was meant to use. The agents mapped the API, found the upload endpoint and reached arbitrary file writes in about 11 minutes.

In a later session, the agents used that write access to plant a reverse shell in a file called sitecustomize.py. They then triggered a training endpoint, which connected back with root privileges. Not every target fell. One account says attempts against a database node and a GPU cluster did not succeed, although the timelines reported for those attempts differ across coverage.

Amazon assessed the flaw as a true zero-day with high confidence. At discovery it had no assigned advisory and was unpatched. The project's maintainers have since published GitHub Security Advisory GHSA-qc22-rmgc-vg94 and merged a change that sanitizes datastore upload paths. Reporting indicates versions through 0.8.5 are affected, so administrators should move to a newer release or apply the fix directly.

Attribution

Amazon assesses with moderate confidence that the actor is Chinese-nexus. The evidence it cites includes Simplified Chinese operator prompts, timestamps matching China Standard Time, and a focus on universities that are likely of strategic interest to China. Attribution based on language and time-zone signals is inherently provisional, and the company presents it that way.

Why It Matters

The most important number in this case is not the flaw itself. It is the time between discovery and compromise. Eleven minutes leaves defenders very little room to react once an exposed service is found. Patch cycles that take weeks, and internal tools that were never meant to be reachable from the internet, become far more dangerous when an autonomous agent can probe for weaknesses continuously.

The target matters too. MONAI Label sits inside medical-imaging research workflows, where servers often run as lab infrastructure and receive less scrutiny than production systems. Research computing environments, annotation tools and GPU clusters are attractive to attackers because they hold valuable data and compute. A single exposed research server can become a foothold into a wider university network.

Agentic AI is usually discussed as a productivity story, with agents booking travel, writing code or running research tasks. The same planning loop that lets an agent work through a research workflow can also plan an intrusion. That makes agent governance a security problem as well as a product problem.

For security teams, the practical steps are straightforward:

  • Inventory every AI and machine-learning tool that is reachable from a network, including research servers.
  • Require authentication on internal APIs, even for tools that seem low-risk.
  • Upgrade past affected releases and apply vendor fixes quickly.
  • Watch for unexpected file writes, including new files in Python startup paths such as sitecustomize.py.
  • Treat agent frameworks as dual-use software and restrict who can run them.

Defenders should also assume that attackers will use agents to automate reconnaissance and exploitation. Monitoring and patching cadence that worked for human-speed attacks may not keep pace with machine-speed ones.

Sources