← BACK TO FEED
zero-daymedical imagingAI agentsvulnerabilitycyber espionage

AI Agents Autonomously Found a Zero-Day in Medical Imaging Software and Got Root Access

Suspected China-linked hackers used autonomous AI agents running on the Cairn framework to discover and exploit a critical path-traversal zero-day vulnerability (CVE-2026-133968) in MONAI Label, an open-source medical imaging server, gaining root access to a university server. The flaw, which requires no authentication to exploit due to the server's insecure default settings, allows attackers to write files outside the designated storage folder, and was leveraged to plant a malicious Python startup file that called back to the attacker. A source-code fix has been merged but no patched release is yet available, so administrators are advised to restrict network access, enable authentication, and run the server under a limited account in the meantime.

Suspected China-linked hackers let AI agents loose on a medical imaging server, and the agents found a previously unknown vulnerability on their own. The target was MONAI Label, an open-source tool used by research teams to annotate medical scans and train imaging models. According to Amazon Threat Intelligence, the agents exploited the flaw to gain root access on a university server.

The vulnerability is a path-traversal bug in MONAI Label 0.8.5 and earlier. When a file is uploaded, the server takes an identifier supplied by the caller and appends it to a storage directory path, then writes the file without verifying the result stays within that directory. Classic stuff. The server also ships with authentication disabled by default, so anyone who can reach it over the network can trigger the write. No account required.

The server writes files with whatever privileges its process account holds, which caps the immediate damage, but that ceiling is higher than you might hope. If the attacker can write to a location Python loads at startup, they can run arbitrary code. That is precisely what happened here.

Amazon pieced together the attack after stumbling across the operator's own Cairn control panel sitting on the open internet with no password protecting it. Cairn is an open-source framework that orchestrates AI agents as automated penetration testers. The exposed panel handed investigators the agents' prompts, task configurations, and full run history, which is an embarrassing operational security failure that turned a covert campaign into a documented case study.

Over roughly 48 hours in September, the agents probed MONAI Label's interface and reached the point of writing arbitrary files in about 11 minutes. The operator set the objective, shell access, and picked the targets. The agents chose their own methods from there. No hand-holding required.

Root access came in a follow-up session. The agents used the same path-traversal flaw to plant a file in a location Python loads automatically on startup, then triggered one of MONAI Label's training features to spin up a new Python process. That process loaded the planted file and called back to the attacker as root. Clean, if unsettling.

That root shell was on one specific university server. Whether the same trick works elsewhere depends entirely on how MONAI Label is deployed and what the service account is permitted to do.

A second university network running the same software was later handed to the agents via a tunnel. Amazon believes it was compromised the same way but has not confirmed this.

Attribution is moderate confidence China-linked, based on Simplified Chinese prompts, China Standard Time settings, and targets consistent with Chinese intelligence interests. No named group has been identified and no government connection has been established.

The MONAI Label maintainers confirmed the flaw and merged a fix on October 19. The patch forces uploads to resolve inside approved directories and rejects empty filenames or names starting with a dot. However, there is still no patched release available to install. The latest published package remains 0.8.5 from 2024. A merged fix in a repository is not a package you can deploy.

The CVE is now assigned as CVE-2026-133968, rated 9.8 out of 10. Critical. The project's own advisory still shows no CVE listed, which appears to be a documentation lag rather than a separate issue.

If you are running MONAI Label, there is no patched version to update to, so the practical response is damage limitation. Block untrusted network access at the firewall level, not by obscuring the URL. Enable authentication, since the server leaves it off by default. Run the process under a restricted account rather than root. If you are building from source, verify the October fix is actually included before assuming it is clean. And if the server was reachable from untrusted networks, check for unexpected Python startup files and unusual training job activity.

Amazon's account is their own reconstruction and has not been independently verified. There is no evidence patient data was accessed or that clinical systems were touched beyond the two described university targets. The campaign also included failed attempts, and one successful root shell does not mean every MONAI Label deployment would yield the same result.

READ NEXT
AI Agents Discovered and Exploited a Zero-Day in 11 Minutes. Defenders Are Already Behind.AI Agents Are Now Finding and Exploiting Zero-Days Faster Than Most Human PentestersAI Agents Exploited a Medical Imaging Zero-Day in Under 12 Minutes