Amazon: China-linked hackers’ AI agents found and used MONAI Label zero-day
Amazon's threat team says autonomous AI agents discovered and exploited an unknown path traversal flaw in a medical imaging tool, then helped the operator move to a second university.
By Mr Elite Published 7 min read
- Severity
- High
- Status
- Reported by outlets
- Sources
- 2
- Last checked
The short version
- Amazon Threat Intelligence says AI agents run by a China-linked actor found and exploited a zero-day in MONAI Label.
- Amazon spotted the activity in September through an exposed, unauthenticated instance of the open source Cairn pen-testing framework.
- The agents went from mapping the API to writing files on the server in about 11 minutes, Amazon said, and later gained a root shell.
- The MONAI Label advisory rates the bug critical, affects versions 0.8.5 and earlier, and a fix will arrive in the next release.
- Amazon attributes the activity to an unnamed Chinese-nexus actor with moderate confidence.
What happened
Amazon said this week that autonomous AI agents operated by a China-linked threat actor found and exploited a previously unknown vulnerability in MONAI Label, an open source tool for AI-assisted annotation of medical images. SecurityWeek and The Hacker News both reported the findings on 21 November 2026.
Amazon's threat intelligence team detected the activity in September. It came across an exposed instance of Cairn, an open source framework for AI-driven penetration testing. The instance had no authentication, so anyone who found it could read the operator's prompts and the agents' output, according to SecurityWeek.
Those records showed a campaign of roughly 48 hours against IP addresses belonging to universities in East Asia outside mainland China. The operator gave the agents a list of targets and told them to obtain shell access, meaning a command prompt on the remote machine.
On one target the agents identified the software, mapped its API and found a path traversal bug in a file upload function. Amazon said the agents went from mapping the API to writing arbitrary files on the server in about 11 minutes. In a later session they used the flaw to plant a Python reverse shell, and ultimately reached a root shell, the highest level of access on the machine.
The operator then handed the agents a proxy that tunnelled into a second university and told them to target other devices on its network. Amazon said the server behind that proxy ran the same vulnerable software, and that it infers the actor used the zero-day to compromise it and set up the tunnel.
MONAI Label's developers published an advisory this week, SecurityWeek reported. It rates the flaw critical and says a fix has been created and will be included in the next release. SecurityWeek did not report a release date.
Why it happened
The flaw is a path traversal bug in a file upload function, per Amazon and SecurityWeek. The Hacker News describes the effect as letting an attacker with no account write files outside the server's storage folder, in the default setup of version 0.8.5 and earlier.
Authentication is off by default, the advisory says. That means anyone who can reach the server over the network can exploit the bug, with no login step in the way.
Amazon says it assesses with high confidence that this was a zero-day. Its reasoning was that it found no corresponding fix, issue, advisory or earlier mention in vulnerability databases for the project. No CVE identifier has been reported so far.
How this kind of failure works
Path traversal happens when a program builds a file path from user input and does not check where the result lands. Imagine a post room where parcels must go into the pigeonholes along one wall. If a sender can write a label that says to go up one level and into the manager's office, and the clerk simply obeys, the rule about pigeonholes means nothing.
In software, the label is a filename and the instruction to go up a level is a sequence such as parent-directory markers. If the upload code joins that name onto a storage folder without resolving the final path and confirming it still sits inside the folder, an attacker can place a file anywhere the server process has permission to write.
Arbitrary file write often becomes code execution because some files are run automatically. Interpreters, schedulers and login scripts load certain files at startup. Amazon said the agents wrote a reverse shell, a small program that makes the victim machine connect out to the attacker, into a file Python runs each time it starts.
Missing authentication makes all of this easier. With no login, the attacker needs only network reach. Default-off authentication is common in research tools built for a trusted lab network, and it becomes a problem when those tools are exposed to the wider internet or to a university-wide network.
Who is affected
Anyone running MONAI Label 0.8.5 or earlier is within the advisory's scope, particularly where authentication has not been switched on. Universities and research groups that use the tool for medical image annotation are the obvious users, though SecurityWeek does not give an install count.
To check exposure, confirm your version and whether the server accepts requests without credentials. Also check whether it is reachable from outside the machine or from networks that do not need it. Amazon's account says the agents were aimed at IP addresses, so a reachable address was the starting point.
Amazon names universities in East Asia outside mainland China as the targets it saw. It has not said how many were compromised beyond the first server and the second university reached through the proxy. It is not stated whether any patient data or research data was accessed.
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: Input validation on file paths
Any value that a user controls and that ends up in a file path must be treated as untrusted. The safe pattern is to resolve the full path, then confirm it stays inside the intended directory before opening or writing anything. Checking for bad characters in the name is weaker, because there are many ways to write the same path.
The same mistake appears in archive extraction, image processing, download endpoints and template loaders. Wherever a program turns a name from outside into a location on disk, the same check applies.
Defence in depth covers the cases where validation fails. Authentication, network limits and low-privilege service accounts each reduce what a single missed check can cost.
Never trust a filename from outside, and assume one check will eventually fail, so limit access and privileges as well.
Quick check
Sign in to earn 10 XP for a right answer
A server accepts uploaded files and stores them under a set folder. Which control best stops a path traversal write outside that folder?
Path traversal works by escaping the intended directory, so the code must check where the finished path actually lands. The other options do not control the destination.
Timeline
- September 2026 Amazon Threat Intelligence detects the activity after finding an exposed, unauthenticated Cairn instance.
- During the roughly 48-hour campaign Agents map the MONAI Label API and, in about 11 minutes, reach arbitrary file writes on a university server.
- A later session Agents plant a Python reverse shell and gain a root shell, per Amazon.
- Afterwards The operator supplies a proxy into a second university, which Amazon infers was reached using the same flaw.
- Week of 21 November 2026 MONAI Label developers publish an advisory rating the bug critical; Amazon's findings are reported.
What is not known yet
- Whether a CVE identifier has been assigned to the flaw.
- The release date of the fixed MONAI Label version.
- How many universities or servers were compromised beyond the two described.
- Whether any data was stolen or altered.
- The identity of the threat actor, which Amazon attributes only with moderate confidence.
Questions people ask
What is MONAI Label?
MONAI Label is an open source tool for AI-assisted annotation of medical images, according to SecurityWeek. Researchers use it to label scans so that AI models can be trained or checked. It runs as a server that other software and users connect to.
How did the attackers use AI agents?
Amazon says the operator gave autonomous agents a list of targets and told them to obtain shell access. The agents identified the software, mapped its API, found the upload flaw and wrote files to the server. Later they planted a reverse shell and reached root.
Which versions of MONAI Label are vulnerable?
The project's advisory says versions 0.8.5 and earlier are affected, according to SecurityWeek. Authentication is off by default, so anyone who can reach the server over the network can exploit it. A fix is made and will be in the next release.
Who is behind the attack?
Amazon attributes it to an unidentified Chinese-nexus actor with moderate confidence. It cites the language in the prompts, the time zone in the scripts, and the likely strategic interest of the targeted universities. No group has been named, and this is an assessment rather than proof.
Sources
- SecurityWeek: Amazon: China-Linked Hackers’ AI Agents Exploited Medical Software Zero-Day
- The Hacker News: Attackers' AI Agents Found a Zero-Day in Medical-Imaging Software and Gained Root Access