AI agents autonomously discovered and exploited a zero-day vulnerability to compromise a university server

Amazon’s CISO has detailed a suspected Chinese espionage campaign in which AI agents, with minimal human oversight, found a previously unknown flaw in a medical imaging application and used it to gain root access.

AI-generated illustration depicting incident for the story: AI agents autonomously discovered and exploited a zero-day vulnerability to compromise a university server

Summary

  • Suspected China-linked operators deployed Cairn, an open-source AI penetration-testing framework, in a 48-hour autonomous attack campaign targeting universities in East Asia.
  • AI agents independently discovered a zero-day path traversal vulnerability in MONAI Label, an open-source medical imaging application, and achieved root-level server access in approximately 11 minutes.
  • Before succeeding, the agents spent roughly 16 hours attempting at least 148 sequential actions against a Redis server, then tried Log4Shell injection, SSRF, and credential sprays before pivoting to MONAI Label.
  • A separate but related campaign documented by Gambit Security linked the same framework to at least 105 attacks, compromising 27 organisations including a Fortune 500 hospitality company and a major US airline.
  • MONAI Label maintainers have released a patch and security advisory following Amazon's disclosure.

What happened

Amazon CISO CJ Moses has detailed a campaign, attributed with moderate confidence to Chinese state-linked actors, in which AI agents using the Cairn open-source penetration-testing framework autonomously conducted multi-stage intrusions against universities in East Asia outside Mainland China. The campaign ran across 48 hours beginning 8 September. Amazon's Threat Intelligence Team identified it on 10 September after finding a publicly hosted Cairn server that exposed visibility into the operation. The prompts driving the agents were written in Simplified Chinese, and timestamps in executed scripts were configured to China Standard Time.

Persistent, adaptive, and largely unsupervised

What distinguishes this campaign is not any single technique but the agents' demonstrated capacity to adapt without human direction over extended periods. Before finding a path to success, the agents spent approximately 16 hours and 148 sequential steps attempting to compromise a university Redis server. They tried abusing Redis's replication feature to load unauthorised code, escaping its scripting sandbox, writing to configuration files, and corrupting memory. All of those attempts failed. The agents then pivoted to a Log4Shell injection against a different service, a server-side request forgery attack against a co-located Qdrant instance, and credential sprays across PostgreSQL, SSH, and other services. A separate parallel operation targeted a GPU server at another university, compiling a list of 80 real usernames gathered from public websites, academic papers, and other open sources. Neither of these secondary operations succeeded.

Zero-day found and exploited in eleven minutes

The agents ultimately identified a zero-day path traversal vulnerability in MONAI Label, an open-source medical imaging AI application. Moses described the sequence precisely: the agents identified the application's framework, mapped its API endpoints, and located an upload endpoint with a filename parameter. They tested that parameter for path traversal, confirmed it was vulnerable, and went from API mapping to arbitrarily writing files on the server in approximately 11 minutes. In a subsequent session, the agents abused the same flaw to execute a Python reverse shell running as root. A human operator then provided the agents with a proxy tunnelling into a second university network running the same vulnerable software, extending the compromise further. Amazon notified MONAI Label maintainers, who have released a fix and a security advisory.

Broader criminal adoption of the same framework

Amazon's findings are not isolated. Gambit Security's threat intelligence team separately documented a Chinese operator using Cairn to conduct at least 105 attacks, compromising 27 organisations to varying degrees, also in September. That campaign extended beyond espionage targets. The attacker used Cairn alongside two other open-source AI harnesses to steal credit card records and sensitive data from a Fortune 500 hospitality company, a major US airline, a large private US industrial supplies distributor, and a US online fashion retailer. Moses's conclusion is direct: autonomous AI agent frameworks are now being adopted across both espionage and criminal operations.

Why it matters

This case materially raises the threat baseline for CISOs. The attacker's AI agents did not rely on a known, patchable vulnerability to begin with — they found a zero-day themselves, without a human researcher in the loop. The 11-minute window between reconnaissance and file-write underscores how little time defenders will have once an AI agent locates a viable entry point. Equally concerning is the persistence demonstrated across failed attempts: 16 hours and 148 actions against a single service before moving on. Traditional detection models built around human attacker cadence may not catch this pattern. The use of openly available, open-source frameworks also means the barrier to replicating this capability is low. Any organisation running internet-exposed open-source applications — particularly those in research, healthcare, education, or logistics — should treat this as a direct signal to audit their external attack surface.

What to do now

  • Audit internet-facing instances of MONAI Label and apply the patch and security advisory released by the project's maintainers.
  • Review exposure of open-source AI and research applications — particularly those with file upload or API endpoint functionality — for path traversal vulnerabilities.
  • Check whether Cairn or similar open-source AI penetration-testing frameworks are present on systems or reachable infrastructure, as a hosted instance provided attacker visibility in this case.
  • Review detection logic for high-volume sequential probing activity against services such as Redis, PostgreSQL, and SSH, which may indicate autonomous agent-driven reconnaissance.
  • Audit public-facing websites, academic publications, and documentation for exposed usernames or other enumerable user data that could feed AI-driven credential spray campaigns.
  • Engage threat intelligence feeds for indicators associated with Cairn-based campaigns, given documented use across both espionage and financially motivated intrusions.

Sources