Amazon Threat Intelligence reports that AI agents run by a China-linked actor found a zero-day in MONAI Label, a medical image annotation server, on their own, going from mapping the API to writing arbitrary files “in about 11 minutes.” There is still no installable patched version.
MONAI Label is an open-source server for annotating medical images with AI assistance (distinct from the broader MONAI framework, The Hacker News notes). The flaw sits in the parts that store uploaded images and labels: a file identifier sent by the client is appended to the storage folder and written to disk without checking that the result stays inside that folder. With authentication disabled by default, any client that can reach the server over the network can write files outside the folder, with the privileges of the server account. It affects version 0.8.5 and earlier in the default configuration.
The control panel of Cairn, an open-source framework that runs AI agents as automated pentesters, was exposed to the internet without authentication and displayed configurations, prompts and history. That is how Amazon's team spotted it in September. The operator supplied a list of targets and the goal of gaining shell access; the agents chose the methods. After identifying MONAI Label on a target and mapping its API, they found the path traversal in an upload function. Amazon: "in about 11 minutes, the agents went from mapping the application's API to writing arbitrary files on the server" (quote reproduced by SecurityWeek).
In a separate session they planted a Python startup file and, according to The Hacker News, triggered a training function that launched a new Python process; it loaded the file and connected back to the attacker as root. The result was root access on a university server, in a roughly 48-hour campaign in September against universities in East Asia outside mainland China. Amazon believes the same method was used against a second server, but The Hacker News notes it has not confirmed this.
Amazon attributes the activity with moderate confidence to an unidentified China-linked actor, based on Simplified Chinese prompts, China Standard Time zone in scripts and targets of possible strategic interest. No named group was identified and no government involvement was established. The campaign also had failed operations, and The Hacker News stresses that the account rests on Amazon's reconstruction, with no independent confirmation and no evidence of patient data theft.
Carlos Montiel is an enterprise AI solutions architect. He implements LLMs, Agents, RAG, and orchestrators for companies across Guatemala and Latin America. Reach out for a consultation.
Contact Carlos Montiel