What happened in MONAI Label
Amazon Threat Intelligence says autonomous agents coordinated by Cairn found and exploited a path traversal flaw in MONAI Label, an open-source application for labeling medical images. Amazon describes a campaign against university systems in East Asia that began on September 8, 2026, and lasted about 48 hours. Amazon published its account on November 20.
The vulnerability allowed a file uploaded to the server to be written outside the intended locations. This was more than an incorrect application result: **an attacker able to reach the server could try to write files to other paths the MONAI Label process was permitted to access**. Version 0.8.6, released on November 22, fixes the flaws described by the project.
Amazon says the agents went from identifying the application and mapping its API to writing files arbitrarily on the server in about 11 minutes. In a later session, the agents allegedly used the flaw to place a Python payload that opened a reverse shell with root privileges on a server. That root access refers to the server attacked in that operation; it does not show that the agents controlled the university’s entire network.
The incident account comes from Amazon Threat Intelligence’s investigation. Amazon says the exposed Cairn instance had no authentication and its records revealed the operator’s instructions and the agents’ activity, but the account is not an independent confirmation from the affected university. The operational details and attribution should be understood as Amazon’s assessments, not as a conclusive public identification of the perpetrators.
Two path traversal routes
The 0.8.6 release notes describe two related flaws in different functions. For image and label uploads, the server built the destination from the image ID and label tag without adequately confining the path to the datastore. For session uploads, the server extracted tar archives without safely checking member names and used session IDs as paths without validating them.
Path traversal occurs when a request-controlled path can escape its intended directory. If the server does not constrain that path, an operation meant to save data in one datastore may write elsewhere that the process can access. The vulnerability does not automatically grant access to every file or account: its reach depends on the process’s permissions and the available paths.
The project says versions through 0.8.5 inclusive were affected and that 0.8.6 contains the fixes. It also says rejected, corrupt, or unsupported session archives return HTTP 400, and that tar archives containing links or device files are rejected. These changes address the described input paths; they do not, on their own, make an installation secure against other flaws or configuration risks.
The two vulnerabilities should not be confused with a single defective function or with the use of AI agents. They are path-handling flaws in the application; the agents are the means Amazon says were used to identify and exploit them in an operation. The project also recommends deployment controls that remain important after an upgrade.
Technical scope and fix
| Component | Described problem | Status in version 0.8.6 |
|---|---|---|
| Image and label uploads | The destination path could escape the datastore. | The project says the flaw is fixed. |
| Session uploads | Tar member names were not adequately validated; session IDs were used as paths without validation. | The version rejects rejected, corrupt, or unsupported archives; it also rejects tar archives containing links or device files. |
| Affected versions | Through 0.8.5 inclusive. | Version 0.8.6 includes the fixes. |
What the agents did—and what the case does not prove
Cairn is an autonomous penetration-testing framework that coordinates multiple agents around an objective written in natural language. Amazon says the operator supplied IP addresses and asked the agents to obtain shell access; they planned and adjusted their actions without a person choosing every step. Amazon’s account describes both unsuccessful attempts and the successful attack involving MONAI Label.
In one operation against a Redis server, the agents tried numerous techniques for about 16 hours and mapped parts of an internal network through a server-side request forgery vulnerability in a co-located Qdrant instance. Amazon says those attempts failed. In another operation, the agents tested more than 30,000 credential combinations against university services without finding a valid login.
These episodes illustrate a specific capability: an automated system can make successive attempts, adapt some actions, and continue for long periods. **They do not prove that agents are infallible, can defeat every defense, or that every autonomous operation ends in an intrusion**. Amazon’s own account includes attacks that did not achieve their objectives.
The MONAI Label outcome also does not, by itself, mean AI caused the vulnerability. The flaw was in the application’s path handling. The contribution Amazon attributes to the agents was finding and exploiting that behavior as part of an automated sequence. The account does not provide an experimental comparison with human operators or a general measurement of Cairn’s performance against other tools.
Attribution and the scope of the claims
Amazon attributed the campaign to a China-linked actor with moderate confidence. Its assessment was based on the operator writing prompts in Simplified Chinese, scripts using China Standard Time, and the targets being universities Amazon considers potentially of strategic interest to China. The actor’s identity has not been publicly confirmed, and those indicators alone do not conclusively establish nationality or affiliation.
Amazon rated its zero-day assessment with high confidence. Its reasoning was that it found no corresponding fix, issue, advisory, or prior mention in vulnerability databases for the project. This is Amazon’s assessment of the flaw’s status at the time of exploitation; it does not, by itself, establish when maintainers learned of the issue or show that every incident detail has been verified by third parties.
Amazon also says the agents later used a tunnel into a second university network. The company says it infers that the actor had compromised the server hosting the tunnel using the same flaw. The intrusion into that second server is Amazon’s inference, not a fact publicly confirmed by the affected institution.
Version 0.8.6 and the project’s advisory confirm the technical defects and their fixes, but do not independently verify every action recorded in the campaign. Amazon’s account is a primary source for what its team observed and how it assessed the activity; its conclusions about attribution and operations remain within the scope of that investigation.
Confidence levels for the main claims
| Claim | What can be stated | Limit |
|---|---|---|
| Two path traversal flaws | The project describes them in versions through 0.8.5 and publishes fixes in 0.8.6. | Confirmation of the vulnerable code does not, by itself, verify the full exploitation history. |
| Agents found and exploited the flaw | Amazon says this followed its investigation of an exposed Cairn instance. | There is no independent public confirmation from the affected university. |
| Attribution to a China-linked actor | Amazon assesses this with moderate confidence using several indicators. | The actor’s identity and affiliation are not confirmed. |
| Compromise of a second server | Amazon says it infers that the actor used the same flaw to establish a tunnel. | The institution has not publicly confirmed the intrusion. |
What MONAI Label operators should do
The main step is to upgrade to MONAI Label 0.8.6. The project identifies it as a security release fixing the described problems. The upgrade requires Python 3.11 or later: version 0.8.6 drops support for Python 3.9 and 3.10. Before deploying it, check that the installation’s environment and dependencies meet that requirement.
The version also updates the OHIF plugin to 3.11, changes DICOM SEG export to use highdicom, and makes numpymaxflow an optional dependency for scribble and GraphCut functions. These changes may affect particular integrations or installations; they do not replace the priority of fixing the security exposure.
The project recommends not exposing the server to untrusted networks, enabling authentication, and granting roles only to trusted users. It also advises running the server as an unprivileged user and limiting its write access to the datastore. These are containment measures: they reduce what a client that reaches the service could do, but they do not replace the upgrade.
Anyone who had version 0.8.5 or earlier accessible from an untrusted network should check for unexpected file changes before returning the system to service. The review should take account of the process’s user and permissions, as well as available logs. An upgrade fixes the software but does not, by itself, determine whether an earlier installation was compromised.
Practical response for an affected installation
- 01Identify the installed version and check whether the server was accessible from untrusted networks.
- 02Upgrade to MONAI Label 0.8.6 and verify that the environment meets the Python 3.11-or-later requirement.
- 03Enable authentication, limit roles to trusted users, and restrict network access to the server.
- 04Run MONAI Label with least privilege and limit the process’s write access to the datastore.
- 05If an affected version was exposed, check for unexpected file changes and review logs before resuming service.
Why the case matters for defenders
The operational significance does not depend on every agent succeeding: persistent automation can increase the number and pace of attempts and reduce the time available for a team to review them manually. Amazon argues that defenders should prioritize high-confidence alerts and automate some responses under human oversight. That is Amazon’s recommendation, not a guarantee that automation will prevent intrusions.
For operators, the practical lesson is to protect services reachable from external networks first, maintain authentication and least-privilege controls, and apply security fixes promptly. In this incident, the key control is not detecting a particular agent label; it is preventing an upload from manipulating paths outside its directory and limiting the impact of any unauthorized access.
The case also shows why three questions should be kept separate: whether a flaw exists, whether someone exploited it, and who did so. MONAI Label’s release confirms two vulnerabilities and a fixed version. Amazon attributes the exploitation and presents its assessment of the actor. The affected institution has not publicly confirmed the incident in the account described here. Keeping these distinctions clear avoids turning a moderate-confidence attribution into certainty or a security recommendation into a guarantee.
As of November 24, 2026, version 0.8.6 had been published and fixed the described vulnerabilities. The security report, Amazon’s incident timeline, and the release date are separate facts: Amazon’s account places the campaign in September and was published in November; the fix’s availability is reflected in the November 22 release.
Keep exploring
Sources consulted
Corrections and transparency
If you spot incorrect or outdated information, send us a correction with the page and source we should review.
Submit a correction