Skip to the content
AI and Cybersecurity Learning and Practice Center Test automation Open the Learning Center

IncidentAI-enabled attacks

Amazon: an attacker's Cairn AI agents found a zero-day in MONAI Label, a medical imaging AI tool, and took root on a university server

CriticalAmazon Threat IntelligenceProject MONAICairn

Amazon's CISO CJ Moses wrote on November 20, 2026 that Amazon Threat Intelligence found an exposed, unauthenticated server running Cairn, an open-source AI penetration testing framework, on September 10. Its operator had given the agents a list of targets, IP addresses tied to universities in East Asia, and the goal "obtain shell access", in a campaign of about 48 hours from September 8. Against one server running MONAI Label, an open-source tool for AI-assisted annotation of medical images, the agents mapped the API, found a file upload endpoint and, in about 11 minutes, went from mapping it to writing arbitrary files through a path traversal in the filename. In a later session they wrote a reverse shell into Python's sitecustomize.py and called a training endpoint that started a new Python process, which gave them a root shell. Amazon says the agents planned, executed and adjusted their approach without the operator choosing each step, and assesses with high confidence that the flaw was a zero-day. The operator then supplied a proxy into a second university, whose server ran the same software, and Amazon infers it was compromised the same way. Other attempts, against a Redis instance and a GPU server, failed. SecurityWeek reports the project's advisory covers MONAI Label 0.8.5 and earlier, that authentication is off by default, and that the fix will be in the next release; Amazon says the maintainers released a fix and an advisory.

Replay the attack step by step in the Learning Center

How it happened

  1. The operator gave Cairn agents a target list and a one-line goal, and the agents chose and adjusted their own steps.
  2. They found a path traversal in MONAI Label's upload filename and wrote files on a server with no authentication.
  3. A reverse shell planted in sitecustomize.py ran as root when the agents triggered a training job that started Python.

Impact

Root access to at least one university server running MONAI Label and, by Amazon's inference, a second that the actor used as a tunnel.

The fix

Amazon notified the maintainers, who published GitHub advisory GHSA-qc22-rmgc-vg94, and worked with a government partner to notify the affected organizations, which were not AWS customers. It advises prioritizing high-confidence detections that trigger an automated response, with people overseeing outcomes rather than every action, and lists two IP addresses as indicators: 142.4.98[.]145 and 142.4.107[.]34.

Lessons

  • An AI tool that ships with authentication off is a target the moment it is reachable from the internet.
  • Agents can find and use an unknown bug in minutes, so the time to exposure is not the time to a CVE.
  • Attackers leave their own AI tooling exposed too; their prompts and logs are what let Amazon tell this story.

Sources