Cairn AI Agents Exploited a MONAI Label Zero-Day: Patch Now

Amazon says Cairn AI agents exploited a MONAI Label zero-day and got root. The fix is in 0.8.6 (CVE-2026-133968). See the timeline and what to do now.

Published:

Updated:

Phone showing root beside the number 11, AI agents finding a MONAI Label zero-day

Amazon Threat Intelligence says AI agents running the Cairn tool found a zero-day in MONAI Label, an open-source medical imaging annotation tool, and ended up with a root shell on a server. In about 11 minutes the agents went from mapping the application’s API to writing files on the server at will. The MONAI Label team shipped the fix in version 0.8.6 on 22 November 2026.

Timeline

Date Event
8 Sept 2026 Campaign starts and runs about 48 hours
10 Sept 2026 Amazon identifies the exposed Cairn server
18 Nov 2026 MONAI Label advisory published
20 Nov 2026 Amazon publishes its findings
22 Nov 2026 MONAI Label 0.8.6 released

What the agents tried

Card listing three agent attempts: Redis and a GPU server failed, MONAI Label ended in a root shell
The three attempts, as Amazon describes them

The agents spent about 16 hours and 148 actions on a Redis server, then tried more than 30,000 credential combinations against a university GPU server over six hours. Both attempts failed.

The operator gave the agents a list of targets, IP addresses tied to universities in East Asia outside mainland China, and told them to obtain shell access. After the file write the agents planted a reverse shell in sitecustomize.py, a file Python runs at every start, triggered an API endpoint and got root. Amazon assesses with high confidence that it was a zero-day, because no fix, issue, advisory or earlier mention existed in vulnerability databases for the affected project.

The vulnerability

The advisory (GHSA-qc22-rmgc-vg94, published 18 November 2026) is titled Path traversal in datastore upload endpoints allows arbitrary file write. It is rated Critical and classed as CWE-22, and the 0.8.6 release notes assign it CVE-2026-133968.

  • The PUT /datastore/image endpoint takes a caller-controlled image query parameter and uses it as the image ID without validation. A value such as ../../../tmp/x writes outside the datastore, and the label endpoint builds its destination the same way.
  • Versions 0.8.5 and earlier are affected.
  • 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.
  • Arbitrary file write can lead to remote code execution, for example through overwritten application code, SSH authorized keys or cron entries, or to denial of service.

The fix in 0.8.6

MONAI Label 0.8.6 is a security release, and its notes say all server deployments should upgrade. It fixes the datastore bug in #1915, and it also fixes a second path traversal in session upload, PUT /session/?uncompress=true, which extracted tar archives without checking member names (#1942). Both affect 0.8.5 and earlier. Version 0.8.6 requires Python 3.11 or newer.

Defender checklist

  1. Upgrade with pip install -U monailabel==0.8.6 or docker pull projectmonai/monailabel:0.8.6.
  2. If a 0.8.5-or-older server was reachable from an untrusted network, review it for unexpected file changes before returning it to service.
  3. Turn authentication on, and do not give the ANNOTATOR role to untrusted users.
  4. Do not expose the server to untrusted networks.
  5. Run it as an unprivileged user with write access limited to the datastore directory.

Amazon warns, per BleepingComputer, that AI agents can find and exploit vulnerabilities faster than security teams can react, and urges more reliance on automated defenses over manual investigation. BleepingComputer adds that Gambit Security documented Cairn in a credit-card-stealing operation in September and that Google reported it deployed against an aerospace organization in the United States.

Attribution

Amazon attributes the activity to an unidentified Chinese-nexus actor with moderate confidence, based on the prompt language, the time zone in the scripts and the strategic interest of the targeted universities. For more on agent security, see what OpenClaw is and how to install it safely, California’s suit against OpenAI over cyber incidents and GitHub agentic workflows vs Actions.

FAQ

How do I upgrade?

Run pip install -U monailabel==0.8.6, or pull the Docker image projectmonai/monailabel:0.8.6.

What was the second bug fixed in 0.8.6?

A path traversal in session upload, PUT /session/?uncompress=true, which extracted tar archives without checking member names. It is fixed in #1942.

What should I check if my server was exposed?

The release notes say to review a 0.8.5-or-older server that was reachable from an untrusted network for unexpected file changes before returning it to service.

Does 0.8.6 change Python support?

Yes. It drops Python 3.9 and 3.10 and requires Python 3.11 or newer.

Who found it?

Amazon reported it to the maintainers. The advisory credits garciadias as the reporter and notes it was originally reported by aws-sec-vdp.

Sources

Read this in Arabic: ثغرة MONAI Label: وكلاء Cairn سيطروا على خادم

All sections All articles

Latest articles