MONAI Label path traversal flaw exploited by AI agents to gain root access
TL;DR
A Chinese-nexus threat actor used the Cairn AI autonomous penetration-testing framework to discover and exploit a zero-day vulnerability in MONAI Label. The attack targeted universities in East Asia, using AI agents to achieve root access via a path traversal flaw. Users must update to the latest version of MONAI Label immediately.
What happened
On September 10, 2026, Amazon Threat Intelligence discovered a publicly accessible, unauthenticated instance of Cairn, an open-source autonomous AI framework. By reviewing the platform's operational history, investigators found a campaign targeting universities in East Asia.
The attacker used Cairn to coordinate multiple AI agents that planned and executed attacks without human intervention. While several attempts failed, the agents successfully identified a zero-day path traversal vulnerability in the MONAI Label medical imaging AI application. The agents mapped the API endpoints and discovered that the PUT /datastore/image and PUT /datastore/label endpoints did not validate the filename parameter. This allowed the agents to write a Python reverse shell to sitecustomize.py, granting them root access to the server. The attacker subsequently used this access to tunnel into a second university network.
Why it matters
This incident demonstrates that autonomous AI agents have moved from experimental tools to active offensive weapons capable of discovering and exploiting zero-day vulnerabilities in minutes. The operational tempo of these agents is significantly faster than the manual triage capabilities of most security operations centers. An agent can map an application and weaponize a path traversal flaw before a human defender even receives an alert. This speed compresses the window for defensive response and necessitates automated, hardened configurations for AI-driven infrastructure.
Who is affected
- MONAI Label (open-source medical imaging AI application)
What to do now
- Update to the latest version of MONoch MONAI Label that includes the path traversal fix.
- Enable authentication by setting
MONAI_LABEL_AUTH_ENABLE=True. - Restrict the
ANNOTATORrole to trusted users only. - Ensure the MONAI Label server is not exposed to untrusted networks.
- Run the server as an unprivileged user with write access limited strictly to the datastore directory.
What we don't know yet
- The specific version of the medical imaging AI application that was exploited.
- The exact number of universities successfully breached using this zero-day.
Sources
- therecord.mediahttps://therecord.media/amazon-research-cairn-ai-university-attacks-possible-zero-day
- github.comhttps://github.com/Project-MONAI/MONAILabel/security/advisories/GHSA-qc22-rmgc-vg94
- aws.amazon.comhttps://aws.amazon.com/blogs/security/chinese-nexus-actors-cairn-ai-agents-found-a-zero-day-on-their-own/
- aws.amazon.comhttps://aws.amazon.com/blogs/security/amazon-threat-intelligence-observes-threat-actors-running-cybercrime-campaigns-with-artex-ai-agents/
