IA4 MIN

AI agents found an unknown flaw in medical software on their own and exploited it in 11 minutes

Amazon says a China-linked operator pointed the open-source Cairn framework at East Asian universities and let its agents do the rest. The MONAI Label bug they found now has a fixed release.

A radiologist, seen from behind in silhouette, reviews skull and chest CT slices on three monitors
Image: U.S. Air Force, Senior Airman Julianne Showalter · Dominio público

An attacker handed almost an entire intrusion to AI agents, and the agents found a previously unknown security hole on their own. That's the account Amazon chief information security officer CJ Moses gives in a report published November 20. The operator fed Cairn, an open-source program that coordinates several AI agents (programs that plan and carry out each step without waiting for a person), a list of East Asian university IP addresses and one goal: "obtain shell access." In plain terms, that means being able to type commands on a server as if sitting in front of it. About 11 minutes after the agents began mapping MONAI Label, an app used to label medical images, they could write files to the machine.

Amazon spotted it on September 10 only because the attacker had left the Cairn server open to the internet with no login, prompts and AI responses in plain view. It attributes the roughly 48-hour campaign, with moderate confidence, to a China-nexus actor, citing prompts in Simplified Chinese, scripts set to China Standard Time and targets, universities outside mainland China, likely of strategic interest to Beijing. It hasn't said how many organizations were hit.

01

What MONAI Label is and what was wrong with it

MONAI is an open-source project launched by King's College London and NVIDIA to bring AI to medical imaging. MONAI Label helps researchers build the labeled image sets those models learn from. A researcher outlines an organ or a lesion on a CT or MRI scan, and the software learns to suggest the next outlines. It runs as a server that viewers such as 3D Slicer and OHIF connect to.

A zero-day is a flaw the software's own maintainers don't know about, which leaves them zero days to fix it before it's used. Amazon says it has high confidence this one qualified, and it alerted the project, which published a security advisory rated critical on November 18.

The advisory describes it only in broad terms: when an image was uploaded, the server trusted an ID that could place the file outside its storage folder, anywhere the server process could write. That kind of access can lead to running an attacker's code. In a later session, the agents got full administrator control of the server. Amazon doesn't say whether any patient data was on it.

Four views of a brain MRI in 3D Slicer with a meningioma outlined in green, the kind of labeling MONAI Label assists with
Image: Rkikinis · CC BY-SA 3.0
02

What the AI did, and what the human did

Cairn is published on GitHub as a penetration-testing tool, the kind of software companies use to attack their own systems before someone else does, and its documentation says to use it only with authorization. It can plug into Claude Code, Codex or Pi to do its reasoning, and Amazon hasn't said which one this attacker used.

Autonomous didn't mean unstoppable. Against one university's Redis database, the agents ran 148 actions over about 16 hours and never got in. Against a GPU server, they tried more than 30,000 username and password combinations over six-plus hours, also without success. The human stepped back in after the MONAI break-in, giving the agents a foothold in a second university's network, which Amazon believes was compromised through the same flaw, and pointing them at more machines.

Speed is what worries Amazon. An agent that finds and exploits a flaw in minutes, the report says, is done before many security teams can manually triage the alert, so Amazon wants high-confidence detections to trigger automatic responses.

This isn't Cairn's first misuse either. Palo Alto Networks' Unit 42 tied a modified version to 25 operations by another China-linked operator. Unlike the OpenAI agents California says escaped their tests, nobody lost control here. Someone set Cairn loose on purpose, turning around the logic of defensive tools such as Codex Security, which hunt for bugs so they can be fixed.

03

What MONAI Label users should do

Update to version 0.8.6 first. It's now on PyPI, the main index for Python packages, after the advisory said the fix would ship in the next release. The flaw affects 0.8.5 and earlier, and the 0.8.6 code now rejects IDs that try to escape the data folder.

If you can't update right away, the advisory lists three stopgaps. Turn on authentication, which is off by default and lets in anyone who can reach the server over the network. Keep the server off untrusted networks. Run it as an unprivileged user that can write only to its data folder. It's also worth checking logs for files nobody created and for the two IP addresses Amazon lists in its report, which were active from September 8 to 10.

A radiologist in a white coat dictates a report while viewing MRI images on several workstation monitors
Image: Zackstarr · CC BY-SA 3.0
00

The conversation starts here

Sign in with a supporter account to comment. Sign in

Nobody has commented yet. Want to go first?

YOUR NEXT ROUTE

Keep following AI models and agents

If this story interests you, these three pieces are the best place to carry on.

OPEN THE FULL TOPIC
  1. 01Alibaba built an AI that 'imagines' what a computer will do next, and uses it to train better agentsIA · 13 MIN
  2. 02Moonshot's Kimi K3 rattled Silicon Valley, but its open-weight promise is still due July 27IA · 12 MIN
  3. 03GPT-5.6 is here, and it wants to do the whole job, not just answer questionsIA · 10 MIN

KEEP READING

You may also like

FRONT PAGE