If you run MONAI Label 0.8.5 or earlier on any network you do not fully trust, upgrade to 0.8.6 today, switch authentication on, and check the server for files you did not write. Attackers using the open-source agent platform Cairn told their agents to "obtain shell access," and the agents found an unknown path traversal flaw in the medical imaging annotation server and used it to get root, going from mapping the application's API to exploiting the vulnerability in 11 minutes, according to Amazon Threat Intelligence as reported by BleepingComputer. The flaw was reachable without a login because MONAI Label ships with authentication disabled by default.
The fix is out. MONAI Label 0.8.6 shipped on November 22, 2026, and its release notes say plainly: "This is a security release. All MONAI Label server deployments should upgrade." The harder question for a CISO is what the 11 minutes means for every other self-hosted ML tool your researchers have stood up on a lab subnet.
What Happened to the MONAI Label Server?
An attacker's AI agents found and exploited a zero-day on their own, with the operator supplying little more than a goal. Per BleepingComputer's account of Amazon Threat Intelligence's findings, published November 20, the activity ran between September 8 and 10, 2026, mainly against East Asian educational institutions outside China. Amazon could see it because the attackers had left their own Cairn instance publicly accessible without authentication.
The agents used the traversal bug to write a Python reverse shell into sitecustomize.py, then triggered an API endpoint that gave them root access. The choice of file matters for your hunt. Python's own documentation says the site module "is automatically imported during initialization" and then tries to import a module named sitecustomize, "which can perform arbitrary site-specific customizations." Anything written there runs every time the interpreter starts.
The operator then gave the agents a proxy into a second university network running the same vulnerable software. Amazon attributes the campaign to a China-nexus actor with moderate confidence, based on the language of the recovered prompts, activity timestamps and target selection. Two published indicators are the IP addresses 142.4.98.145 and 142.4.107.34, seen September 8 to 10.
The same agents also failed. A 16-hour, 148-action attempt on a Redis server got nowhere, and more than 30,000 credential guesses over six hours did not break into a university GPU server. Agents are fast against a bug that exists and slow against a service with authentication on, so basic configuration still buys you most of the protection.
How Does the MONAI Label Vulnerability Work?
The bug is a path traversal (CWE-22) in the datastore upload endpoints, and it lets any client that can reach the server write a file anywhere the server process can write. The GitHub advisory GHSA-qc22-rmgc-vg94, rated Critical and published November 18, explains that PUT /datastore/image takes a caller-controlled image query parameter and uses it as the image ID without validation. LocalDatastore.add_image() appends an extension, joins the ID onto the datastore directory and copies the upload there, so an ID such as ../../../tmp/x escapes the directory. PUT /datastore/label builds its destination the same way.
The advisory lists the obvious ways to turn a file write into code execution: overwrite application code, or add an entry to .ssh/authorized_keys or cron. The attackers picked a fourth.
Two conditions make it worse than a typical traversal. First, the advisory states that "Authentication is disabled by default (MONAI_LABEL_AUTH_ENABLE=False)", and even with authentication on, the low-privilege ANNOTATOR role is enough to exploit it. Second, there is another bug. The 0.8.6 release notes describe another traversal in PUT /session/?uncompress=true, which "extracted uploaded tar archives without checking member names," with session IDs also used as paths. It affects every version through 0.8.5 and was fixed in pull request #1942. The release notes give it no CVE or advisory ID, so a scanner that matches on IDs will not report it.
MONAI Label is an Apache-2.0 open-source image labeling and learning tool whose README lists 3D Slicer and the OHIF web viewer among its radiology clients. That README already warns that it "is not intended to be run as an internet-facing application" and that "there are a number of known, unpatched security issues."
Why Did the Fix Take Five Weeks to Ship?
The code fix existed well before any release did, and that gap is where a lot of self-hosted ML risk lives. Pull request #1915, "fix: confine datastore write paths," was merged on October 19, 2026. It makes add_image() and save_label() resolve the destination and reject anything outside the datastore directories, and makes the image endpoint keep only the basename of the ID. The advisory credits the original report to Amazon's vulnerability disclosure program and says the fix "will be included in the next MONAI Label release."
That next release was 0.8.6, published November 22. For five weeks the patch sat on the main branch while pip install monailabel still pulled 0.8.5, so a team that installs from releases had nothing to install. The exploitation Amazon saw happened in early September, before the fix was written.
Two record-keeping mismatches will trip up your tooling this week:
- As of November 23, the GitHub advisory page still lists "Patched versions: None" and "No known CVE," while the 0.8.6 release notes cite CVE-2026-133968 and say the issue is fixed. A dependency scanner reading the GitHub advisory database may report the package as unpatchable, and a scanner keyed on the CVE may not match it to the advisory at all.
- 0.8.6 drops Python 3.9 and 3.10 and requires Python 3.11 or newer. An old lab image on Python 3.10 will not take the upgrade with a one-line
pip install -U, and that is how servers stay on the vulnerable version.
What Is Cairn, and Why Does It Change the Timeline?
Cairn is an open-source agent orchestration engine that its authors describe as "a general-purpose problem-solving engine," with penetration testing as the first domain it has been validated on. According to the project's README, it coordinates agent workers through a shared blackboard of facts and intents, supports Claude Code, Codex and Pi as worker backends, and is licensed under AGPLv3. Its authors claim it solved 54 of 54 problems in a Tencent Cloud AI penetration-testing hackathon; that is the project's own claim.
There is a fair case for calm. Path traversal is one of the oldest bug classes on the CWE list, and a competent human tester could have found this one too. What changed is cost: the operator typed a goal, and the agents mapped an unfamiliar API, spotted the flaw, chose a persistence file that runs on interpreter start, and then went after a second network once the operator handed them a proxy into it, all at machine speed. You can no longer assume an obscure internal tool is safe because no human attacker would bother learning its API.
This fits a pattern we have been tracking. Google described attackers turning patch diffs into working exploits, and earlier this month an agentic pentest framework sat behind the ConnectWise OAuth attack. Self-hosted AI infrastructure keeps producing these bugs, from the SGLang RCE at NEAR AI to vLLM's October advisories and LiteLLM's CVE-2026-40217.
What to Do About MONAI Label and Similar ML Servers
Patch first, then assume the old server may already be compromised and look for proof either way.
This Week:
- Inventory every MONAI Label instance, including the ones a research group runs in Docker on a GPU box. Search for
monailabelin container images, Python environments and listening ports, and record the version. - Upgrade to 0.8.6 with
pip install -U monailabel==0.8.6ordocker pull projectmonai/monailabel:0.8.6, per the release notes. Move Python 3.10 hosts to 3.11 in the same change window. - Set
MONAI_LABEL_AUTH_ENABLE=Trueand grant theANNOTATORrole only to named staff. Run the service as an unprivileged user that can write only to its datastore, as the advisory recommends. - Hunt before you return a server to service, which the 0.8.6 notes ask of any 0.8.5 or older server that was reachable from an untrusted network. Look for any
sitecustomize.pyorusercustomize.pyin site-packages, new keys inauthorized_keys, new cron entries, and files outside the datastore with modification times after install. Search proxy and firewall logs for142.4.98.145and142.4.107.34, and web logs forPUT /datastore/imagerequests whoseimageparameter contains../.
This Month:
- Fix the scanner gap: add a manual exception that marks
monailabel0.8.6 as fixed for GHSA-qc22-rmgc-vg94 and CVE-2026-133968 until the advisory is updated, so your dashboard does not show a phantom unpatchable finding that people learn to ignore. - Write an exposure rule for research tooling. Annotation servers, notebook servers and model-serving endpoints that default to no authentication should never be reachable from outside a segment you control. Check what your clinical imaging and research networks actually expose; you probably have more than one of these.
- Reset your exposure SLA. If your internal review assumes days between an internet-facing service appearing and someone exploiting it, Amazon's 11 minutes from first API mapping to working exploit suggests that once an attacker's agents find a tool with a reachable bug, the remaining window is minutes. Discovery of a new listener should page someone the same day.
- For the open-source ML tools you depend on most, watch merged security pull requests on the main branch as well as the releases page. A security fix merged upstream five weeks before a release is a signal you can act on early with a pinned commit or a firewall rule.
The Bottom Line
Research tools that ship without a login have always been exposed; what protected most of them was that exploiting each one took a human with time to spare. Cairn removes most of that cost. The vendor's own fix took five weeks to reach a release, and the attacker's agents needed 11 minutes, so your exposure controls have to work without waiting on either.
Upgrade to 0.8.6, turn authentication on, and check for a planted sitecustomize.py before the server goes back on the network.
Continue Reading
- Google Finds Attackers Turning Patch Diffs Into Working Exploits
- Audit Microsoft 365 App Grants After Storm-0940's ConnectWise Attack
- NEAR AI Says SGLang RCE May Have Exposed Confidential Requests
- vLLM 0.30.0 Can Run Code Through Ghostscript Images
- Your LiteLLM Proxy May Need More Than a Patch for CVE-2026-40217
- DNI Says PHP Patch Changes Left NSA Systems Offline
