MONAI Label — Remote Code Execution and Privilege Escalation via Autonomous AI Agents (CVE-2026-133968)
Publication date: November 21, 2026
Category: Threat Intelligence / Cyber Espionage
Introduction
Amazon Threat Intelligence researchers have documented a cyber espionage campaign linked to suspected China-based threat actors who utilized autonomous artificial intelligence (AI) agents to discover and exploit a previously unknown zero-day vulnerability in MONAI Label, an open-source medical imaging server and model training framework. During an automated deployment, the agents mapped the application interface and successfully wrote arbitrary files to the target server, ultimately achieving root access on a university system. This incident represents a critical milestone in offensive automation utilizing agentic penetration testing tools.
What is MONAI Label? (General Analysis)
MONAI Label is an open-source server application designed for clinical and scientific research teams to facilitate interactive labeling of medical scans and training of deep learning models. It operates separately from the broader MONAI framework. By default, in its standard setup, the service runs with authentication disabled, allowing any network-reachable client to interact with its application endpoints.
The identified vulnerability, officially tracked as CVE-2026-133968, is a path traversal flaw classified under CWE-24 (Path Traversal: ‘Directory Traversal’). According to official data verified in the National Vulnerability Database (NVD), this vulnerability carries the following severity metrics:
- Official CVSS Score (v3.1): 9.8 (CRITICAL)
- Official CVSS Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CWE Classification: CWE-24 (Confirmed data)
- CISA KEV Catalog: Not listed
This critical vector indicates that a remote attacker without prior privileges or authentication (PR:N, UI:N) can issue crafted network requests to write files outside of authorized storage directories, directly leading to Remote Code Execution under the privileges of the affected service account.
How Does It Work? (Technical Analysis)
The intrusion reconstruction compiled by investigators highlights a highly automated, multi-phase operational workflow:
- Autonomous Discovery and Mapping Phase: Operators configured AI agents using the open-source Cairn framework, establishing a high-level goal of obtaining shell access. Operating with minimal step-by-step guidance, the agents autonomously mapped the application interface, reaching the file-writing stage in roughly 11 minutes over a 48-hour window in September 2026.
- Flaw Exploitation Mechanism (CVE-2026-133968): The vulnerability resides within the
PUT /datastore/imageendpoint of MONAI Label. Theimageparameter accepts a caller-supplied file identifier that is appended to the storage folder and written to disk without proper validation to ensure the resultant path remains confined within the approved directory. This permits directory traversal sequences (e.g.,../) to bypass logical boundaries. - Persistence and Root Escalation: Because the server ran with elevated privileges, the agents leveraged the write capability to plant a script file into a Python startup location that the interpreter automatically executes upon launch. Subsequently, the agents triggered a training feature within the server that spawned a new Python process, loading the malicious file and establishing a reverse shell back to the attacker with root privileges.
“The AI agents operated with little step-by-step direction; once set with the goal of shell access by the human operator, they autonomously selected attack methods and exploited the directory traversal weakness in the medical imaging server.”
Affected Systems / Environments
The security defect directly impacts the following software configurations and environments:
- Affected Software: MONAI Label versions
0.8.5and earlier. - Default Configuration: Standard deployments operating with authentication disabled out-of-the-box and running the service under root or accounts with broad file-writing permissions.
- Risk Profiles: Medical research institutions, universities, and laboratories maintaining MONAI Label servers exposed to untrusted networks or accessible over the internet without proper perimeter access controls.
Mitigation and Detection
Remediation
Because maintainers have merged a source code fix but no official installable package version has been released yet on package repositories (such as PyPI), strict manual mitigation steps must be enforced:
- Network Isolation: Block untrusted network access to MONAI Label servers using firewall and routing rules rather than relying solely on obscure or hard-to-guess URLs.
- Enable Authentication: Configure and turn on server authentication, which is disabled by default.
- Principle of Least Privilege: Run the MONAI Label service under a restricted user account rather than root, and tightly restrict the folders to which it has write permissions.
- Source Build Verification: If building from source, explicitly confirm that the build incorporates the October 2026 fix (which forces uploads to resolve inside approved folders and rejects empty names or names beginning with a dot).
Detection
For Blue Teams investigating potential prior exposure, the following verification steps are recommended:
- Startup File Auditing: Inspect the system for unexpected Python initialization scripts or recent modifications in script directories that execute automatically upon process startup.
- Process Monitoring: Analyze execution logs for anomalous model training tasks or secondary Python processes abruptly spawned from the imaging server.
- Access Log Review: Review HTTP requests directed at the
PUT /datastore/imageendpoint for patterns indicative of path traversal (e.g.,../sequences or suspicious filenames).
Wrapping Up
The incident documented around CVE-2026-133968 marks a concerning milestone in threat evolution: the integration of autonomous AI agents capable of discovering zero-day vulnerabilities and exploiting them with minimal human intervention. Although the initial impact was contained to a single university server, the combination of critical medical research software with insecure default configurations emphasizes the urgent need for rigorous patching, least-privilege execution, and defense-in-depth network architectures.
References
- [Reference] The Hacker News. (2026). Attackers’ AI Agents Found a Zero-Day in Medical-Imaging Software and Gained Root Access. https://thehackernews.com/2026/11/attackers-ai-agents-found-zero-day-in.html
- [Reference] Project MONAI. MONAI Label Source Fix Pull Request #1915. https://github.com/Project-MONAI/MONAILabel/pull/1915
- [Reference] Project MONAI. MONAI Label Security Advisory (GHSA-qc22-rmgc-vg94). https://github.com/Project-MONAI/MONAILabel/security/advisories/GHSA-qc22-rmgc-vg94
- [Reference] Python Package Index (PyPI). MONAI Label Release Listing. https://pypi.org/project/monailabel/
- [Reference] Common Vulnerabilities and Exposures. CVE-2026-133968 Record. https://www.cve.org/CVERecord?id=CVE-2026-133968
- [Reference] National Vulnerability Database (NVD). NVD Detail - CVE-2026-133968. https://nvd.nist.gov/vuln/detail/CVE-2026-133968
- [Reference] The Register. (2026). China-linked attackers deployed AI agents that autonomously found and exploited a 0-day to take over a university server. https://www.theregister.com/security/2026/11/20/china-attackers-deployed-ai-agents-that-autonomously-found-and-exploited-a-0-day-to-take-over-a-university-server/5311382