A generated abstract illustration on a pale grey-blue field: a wide, dim hall drawn in thin dark-slate lines, its wall lined with narrow closed doors and a faint blueprint grid behind. Above the doors, a branching constellation of small pale nodes spreads across the wall like a search tree. One door near the centre stands open, lit from within by a soft amber glow, and a single thin line from the constellation passes through it into a deeper corridor visible beyond. A dashed line runs along the floor. No text, numbers, people, robots, brand marks or organisation logos appear. The OrcaRouter logo is composited in the bottom-right corner.
AI Safety Incidents

Cairn agents found a MONAI Label zero-day and rooted a university server

Author

jinhao.song

Date Published

Latest models · 20View all models →
Back to all posts

On 10 September 2026, Amazon Threat Intelligence found an internet-reachable installation of Cairn, an open-source framework that sends autonomous AI agents after a goal, running with no authentication. The operator left it open, so its project configurations, prompts and agent output were readable. Those records describe a campaign of about 48 hours from 8 September against IP addresses belonging to universities in East Asia outside mainland China, with goals that were variations of "obtain shell access." Against one target running an open-source medical-imaging application, later identified as MONAI Label, the agents found an unpatched path-traversal flaw, wrote files anywhere the server could, and later got a root reverse shell. Amazon published the findings on 20 November 2026, the date this record carries. Amazon's report and the maintainers' advisory are catalogued, with the archive's own severity grade and confidence assessment, in the AI incident archive, alongside the rest of the agentic-intrusion record set.

What the exposed instance showed

Cairn, as Amazon describes it, was built as a research and problem-solving engine for defenders. An operator supplies a starting point and an objective written in plain language, and the framework coordinates multiple AI agents that plan, execute and adjust their approach as they learn, "without the operator choosing each next step," the company's report says. The same ease of use, Amazon notes, makes the framework attractive to threat actors. The Cloud Security Alliance's research arm, which analysed the case in a separate note, describes Cairn as an AGPL-licensed framework built around a shared board on which worker agents post confirmed facts and planned next steps, with humans able to add hints along the way.

Amazon found the instance on 10 September 2026 and says it was publicly hosted and unauthenticated, so "the operational history of the platform was visible to anyone on the internet, including project configurations, actor prompts, and AI output." The operator wrote prompts in Simplified Chinese and configured the timestamps in executed scripts to China Standard Time. Reading that history, Amazon reconstructed a campaign of roughly 48 hours beginning 8 September, aimed at IP addresses associated with universities in East Asia outside mainland China. The actor supplied a list of targets and, for each, a goal that varied the phrase "obtain shell access." Two addresses appear in the report's indicators, both in records dated 8 to 10 September 2026: 142[.]4.98.145 and 142[.]4.107.34.

Amazon attributes the activity to a Chinese-nexus threat actor, but only with moderate confidence, on three stated grounds: the Simplified Chinese prompts, the China Standard Time timestamps, and the targeting of universities "likely of strategic interest to China." The report names no group, no unit and no state. Headlines describing "China-linked hackers" therefore go further than the document they rest on, which uses the looser term "nexus" and attaches its own middle grade to the claim.

The exposure that let Amazon read this campaign is the same class of misconfiguration that NorForge, a sandboxing company, documented in a separate October wave of takeovers of internet-exposed Cairn panels. That campaign had different targets and is a separate event; it is not part of this record.

Eleven minutes to a file write, a later session to root

Against the medical-imaging server, Amazon says the agents "identified the application's framework, mapped its API endpoints, and found an upload endpoint with a filename parameter." They tested that parameter for path traversal, found it vulnerable, and "in about 11 minutes" went from mapping the API to writing arbitrary files on the server. The flaw the maintainers later documented is a path traversal in the datastore upload endpoints. The PUT /datastore/image endpoint accepts a caller-controlled image query parameter and uses it as the image identifier without validation; LocalDatastore.add_image() appends a file extension, joins the result onto the datastore image directory and writes the uploaded file there with shutil.copy(). The resolved path is never checked to be inside the datastore, so a value such as ../../../tmp/x writes the uploaded content anywhere the MONAI Label process can write. The PUT /datastore/label endpoint, through LocalDatastore.save_label(), builds its destination from the image identifier and label tag in the same way.

The advisory rates the flaw critical. It notes that authentication is disabled by default through the MONAI_LABEL_AUTH_ENABLE setting, so in the default configuration any client that can reach the server can exploit it, and that with authentication enabled the low-privilege ANNOTATOR role is sufficient. Arbitrary file write of this kind becomes remote code execution if an attacker overwrites application code or adds entries to .ssh/authorized_keys or cron, and it can cause denial of service by overwriting configuration files.

Getting root took a second session. The agents used the same flaw to write a Python reverse shell payload to sitecustomize.py, a file Python imports automatically at interpreter startup, then triggered a training API endpoint to spawn a new Python process. That process imported the payload and established a reverse shell running as root.

Several secondary accounts compress this into "root in 11 minutes." Amazon's text does not say that. The 11 minutes covers the span from mapping the application's API to arbitrary file write; the root shell came in a later session, and no source reviewed for this article gives the interval between the two.

Amazon's prose never names the application, describing only "an open-source medical imaging AI application" and linking to the advisory. The identification as MONAI Label comes from that advisory, which covers the pip package monailabel, and from The Register and SecurityWeek, which name it in their reports of 20 and 21 November. MONAI Label is a server-client system from Project MONAI, an open-source initiative for deep learning in medical imaging, and its own documentation describes it as an "intelligent open source image labeling and learning tool" that lets teams create annotated datasets and build annotation models for clinical evaluation. The Register and SecurityWeek both describe the compromised machine as a university server, and the campaign's later pivot into a second university network is consistent with that; Amazon's own report places the target inside a campaign aimed at university addresses.

A self-built HTML card headed 'One unvalidated parameter, four steps to root', kicker 'MONAI Label, CVE-2026-133968', subtitle 'MONAI Label and CVE-2026-133968, from advisory GHSA-qc22-rmgc-vg94 and the MITRE record'. Two columns. The left column, headed 'The flaw', lists: endpoint, PUT /datastore/image takes a caller-controlled image query parameter and uses it as the image ID without validation; sink, LocalDatastore.add_image() appends the file extension, joins the result onto the datastore directory and writes with shutil.copy(); why it escapes, the resolved path is never checked to stay inside the datastore, so ../../../tmp/x writes wherever the process can write; second endpoint, PUT /datastore/label builds its destination the same way in LocalDatastore.save_label(); default exposure, authentication is off by default (MONAI_LABEL_AUTH_ENABLE=False) and the ANNOTATOR role is enough when it is on; impact, arbitrary file write then remote code execution by overwriting application code, .ssh/authorized_keys or cron, or denial of service. The right column, headed 'Severity, versions, fix', lists: advisory rating, critical, CWE-22 path traversal; CVE, CVE-2026-133968, CVSS 3.1 base score 9.8, vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; affected, monailabel up to and including 0.8.5; patched, 0.8.6, released 22 November 2026; fix, pull request 1915 merged 19 October 2026, which resolves the destination and rejects paths outside the datastore, reduces the image ID to its basename and returns HTTP 400 for empty or dot-prefixed IDs; same release, a second, separate path traversal in session upload was fixed in 0.8.6 and the README now warns the server is not meant to face the internet. A band below reads 'What the advisory adds beyond the intrusion report: the flaw is reachable without credentials in a default deployment, and a second traversal in session upload was fixed in the same release.' A footer reads 'Sources: GHSA-qc22-rmgc-vg94, published 18 November 2026; MITRE CVE record for CVE-2026-133968; Project MONAI pull request 1915; MONAI Label 0.8.6 release notes. Hand-built card, not a screenshot of any vendor page.'

The operations that failed

The successful intrusion was one of three operations Amazon describes, and the other two are instructive because they did not work. The longest targeted a Redis instance at one university configured to allow access without authentication. Over roughly 16 hours and 148 sequential actions, the agents worked through a list of known techniques for taking over an open Redis server: abusing its replication feature to load unauthorised code, escaping its scripting sandbox, writing to its configuration files and corrupting its memory. They also attempted Log4Shell injection against another service on the same system. When those failed, they used a server-side request forgery vulnerability in a co-located Qdrant instance to map the internal Docker network, then ran credential sprays against PostgreSQL, SSH and several other services. None of it succeeded.

A separate operation ran for more than six hours against a university GPU server. The agents first assembled a list of about 80 real usernames by researching the university's public presence, including faculty directories, lab websites, archived web pages and academic papers. They then tested more than 30,000 credential combinations against the server's remote login, and on other systems across the university network against an admin dashboard, a network storage device, a VPN server and the campus portal. They never found a working login.

"Neither operation succeeded, yet together they show that the agents kept adapting for nearly a full day without human direction," Amazon writes. That sentence is also the limit of what the record establishes about tempo: the underlying observations come from the operator's own Cairn instance, which Amazon alone has described, and no second party has published an independent view of those logs.

A proxy into a second university

After the zero-day was found, the human operator intervened. Amazon says the actor gave the agents a proxy that tunnelled into a second university network. The server the proxy connected to was running the same vulnerable software, and Amazon states its inference plainly: "we infer the actor had used the zero-day to compromise it and establish the tunnel." The actor then directed the agents to use that tunnel against other machines in the second network. The report does not identify that server, say when it was compromised, or describe what the agents did once inside.

Here the agency is visibly shared. The operator set the goals and the target list from the start and chose this pivot; the agents chose the steps in between. Amazon's framing of "minimal human involvement," and the headline claim that the agents acted "on their own," both describe the exploitation work rather than the whole operation.

From a merged fix to a shipped release

Amazon says it notified the project's maintainers, who released a fix and a GitHub Security Advisory. The affected organisations were non-AWS customers that Amazon had no direct path to notify, so it worked with a government partner to tell them about the activity. The advisory, GHSA-qc22-rmgc-vg94, was published on 18 November 2026, rates the flaw critical, lists versions up to and including 0.8.5 as affected and 0.8.6 as patched, and recommends enabling authentication, keeping the ANNOTATOR role away from untrusted users, not exposing the server to untrusted networks and running it as an unprivileged user with write access limited to the datastore directory.

The fix itself had existed for a month before that. Pull request 1915, titled "fix: confine datastore write paths," was merged into the main branch on 19 October 2026, according to GitHub's record of the pull request. The advisory's own text says the fix "will be included in the next MONAI Label release," and at the time it was published that was still true: the newest installable package was 0.8.5, uploaded to PyPI in November 2024. Version 0.8.6 arrived on 22 November 2026 as a security release whose notes open with "All MONAI Label server deployments should upgrade." It fixes the datastore path traversal and a second, separate path traversal in session upload, and the project's README now carries a notice, absent from the 0.8.5 README, that MONAI Label is not intended to be run as an internet-facing application and should only be deployed on a closed, trusted local network.

The identifiers followed a similar path. MITRE's CVE record for CVE-2026-133968 was reserved and published on 20 November 2026, the same day as Amazon's report, with a CVSS 3.1 base score of 9.8 and a description stating the flaw was "exploited in the wild starting in September 2026." CISA added it to the Known Exploited Vulnerabilities catalog on 23 November, with a remediation due date of 26 November and forensic triage required under its BOD 26-04 guidance. Two further releases, 0.8.7 and 0.8.8, appeared on 25 November; 0.8.8 is itself a security release covering separate critical flaws in how request values were handled, which the release notes do not link to this campaign.

One discrepancy is worth recording rather than resolving. The GitHub advisory page, as read on 28 November 2026, still shows "No known CVE" in its CVE ID field, even though the project's 0.8.6 release notes link CVE-2026-133968, MITRE has published it, and CISA lists it. The advisory text explains part of the history: the issue was first reported privately against the core MONAI repository, as GHSA-cxx7-378q-5622, and re-reported under MONAI Label "to generate CVE in the correct repository." The page's CVE field appears not to have caught up with that record.

A self-built HTML card headed 'Ten weeks from an intrusion to a shipped patch', kicker 'Cairn campaign and MONAI Label - chronology', subtitle 'Cairn campaign and MONAI Label, chronology of published dates, all 2026'. Eight rows: 8 September 2026, tag 'campaign', roughly 48-hour agent campaign begins against university IP addresses in East Asia; 10 September 2026, 'discovery', Amazon finds the unauthenticated Cairn instance and reads its operational history; 19 October 2026, 'fix merged', pull request 1915, 'fix: confine datastore write paths', merged, no release ships it; 18 November 2026, 'advisory', GHSA-qc22-rmgc-vg94 published, critical, versions up to 0.8.5 affected; 20 November 2026, 'report + CVE', Amazon publishes its report and MITRE publishes CVE-2026-133968, CVSS 9.8; 22 November 2026, '0.8.6', monailabel 0.8.6 ships as a security release with the datastore fix; 23 November 2026, 'KEV', CISA adds the CVE to the Known Exploited Vulnerabilities catalog, due 26 November; 25 November 2026, '0.8.7 / 0.8.8', two more releases, 0.8.8 fixes separate critical flaws in request-value handling. A band below reads 'What the gap shows: the code was fixed on 19 October, but the installable package stayed at 0.8.5 until 22 November. For those 34 days the fix was in the main branch, and no published advisory existed until 18 November.' A footer reads 'Sources: AWS Security Blog, 20 November 2026; GHSA-qc22-rmgc-vg94, 18 November 2026; Project MONAI pull request 1915 and release notes for 0.8.6 and 0.8.8; PyPI upload records; MITRE CVE record; CISA KEV catalog. Hand-built card, not a screenshot of any vendor page.'

What is established, and what is not

The archive grades this record confidence A, does not mark it disputed, records real harm and records confirmed AI involvement. That grade covers the documentation, and the documentation is strong on the vulnerability: the project's advisory, the fix pull request and the release notes document the flaw in its own code, without depending on Amazon's account. It is weaker on the intrusion narrative, which rests on one company's reading of one exposed server. The split below is where that matters.

• Established: Amazon found a publicly hosted, unauthenticated Cairn instance on 10 September 2026 whose records showed a campaign of about 48 hours from 8 September against university IP addresses in East Asia outside mainland China, with prompts in Simplified Chinese and script timestamps set to China Standard Time. Amazon published two indicators, 142[.]4.98.145 and 142[.]4.107.34, in records dated 8 to 10 September.

• Established: MONAI Label up to and including 0.8.5 carries a path traversal in its datastore upload endpoints that allows arbitrary file write and can lead to remote code execution, with authentication disabled by default. This is documented in GHSA-qc22-rmgc-vg94 and the 0.8.6 release notes, which do not depend on Amazon's account; CVE-2026-133968 records the same flaw and adds that it was exploited in the wild.

• Established: the flaw was fixed in pull request 1915, merged 19 October 2026, and shipped in monailabel 0.8.6 on 22 November 2026. CISA added CVE-2026-133968 to the KEV catalog on 23 November with a 26 November due date.

• Amazon's observation: the agents went from mapping the application's API to arbitrary file write in about 11 minutes, then in a later session wrote a Python reverse shell to sitecustomize.py, triggered a training endpoint and obtained a root shell. The sequence is technically consistent with the documented flaw, but the only record of it is Amazon's description of the operator's Cairn instance.

• Amazon's observation: the failed Redis operation (about 16 hours, 148 actions, replication abuse, sandbox escape, config writes, memory corruption, Log4Shell, Qdrant SSRF, credential sprays) and the failed GPU operation (more than six hours, about 80 harvested usernames, more than 30,000 credential combinations). No independent party has described these logs.

• Amazon's assessment, high confidence: that the flaw was a zero-day at the time, based on the absence of any corresponding fix, issue, advisory or prior mention in vulnerability databases. The subsequent record is consistent with that: the advisory appeared two months after the campaign, and the fix pull request six weeks after it.

• Amazon's assessment, moderate confidence: Chinese-nexus attribution, on language, time zone and targeting. No group or state is named in the report.

• Amazon's inference: that the second university's proxy server, running the same software, was compromised with the same zero-day to build the tunnel. Amazon says "we infer"; the server is not identified and the inference is not corroborated.

• Not established: which universities were hit, in which countries, how many servers were compromised, or whether any data was taken. No source reviewed for this article reports data theft, and the Cloud Security Alliance notes that none of the public reporting indicates clinical systems or patient data were affected.

• Not established: whether this actor is the same one Gambit Security documented using Cairn against online retailers in September 2026. Amazon treats the two as evidence that the framework is being adopted "in both espionage and criminal operations," not as one campaign.

• Not independently corroborated: the intrusion narrative itself. The Register and SecurityWeek both reported Amazon's findings, and the Cloud Security Alliance synthesised the public record, but every account of what the agents did traces to Amazon's post. The flaw itself, by contrast, is documented in the project's own advisory, pull request and release notes, which do not rest on Amazon's account. The claim that it was exploited in the wild still traces, through the CVE description, to the same disclosure.

• A grading note: the archive records severity as high, while the CVE carries a CVSS base score of 9.8, which is critical, and the advisory rates it critical. The two scales measure different things and the record does not reconcile them.

A self-built HTML card headed 'Established, assessed, and not established', kicker 'Reading the record', subtitle 'Where the claims in this incident record stand, checked on 28 November 2026'. Three columns. Established lists: an unauthenticated Cairn instance found on 10 September 2026, whose records describe a roughly 48-hour campaign from 8 September against university IP addresses in East Asia; a path traversal in MONAI Label datastore upload endpoints through 0.8.5, documented by advisory GHSA-qc22-rmgc-vg94 and CVE-2026-133968; a fix merged 19 October, shipped in 0.8.6 on 22 November, and a KEV listing on 23 November with a 26 November due date. Amazon's assessment lists: high confidence the flaw was a zero-day at the time, with no fix, issue, advisory or prior database mention; moderate confidence in Chinese-nexus attribution on Simplified Chinese prompts, China Standard Time timestamps and university targeting; inference that a second university server was compromised with the same flaw to build a proxy tunnel; its account of agent behaviour, 11 minutes to arbitrary write, the sitecustomize.py reverse shell and two failed operations. Not established lists: the identity, country and number of the universities or servers affected; any data theft, or any effect on clinical systems or patient data; whether this actor is the one Gambit Security documented using Cairn against retailers; independent corroboration of the intrusion narrative, since all of it traces to Amazon. A band below reads 'What would move the record: a named victim, an independent view of the Cairn instance logs, or a second confirmed use of the flaw in the wild. None appears in the record.' A footer notes that the archive grades the record confidence A, not disputed, with real harm recorded and AI involvement confirmed, and that the grade covers documentation, not independent corroboration, and that the card is hand-built, not a screenshot of any vendor page.

Why the record is a landmark

The Cloud Security Alliance's assessment is the sharpest available statement of why this entry matters: it is, in the organisation's words, "among the first publicly documented cases in which offensive AI agents, working toward a goal set by a threat actor, found a novel vulnerability during a live intrusion and turned it into a working exploit." The archive marks the entry as a landmark, and the combination it records is unusual: a novel flaw, discovered and weaponised end to end by agents inside a live operation, against a class of server that its own maintainers now say is not intended to face the internet.

The defensive lesson Amazon draws is about tempo rather than sophistication. An agent that maps an API and reaches arbitrary file write in 11 minutes, or hammers a Redis server for 16 hours without a break, compresses the window in which a security team can notice and respond; the company's advice is to favour high-confidence detections that trigger automated response, with humans supervising outcomes rather than reviewing each action. The record does not show whether any of the affected universities had such controls, whether they detected the intrusion, or how long the root shell persisted.

What would move the record is specific: a victim willing to describe what was found on the server, an independent look at the Cairn instance's logs, or a second confirmed use of the flaw. Until then, the vulnerability is a matter of public record and the intrusion is one company's account of it, and the distance between those two things is the most useful fact in the entry.