High severity

Amazon says AI tool Cairn found a zero-day in MONAI Label during attacks on Asian universities

Amazon Threat Intelligence says AI agents given only an IP address and a goal found a path traversal flaw, took root on a server and were pointed at a second university.

By Mr Elite Published 8 min read

Severity
High
Status
Reported by outlets
Sources
2
Last checked

The short version

  • Amazon says suspected Chinese-linked attackers used the open-source Cairn framework against universities in East Asia between September 8 and 10, 2026.
  • Cairn's AI agents allegedly found an unpatched path traversal flaw in MONAI Label and used it to gain root access.
  • BleepingComputer reported that MONAI Label maintainers released a fix on November 18.
  • Amazon attributes the campaign to a Chinese-nexus actor with moderate confidence, and says it is highly confident the flaw was a zero-day.
  • Amazon found the operation because the attackers left their Cairn server publicly accessible.

What happened

Amazon Threat Intelligence said on 20 November 2026 that suspected Chinese-linked hackers used an autonomous AI tool called Cairn to find a previously unknown flaw and breach universities in East Asia, according to reports by The Record and BleepingComputer.

CJ Moses, CISO of Amazon Integrated Security, said the investigation began on September 10, when Amazon found a publicly accessible server hosting an instance of Cairn. It exposed the platform's history, including earlier prompts. The operator wrote in Simplified Chinese and the timestamps used China Standard Time. BleepingComputer reported that the instance had no authentication.

Cairn is an open-source framework that coordinates several AI agents (programs that plan and act on their own) to complete a task set in plain language. BleepingComputer described it as a legitimate penetration-testing tool built for research and defence. In this case, Moses said, the operator supplied IP addresses and asked Cairn to obtain shell access, meaning enough control of a machine to run commands on it.

The agents did not always win. The Record reported one attempt of 148 actions over 16 hours that failed, including an attempt at the Log4Shell flaw. BleepingComputer said that effort targeted a Redis server, a type of database. Both outlets reported a separate failure: more than 30,000 credential combinations tried over about six hours. The Record says these were tied to 80 real usernames. BleepingComputer says the target was a university GPU server.

Success came through MONAI Label, an open-source medical imaging application that uses AI to help researchers label images. BleepingComputer reported that the agents went from mapping the application's API to exploiting a flaw in 11 minutes. The operator then gave the agents a proxy into a second university network running the same software. Amazon told the maintainers, who released a fix on November 18, per BleepingComputer.

AWS said it worked with a government partner to notify the affected organisations, according to The Record. AWS declined to name the universities or the country. Amazon also shared two IP addresses linked to the campaign, observed between September 8 and 10, BleepingComputer reported.

Why it happened

Amazon says the entry point was a path traversal vulnerability in MONAI Label. BleepingComputer reported that it let the agents write files to arbitrary locations on the server. Moses said that when it was found, the bug matched no security advisory and had no patch. Amazon assesses with high confidence that it was a zero-day, based on the absence of any fix, issue, advisory or earlier mention in vulnerability databases.

BleepingComputer described the next step. In a later session, the agents wrote a Python reverse shell into a file called sitecustomize.py, which Python loads automatically at start-up. They then triggered an API endpoint, which ran the code and gave root access. A reverse shell makes the victim machine connect out to the attacker.

Neither The Record nor BleepingComputer gives a CVE number, the affected version range or the technical detail of the vulnerable code. On dates, The Record says Amazon's investigation began on September 10, while BleepingComputer, citing Amazon's researchers, dates the attacks to September 8 to 10.

How this kind of failure works

Path traversal happens when an application builds a file path from user input without checking it. Imagine a web form that saves uploads to a folder called uploads, using whatever filename the user supplies. If someone submits a name containing instructions to step up out of that folder, the file lands somewhere else on the disk.

When the flaw covers writing files, the damage can be severe. The attacker does not need to run code directly. They only need to place a file where something else will later run it. Python start-up files, scheduled task folders and web server directories are common targets because the system loads them automatically.

Root access follows when the vulnerable service runs as the all-powerful root user. Any file the service can write, the attacker can write, including files that are read with the highest privileges. A service running as a limited account would restrict where such a flaw could write.

What Amazon says is new here is who found the bug. The agents allegedly probed the application, found the weakness and chained it to code execution without the operator choosing each step. Gambit Security's Eyal Sela told Recorded Future News that Cairn is general-purpose and has "no internal structuring for cybersecurity", which makes it less predictable.

Who is affected

The directly affected parties are the two universities Amazon says were breached. Neither has been named, and AWS has not said what data, if any, was taken. Anyone running MONAI Label is exposed to the flaw until they apply the November 18 update. Amazon's report, as covered, does not say which versions are vulnerable.

To check, list every server in your organisation that runs MONAI Label, including research and lab machines that IT may not manage. Compare the installed version against the maintainers' release notes. Look for unexpected changes to sitecustomize.py and for connections from the two IP addresses Amazon published.

The wider exposure concerns speed. Moses said an agent that finds and exploits a zero-day in minutes completes its activity faster than many security operations centres can triage an alert. Google reported Cairn in intrusions at US aerospace companies, and Gambit documented its use against online retailers, so the tool is not limited to one actor or sector.

How to defend against it

Tick each step as you check it. Your progress is saved on this device.

What to learn from this

The concept: Path traversal leading to code execution

Path traversal is a failure to validate input. The program trusts a filename or path from outside and uses it to decide where to read or write on disk. Checking the final resolved path against an allowed folder is the standard fix.

The MONAI Label case shows why a file-write flaw is not a minor bug. If an attacker can write to a location that the system loads automatically, writing becomes running code. The same chain appears with web shells in public web folders, cron jobs and plugin directories.

Automation changes the timing, not the mechanics. Once an agent can probe an API and recognise this kind of weakness, a flaw can be found and used in minutes, so the gap between a bug existing and being exploited shrinks.

Treat any bug that lets outsiders write files as a likely route to code execution, and fix it as if it were one.

Quick check

Sign in to earn 10 XP for a right answer

Why did a file-write flaw in MONAI Label lead to full control of the server?

Timeline

  1. September 8-10, 2026 Amazon says the campaign against East Asian universities took place, according to BleepingComputer.
  2. September 10, 2026 Amazon discovers the publicly accessible Cairn server and begins its investigation, per The Record.
  3. September 2026 Gambit Security publishes a study of Cairn used by a financially motivated group against online retailers.
  4. Tuesday, November 17, 2026 Google publishes a report on autonomous offensive frameworks and says it saw Cairn in US aerospace intrusions.
  5. November 18, 2026 MONAI Label maintainers release a security update, BleepingComputer reported.
  6. November 20, 2026 Amazon Threat Intelligence publishes its report and the story is covered by The Record and BleepingComputer.

What is not known yet

  • The CVE number, if any, and the affected and fixed MONAI Label versions have not been given in the coverage.
  • The names and country of the two universities are undisclosed; AWS declined to name them.
  • It is not stated what data, if any, the attackers accessed after gaining root.
  • The attribution to a Chinese-nexus actor rests on prompt language, timestamps and target choice, and Amazon rates it moderate confidence.
  • The Record does not say which systems the failed 148-action and 30,000-credential attempts targeted. BleepingComputer names a Redis server and a university GPU server.

Questions people ask

What is Cairn?

Cairn is an open-source framework that coordinates multiple AI agents to carry out tasks set in plain language. BleepingComputer described it as a legitimate penetration-testing tool built for research and defence. Amazon, Google and Gambit Security say attackers have also used it.

What is the MONAI Label vulnerability?

It is a path traversal flaw in MONAI Label, an open-source medical imaging application. BleepingComputer reported that it allowed files to be written to arbitrary locations on the server. The maintainers released a fix on November 18.

Who does Amazon blame for the attacks?

Amazon attributes the campaign with moderate confidence to a Chinese-nexus threat actor. It bases this on the language of the prompts, the timestamps and the targets. This is an assessment rather than a legal finding, and the actor has not been named.

How did Amazon find out about the operation?

The attackers left their Cairn server publicly reachable. BleepingComputer reported there was no authentication. Amazon says it could see the platform's history, including past prompts, which exposed how the operation worked.

Sources

  • The Record: Amazon says Chinese hackers used Cairn AI tool to discover apparent zero-day during attack on university
  • BleepingComputer: Hackers use autonomous AI tool Cairn to find zero-day, take over server

Know someone who should see this?

Keep reading