Back to Blog
    Breach AnalysisOffensive AI agents · Zero-day discovery

    Cairn AI Agents Found a MONAI Label Zero-Day and Reached Root in Minutes

    9 min readAndeavour Research
    1✓345ATTACK CHAINBroken by AgentGuard + AgentHunter
    Illustration: Cairn AI Agents Found a MONAI Label Zero-Day and Reached Root in Minutes
    11 min
    from mapping the MONAI Label API to arbitrary file write on the server (Amazon Threat Intelligence)

    Key takeaways

    • →Amazon Threat Intelligence reported on November 20, 2026 that a Chinese-nexus actor (moderate confidence) used Cairn, an open-source autonomous AI penetration-testing framework, against universities in East Asia for about 48 hours from September 8, 2026. The operator's goal for the agents was simply "obtain shell access."
    • →The agents found a path traversal in MONAI Label, an open-source server for AI-assisted medical image annotation, wrote a reverse shell into sitecustomize.py and triggered a training endpoint to get a root shell. The flaw is now CVE-2026-133968 / GHSA-qc22-rmgc-vg94 (CVSS 9.8), fixed in MONAI Label 0.8.6 and listed in CISA's Known Exploited Vulnerabilities catalog.
    • →Agents that find and use a zero-day in minutes finish before a SOC can triage the alert. AgentHunter detects agent-driven reconnaissance and contains it automatically; AgentGuard's Shadow AI discovery finds AI applications like MONAI Label exposed to the internet with authentication disabled.
    Attack chain, and where it breaks
    1. 1

      Operator gives Cairn a list of IP addresses and the goal "obtain shell access"

    2. 2

      Agents fingerprint MONAI Label and map its API endpoints

      AgentHunter flags agentic API mapping and traversal probing; AgentGuard finds the exposed, unauthenticated AI application before attackers do

    3. 3

      The image parameter of PUT /datastore/image accepts ../ path traversal

    4. 4

      Reverse shell written to sitecustomize.py; a training endpoint spawns Python

    5. 5

      Root shell; a proxy tunnel is used to attack a second university network

    Affected
    University research servers in East Asia running MONAI Label (no public indication that clinical systems or patient data were affected)
    When
    Campaign September 8–10, 2026 · Amazon report November 20 · fix 0.8.6 November 22 · CISA KEV November 23, 2026
    Impact
    Arbitrary file write and a root reverse shell on a research server, then a proxy tunnel used to target a second university network

    What Amazon found

    On September 10, 2026, Amazon Threat Intelligence found a publicly hosted Cairn instance running without authentication. Because the operator left it open, its configurations, prompts and AI output were visible. The prompts were written in Simplified Chinese, script timestamps used China Standard Time and the targets were universities in East Asia outside mainland China, which supports Amazon's moderate-confidence Chinese-nexus attribution.

    Cairn coordinates multiple AI agents toward a plain-language goal. Given a list of IP addresses and variations of "obtain shell access", the agents planned, executed and adjusted their approach without the operator choosing each next step.

    Most operations failed. Against an unauthenticated Redis server, the agents spent roughly 16 hours and 148 sequential actions on replication abuse, sandbox escapes, configuration writes and memory corruption, tried Log4Shell on a co-located service and used an SSRF in Qdrant to map the internal Docker network. Against a university GPU server, they built a list of about 80 real usernames from public sources and tested more than 30,000 credential combinations over six hours. None of it worked, but they kept adapting for nearly a full day without human direction.

    The zero-day

    Against a server running MONAI Label, the agents identified the framework, mapped its API and found an upload endpoint with a filename parameter. They tested it for path traversal and it was vulnerable. In about 11 minutes they went from mapping the API to writing arbitrary files on the server.

    The MONAI advisory explains why. PUT /datastore/image used the caller-controlled image parameter as an ID, joined it to the datastore directory and copied the upload there without checking that the result stayed inside the datastore. A value like ../../../tmp/x writes anywhere the process can write. Authentication is disabled by default (MONAI_LABEL_AUTH_ENABLE=False), and with authentication on, the ANNOTATOR role is enough.

    In a later session the agents wrote a Python reverse shell into sitecustomize.py, which Python imports at every interpreter start, then called a training endpoint to spawn a new Python process. It connected back as root. The actor then gave the agents a proxy into a second university network running the same software and directed them at other machines there.

    • CVE-2026-133968 / GHSA-qc22-rmgc-vg94, CVSS 9.8, MONAI Label up to and including 0.8.5
    • Fixed in MONAI Label 0.8.6 (released November 22, 2026), which also fixes a session-upload tar traversal
    • Added to CISA's Known Exploited Vulnerabilities catalog on November 23, 2026
    • Amazon's indicators: 142.4.98.145 and 142.4.107.34 (September 8–10, 2026)

    Why speed is the real story

    Amazon's own conclusion is the one to act on: an agent that discovers and exploits a zero-day in minutes completes its activity faster than many security operations centres can manually triage an alert. Human review of every event is no longer a viable response model; high-confidence detections need to trigger automated containment, with people overseeing outcomes.

    How AgentHunter and AgentGuard would change the outcome

    AgentHunter is designed for exactly this tempo. Cairn's agents leave a recognisable pattern: systematic endpoint enumeration, parameter-by-parameter fuzzing, instant pivots between techniques after each failure and activity that runs for 16 hours without pause. AgentHunter flags that agentic reconnaissance at step two, while the agents are still mapping the API, and contains the source automatically instead of queuing an alert for a human. A path traversal can still exist in the code, but the agent never gets the minutes it needs to find it.

    AgentGuard reduces the attack surface before any agent arrives. Its Shadow AI discovery inventories AI applications and model-serving tools across the organisation and flags the risky ones: an AI annotation server reachable from the internet, running with authentication disabled and with a process that can write outside its data directory and run as root. Those are policy violations to fix, not features to find out about from a threat report.

    Neither replaces the vendor fix. Upgrade to MONAI Label 0.8.6, keep the server off untrusted networks, enable authentication and run it as an unprivileged user whose write access is limited to the datastore.

    What to do now

    Treat any MONAI Label server that was reachable from an untrusted network as potentially compromised.

    • Upgrade to MONAI Label 0.8.6 or later
    • Check for unexpected sitecustomize.py, cron, authorized_keys and application file changes
    • Enable authentication and remove internet exposure from AI research servers
    • Run AI services as unprivileged users with write access limited to their data
    • Automate containment for high-confidence agentic reconnaissance alerts

    The lesson

    The Cairn case shows attacker agents can now discover a previously unknown flaw and weaponise it faster than a manual SOC can respond. Attacker agents do not need new exploits to win; they need exposed services, reusable keys and defenders who triage by hand. AgentHunter identifies autonomous adversarial agents by behaviour at the edge, and AgentGuard keeps every AI service, key and agent bound to its registered owner and purpose, with zero integration and deployment measured in days. Patching and removing internet exposure remain the first step.

    Frequently asked questions

    What is Cairn?

    Cairn is an open-source AI problem-solving engine whose first validated domain is autonomous penetration testing. It coordinates multiple AI agents toward a plain-language goal. It was built for defenders, but Amazon, Palo Alto Networks and others have documented threat actors using it.

    What MONAI Label vulnerability did the Cairn agents exploit?

    A path traversal in the PUT /datastore/image endpoint that allows arbitrary file write, tracked as CVE-2026-133968 and GHSA-qc22-rmgc-vg94 with a CVSS score of 9.8. It affects MONAI Label up to and including 0.8.5 and is fixed in 0.8.6.

    Were patient data or hospitals affected by the MONAI Label zero-day?

    The confirmed victims were university research servers. Public reporting does not indicate that clinical systems or patient data were affected.

    How do AgentHunter and AgentGuard help against autonomous attack frameworks like Cairn?

    AgentHunter detects the behavioural pattern of agent-driven reconnaissance and fuzzing and contains it automatically at machine speed. AgentGuard's Shadow AI discovery finds AI applications exposed to the internet without authentication so they can be fixed before attacker agents find them.

    See AgentGuard + AgentHunter on your own environment

    Zero integration. Live in days. We'll show you what your current stack is missing.