MONAI Label — Automated Path Traversal Zero-Day Exploitation via Cairn AI Agents
Publication date: November 20, 2026
Category: Threat Intelligence / Zero Days
Introduction
Researchers at Amazon Threat Intelligence have documented a cyberespionage campaign conducted between September 8 and 10, 2026, wherein Chinese-nexus attackers deployed an autonomous artificial intelligence agent platform known as “Cairn” to compromise educational infrastructure across East Asia. Unlike traditional operations reliant on static scripts or constant human intervention, operators provided high-level prompts instructing the AI agents to “obtain shell access,” allowing the system to independently discover and exploit a path traversal zero-day vulnerability in MONAI Label, an open-source medical imaging application. This finding demonstrates a concerning operational evolution where automated offensive capabilities drastically shrink the time window between API analysis and remote code execution (RCE).
What is Cairn and MONAI Label? (General Analysis)
Cairn is a legitimate penetration testing tool designed to coordinate multiple artificial intelligence agents in complex security operations, originally built for research and defense strengthening. However, its architecture has been coopted by malicious actors; prior reports from Gambit Security and Google have documented its deployment in credit card-stealing operations and attacks against U.S. aerospace organizations, respectively.
On the other hand, MONAI Label is an open-source deep learning framework designed to assist researchers and healthcare professionals in labeling medical image data. Due to its deep integration with high-performance computing environments and GPU-accelerated servers within academic institutions, its compromise establishes a critical vector for lateral movement and the exfiltration of sensitive data.
- Estimated CWE Classification: CWE-22 (Improper Limitation of a Pathname to a Restricted Directory / Path Traversal)
- Estimated CVSS v3.1 Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H(Estimated Base Score: 9.8 — Critical)
Technical Note: As this zero-day lacked an initial entry in the NVD database at the time of detection, the CWE and CVSS scores are derived as a reasoned estimation based strictly on arbitrary file write capabilities and subsequent root privilege attainment.
How Does It Work? (Technical Analysis)
The exploitation workflow executed by the autonomous agents demonstrated a high degree of algorithmic adaptability, operating through the following phases documented by researchers:
- Initial Reconnaissance and Discovery Flow: The agents mapped the MONAI Label application programming interface (API) within minutes. Through trial-and-error heuristics, they identified a path traversal flaw allowing file path manipulation without adequate input sanitization.
- Arbitrary File Write and Persistence Establishment: Capitalizing on the discovered flaw, within 11 minutes of initiating application profiling, the agents wrote arbitrary files to the server. Specifically, they dumped a Python-based reverse shell directly into the
sitecustomize.pyfile, a script automatically loaded by the Python interpreter during its startup sequence. - Privilege Escalation and Command Execution: To trigger the injected malicious code, the agents programmatically interacted with an API endpoint on the application, forcing the script execution upon process startup and granting full superuser (root) access to the targeted server.
- Operational Pivoting: Once control of the primary node was secured, the human operator supplied the agent system with a network proxy to access a second university network running the same vulnerable software, scaling the scope of the operation. Notably, the agents were not infallible: prior attempts against Redis servers required over 16 hours and 148 failed actions, and brute-force attacks against university GPU servers trying over 30,000 credential combinations across six hours also failed.
Affected Systems / Environments
- Affected Software: MONAI Label (versions prior to the security update released on November 18, 2026).
- Impacted Organization Profiles: Higher education and research institutions primarily located in East Asia, alongside environments deploying AI-based medical imaging tools without proper network segmentation.
- Command and Control / Origin Infrastructure: During the analyzed campaign between September 8 and 10, 2026, the following public IP addresses were associated with the operation due to misconfigurations by the Cairn operators themselves:
142[.]4.98.145142[.]4.107.34
Mitigation and Detection
Remediation
- Priority Update: MONAI Label maintainers released a security update on November 18, 2026, addressing the path traversal flaw. Administrators are urged to apply this patch immediately.
- Hardening AI and Offensive Tool Instances: Strictly restrict external access to automated penetration testing platforms and AI instances (such as Cairn deployments), ensuring they are never exposed to the public internet without robust authentication and role-based access control (RBAC).
- Academic Network Segmentation: Isolate medical imaging processing servers and GPU clusters from corporate or general guest networks to limit the blast radius of potential lateral movement.
Detection
- File Integrity Monitoring (FIM): Audit unauthorized modifications to Python system configuration files, particularly initialization scripts like
sitecustomize.pyor site-library directories. - API Traffic Analysis: Implement controls at API gateways to detect abnormal patterns of high-velocity automated scanning characteristic of AI agents conducting pre-exploitation reconnaissance.
“Artificial intelligence agents can discover and exploit vulnerabilities at a speed that outpaces human security teams, compelling organizations to transition toward automated defense schemes and proactive mitigation.”
Wrapping Up
The deployment of the autonomous Cairn platform to uncover a zero-day in MONAI Label marks a critical inflection point in cybercrime and digital espionage, demonstrating that barriers to complex vulnerability exploitation are actively being compressed through artificial intelligence. While the agents exhibited limitations against traditional brute-force tasks, their ability to chain API discovery, path traversal, and code execution within minutes underscores the urgent necessity to counter automated threats with equally automated defenses and rigorous patch management.
References
- BleepingComputer. (2026). Hackers use autonomous AI tool Cairn to find zero-day, take over server. Retrieved from https://www.bleepingcomputer.com/news/security/hackers-use-autonomous-ai-tool-cairn-to-find-zero-day-take-over-server/