AI Agents Found a Zero-Day in Medical Imaging Server, Got Root

AWS says AI agents found a zero-day in medical imaging software and got root on a university server. The MONAI Label advisory lists no patched release.

Amazon Threat Intelligence says autonomous AI agents, run by a suspected Chinese-nexus operator, found a previously unknown flaw in an open-source medical imaging server and later used it to get a root shell on a university machine. The flaw is in MONAI Label, and its own advisory still lists no patched release, so exposed servers need protecting now.

What happened

Amazon published its findings on November 20. It says it found a Cairn server, an open-source AI penetration-testing framework, exposed to the internet without authentication on September 10. The operator’s prompts, settings and agent output were visible. They showed a roughly 48-hour campaign beginning September 8 against IP addresses tied to universities in East Asia outside mainland China. The operator supplied targets and a one-line goal, “obtain shell access”, and the agents chose their own steps.

Against one server running a medical imaging AI application, the agents mapped its API and found an upload endpoint whose filename parameter allowed path traversal. Amazon says they went from mapping the API to writing arbitrary files in about 11 minutes. In a later session they wrote a Python reverse-shell payload to sitecustomize.py, which Python loads at startup, then triggered a training endpoint to start a new process. That produced a reverse shell running as root. The root shell came in a later session, not within the 11 minutes.

Not every attempt worked. Agents spent about 16 hours and 148 actions on an unauthenticated Redis instance without taking control. Another operation tried more than 30,000 credential combinations over more than six hours and found no working login. In a separate session, the operator gave the agents a proxy into a second university network. Amazon infers it was created with the same flaw, but did not report observing that compromise directly.

Who is affected

Amazon did not name the application or the universities in its post. The project’s GitHub advisory (GHSA-qc22-rmgc-vg94, published November 18) describes a critical path-traversal flaw in MONAI Label upload endpoints, in the monailabel pip package, versions 0.8.5 and earlier. Authentication is off by default, so in a default setup any client that can reach the server can exploit it. With authentication on, the ANNOTATOR role is enough. The advisory lists no CVE ID. Linking the advisory to the incident is our inference from the matching flaw description and Amazon’s reference to a project advisory.

Amazon assesses with moderate confidence that the actor is Chinese-nexus, citing Simplified Chinese prompts, China Standard Time timestamps and the choice of targets. It assesses with high confidence the bug was a zero-day, since it found no earlier fix, advisory or database entry.

What to do

The advisory’s workarounds come first, followed by our analysis.

  • Per the advisory: enable authentication (MONAI_LABEL_AUTH_ENABLE=True), do not give the ANNOTATOR role to untrusted users, and keep the server off untrusted networks.
  • Per the advisory: run the server as an unprivileged user that can write only to the datastore directory.
  • Our analysis: the project says the fix will ship in its next release, and the releases page still showed 0.8.5 as latest when we checked. Watch for a newer version and upgrade when it appears.
  • Our analysis: look for unexpected files outside the datastore, especially a sitecustomize.py you did not create, and for unusual training jobs or upload requests with ../ in the image ID.
  • Our analysis: use the Amazon-listed addresses 142[.]4.98.145 and 142[.]4.107.34 for log checks, noting they date from September 8 to 10.
  • Amazon advises automated responses for high-confidence detections, since agents can move faster than manual triage.

What we still do not know

Amazon says the maintainers released a fix, but the advisory lists no patched version and says the fix will be in the next release. We could not confirm a shipped release. The affected universities are unnamed, and whether data was taken has not been stated. Amazon does not claim imaging theft. Attribution rests on moderate confidence and circumstantial evidence. We also could not see which AI models the agents used.

Sources: AWS Security Blog, Amazon Threat Intelligence (Nov. 20, 2026); MONAI Label GitHub advisory GHSA-qc22-rmgc-vg94 (Nov. 18, 2026); MONAI Label releases page (checked Nov. 23, 2026).

Leave a Reply

Your email address will not be published. Required fields are marked *