Amazon Threat Intelligence says autonomous AI agents run by a Chinese-nexus threat actor found and exploited a previously unknown path traversal vulnerability in MONAI Label, an open-source framework for AI-assisted annotation of medical images, then used it to take full control of a server at a university in East Asia. The company published its account on 20 November, a day after the MONAI Label maintainers issued a critical advisory covering versions 0.8.5 and earlier. According to Amazon, the agents went from mapping the application’s API to writing arbitrary files on the server in about 11 minutes, with no human choosing each step.
Amazon’s account: a zero-day found by agents, not by researchers
In a post on the AWS Security Blog, Amazon Threat Intelligence said it identified the activity on 10 September 2026, when it found a server hosting a publicly reachable instance of Cairn, an open-source autonomous AI penetration-testing framework, running without authentication. Because the operator left the instance open, Amazon said the platform’s operational history was readable by anyone on the internet, including project configurations, actor prompts and AI output.
Amazon said the operator wrote prompts in Simplified Chinese and configured timestamps in executed scripts to China Standard Time. The instance showed a campaign against IP addresses associated with universities in East Asia outside mainland China over roughly 48 hours beginning 8 September 2026. The actor supplied a list of targets and a goal expressed in plain language, variations of “obtain shell access”; the agents then planned, executed and adjusted their approach as they learned, without the operator selecting each next step.
Amazon said it “assesses with high confidence” that the flaw was a zero-day, citing “the absence of any corresponding fix, issue, advisory, or prior mention in vulnerability databases for the affected open-source project.” The MONAI Label advisory on GitHub records that the issue was first reported privately against the MONAI repository as GHSA-cxx7-378q-5622 and is tracked in MONAI Label because the affected code lives there, and that it was re-reported to generate a CVE in the correct repository. The advisory page reviewed does not display a CVE identifier.
The operator’s own exposed server made the campaign visible
Amazon describes Cairn as a research and problem-solving engine built for defenders: given a starting point and an objective in plain language, it coordinates multiple AI agents to find a path to that goal. The company said the same ease of use makes it attractive to threat actors. In this campaign, the operator handed the agents a list of targeted IP addresses and the objective of obtaining shell access.
The detection therefore rested on the operator’s operational security rather than on the intrusion itself. The Cairn instance had no authentication, so its configurations, prompts and model output were exposed to any passer-by. Amazon said it identified the server on 10 September, two days after the campaign it describes began on 8 September. The MONAI Label advisory followed 70 days after that discovery and 72 days after the campaign start, according to the dates in the two publications.
Eleven minutes to a file write, 148 actions in 16 hours
Amazon said the agents identified the software running on one target and mapped its API, then found a path traversal bug in a file upload function. “In about 11 minutes, the agents went from mapping the application’s API to arbitrarily writing files on the server,” the company said. In a later session, according to the same account, the agents used the flaw to plant a Python reverse shell in a file that Python runs every time the interpreter starts, ultimately obtaining a root shell.
Amazon’s post contrasts that speed with a more laborious operation elsewhere in the campaign. The most extensive activity targeted a Redis instance at one university that was configured to allow access without authentication, and ran over roughly 16 hours and 148 sequential actions. That works out to about 9.25 actions per hour, or one action every 6.5 minutes on average, and a window roughly 87 times longer than the 11-minute span Amazon attributes to the MONAI Label exploitation.
What the MONAI Label advisory says: authentication off by default
The advisory describes a path traversal in the datastore upload endpoints that allows arbitrary file write. The PUT /datastore/image endpoint accepts a caller-controlled image query parameter and uses it as the image ID without validation; LocalDatastore.add_image() appends the file extension to that ID, joins it onto the datastore image directory and writes the uploaded file to the resulting path with shutil.copy(). Because the resolved path is never checked to be inside the datastore, a value such as ../../../tmp/x writes the uploaded content to any location the MONAI Label process can write to. LocalDatastore.save_label(), reached through PUT /datastore/label, builds its destination from the image ID and label tag in the same way.
The advisory states that arbitrary file write can lead to remote code execution, for example by overwriting application code or adding entries to .ssh/authorized_keys or cron, or to denial of service by overwriting configuration files. Authentication is disabled by default (MONAI_LABEL_AUTH_ENABLE=False), so in the default configuration any network client that can reach the server can exploit the flaw; with authentication enabled, the ANNOTATOR role is sufficient. The advisory rates the bug critical and says it affects versions 0.8.5 and earlier.
A fix has been merged in pull request #1915 and will be included in the next MONAI Label release, the advisory says. Both add_image() and save_label() now resolve the destination, including the label tag directory, and reject any path outside the datastore image and labels directories; the /datastore/image endpoint also reduces the image ID to its basename and rejects empty or dot-prefixed IDs with HTTP 400. Until an upgrade, the maintainers recommend enabling authentication and not granting the ANNOTATOR role to untrusted users, keeping the server off untrusted networks, and running it as an unprivileged user with write access limited to the datastore directory.
A proxy into a second university, and a moderate-confidence attribution
Amazon said the operator then gave the agents a proxy that tunneled into a second university and instructed them to target other devices on its network. “The server that the proxy connected to was running the same vulnerable software, and we infer the actor had used the zero-day to compromise it and establish the tunnel,” the company said. That inference is Amazon’s, not a confirmed finding, and the company did not name either institution or the country in which they operate.
Amazon attributed the activity to an unidentified Chinese-nexus threat actor with moderate confidence, based on the language used in the prompts, the time zone configured in the scripts and its assessment that the targeted universities are likely of strategic interest to China. The attribution confidence is lower than the high confidence Amazon placed on the flaw being a zero-day, and the actor itself was not named.
Questions and answers
What exactly is the vulnerability? A path traversal in MONAI Label’s datastore upload endpoints that lets a caller write files outside the datastore, which the maintainers rate critical. It affects versions 0.8.5 and earlier, and the advisory says arbitrary file write can escalate to remote code execution or be used for denial of service by overwriting configuration files.
Does an attacker need credentials? No, in the default configuration. Authentication is disabled by default (MONAI_LABEL_AUTH_ENABLE=False), so any network client that can reach the server can exploit the flaw. If authentication is switched on, the advisory says the ANNOTATOR role is sufficient.
Is there a patch, and is there a CVE? A fix has been merged in pull request #1915 and will ship in the next MONAI Label release, but the advisory does not name a patched version. The advisory page reviewed does not display a CVE identifier; it states the issue was re-reported to generate a CVE in the correct repository, after first being filed privately against MONAI as GHSA-cxx7-378q-5622.
How fast did the agents work? Amazon says about 11 minutes elapsed between mapping the application’s API and writing arbitrary files on the server, and that a later session planted a Python reverse shell in a file the interpreter runs at startup, reaching a root shell. The same post describes a separate Redis operation that ran roughly 16 hours across 148 sequential actions, about 9.25 actions per hour.
How did Amazon see any of this? The operator left a Cairn instance publicly accessible with no authentication, exposing project configurations, prompts and AI output. Amazon said it identified that server on 10 September 2026 and that the campaign against university IP addresses in East Asia outside mainland China began on 8 September and lasted about 48 hours.
How firm is the China attribution? Amazon describes it as moderate confidence and does not name the actor. The stated basis is Simplified Chinese in the prompts, China Standard Time in the executed scripts and the company’s assessment that the targeted universities are likely of strategic interest to China. The high-confidence judgment in the post concerns the zero-day status of the flaw, not the identity of the operator.
What should defenders do now? The advisory lists three interim measures: enable authentication and withhold the ANNOTATOR role from untrusted users, keep the MONAI Label server off untrusted networks, and run it as an unprivileged user whose write access is limited to the datastore directory. Amazon’s broader point is that agentic offensive operations are already occurring and that defenders should prepare for the speed and persistence they enable.
Both publications leave the same gaps: no CVE identifier is displayed, no patched release number is named, and neither institution nor the actor is identified. The verified record so far consists of Amazon’s timeline and confidence statements, the maintainers’ technical description of the flaw, and a merged fix awaiting release.




