Amazon Finds Cairn AI Agents Took 11 Minutes to Turn a MONAI Label Upload Bug Into a Zero-Day

Amazon Threat Intelligence said on November 20, 2026 that a suspected Chinese-nexus operator pointed the open-source Cairn penetration-testing framework at East Asian universities with the goal "obtain shell access", and its agents found and exploited an unknown path traversal flaw in MONAI Label, now CVE-2026-133968. MONAI Label 0.8.6, released November 22, fixes it.

A line of small clockwork robots files down a dim corridor of server racks, the lead robot slipping a glowing key toward a plain wooden door with light spilling from beneath it.
A line of small clockwork robots files down a dim corridor of server racks, the lead robot slipping a glowing key toward a plain wooden door with light spilling from beneath it.

Autonomous AI agents run by a suspected China-linked operator found and exploited a previously unknown flaw in open-source medical imaging software, according to Amazon Threat Intelligence. In a post dated November 20, 2026, CJ Moses, the CISO of Amazon Integrated Security, said the operator gave the agents a one-line goal, “obtain shell access”, and the agents went from mapping the application’s API to writing arbitrary files on the server in about 11 minutes.

The affected software is MONAI Label, an open-source server for labeling medical images. The flaw is now tracked as CVE-2026-133968 with a CVSS 3.1 score of 9.8 (critical). The project shipped the fix in MONAI Label 0.8.6 on November 22 and says every deployment should upgrade.

An unlocked control panel exposed the campaign

Amazon says it found the operation on September 10, 2026, when it came across a publicly reachable server running Cairn, an open-source autonomous AI penetration-testing framework, with no authentication. Anyone on the internet could see the project configurations, the operator’s prompts and the agents’ output.

The records showed a campaign against universities in East Asia outside mainland China, running for roughly 48 hours from September 8, 2026.

Amazon describes Cairn as a tool “built as a research and problem-solving engine for defenders.” Given a plain-language objective, it coordinates several AI agents to reach it. The operator supplied target IP addresses and variations of the shell-access instruction. After that, Amazon says, the agents “planned, executed, and adjusted their approach as they learned, without the operator choosing each next step.”

Sixteen hours of failure, then eleven minutes of success

Most of the campaign did not work. The longest operation targeted a university Redis instance that accepted connections without a password. Over about 16 hours and 148 sequential actions, the agents worked through known takeover techniques and tried Log4Shell against another service. They then mapped the internal Docker network through a server-side request forgery bug in a co-located Qdrant instance and sprayed credentials at PostgreSQL and SSH. Nothing got in.

A second operation ran for more than six hours against a university GPU server. The agents built about 80 real usernames from faculty directories, lab sites and papers, then tested more than 30,000 credential combinations across SSH, a VPN server, the campus portal and other systems. None worked.

The medical imaging target went differently. The agents mapped the application’s endpoints, found an upload endpoint with a filename parameter and tested it for path traversal. It was vulnerable. In a later session they used the same bug to write a Python reverse shell into sitecustomize.py, a file Python imports automatically at startup. They then called a training endpoint that spawned a new Python process, which loaded the payload and connected back as root.

Amazon assesses “with high confidence” that this was a zero-day, since no fix, issue, advisory or database entry existed. The operator later gave the agents a proxy into a second university network whose server ran the same software, which Amazon infers was compromised with the same bug.

Inside the datastore path traversal

The MONAI Label advisory, GHSA-qc22-rmgc-vg94, was published on November 18 and rated critical. It explains that the PUT /datastore/image endpoint takes a caller-controlled image parameter and uses it as the image ID without validation. Because the resulting path is never checked, a value such as ../../../tmp/x writes the upload anywhere the MONAI Label process can write. PUT /datastore/label has the same problem.

Authentication is off by default (MONAI_LABEL_AUTH_ENABLE=False), so any client that can reach the server can exploit it. With authentication on, the ANNOTATOR role is enough. The advisory lists versions 0.8.5 and earlier as affected. The fix, merged on October 19, 2026, rejects any destination outside the datastore directories and shipped in 0.8.6 on November 22. The 0.8.6 notes also fix a second path traversal in session uploads, where PUT /session/?uncompress=true unpacked tar archives without checking member names.

The maintainers also advise enabling authentication, keeping the server off untrusted networks, running it as an unprivileged user, and checking any exposed 0.8.5 or older server for unexpected file changes. Amazon published two indicator addresses seen between September 8 and 10: 142[.]4.98.145 and 142[.]4.107.34.

Amazon attributes the activity to a Chinese-nexus actor with moderate confidence, citing Simplified Chinese prompts, China Standard Time script timestamps and targets “likely of strategic interest to China.” AWS says it notified the affected universities, which were not its customers, through a government partner.

Amazon’s main lesson is speed: such an agent “completes its activity faster than many security operations centers can manually triage an alert.” It advises prioritizing high-confidence detections that trigger automated response, with humans “overseeing outcomes rather than reviewing every individual action.”

Topics
  • #Amazon Threat Intelligence
  • #Cairn
  • #MONAI Label
  • #Zero-Day
  • #AI Agents
Raj M

Author

Raj M

Contributor

AI Systems Architect is a seasoned technology leader with over 15 years of experience in the IT industry working with Fortune 500 companies. With a solid foundation in multi-agent systems, open-source LLM infrastructure, and enterprise deployment, he excels at building scalable production-grade AI platforms.