AI hacking agents found a MONAI Label bug on their own and took over servers. Update to 0.8.6 (CVE-2026-133968, CISA KEV)

6 min read

How to fix CVE-2026-133968: upgrade monailabel to 0.8.6. CISA added this MONAI Label bug to its exploited list on Nov 23. Attackers' AI agents found it on their own and used it to write files onto medical imaging AI servers and take them over. Login is off by default, so no password is needed.

BREAKING: AI hacking agents found a MONAI Label bug on their own and took over servers. Update to 0.8.6 (CVE-2026-133968, CISA KEV)
On this page

Attackers pointed a set of AI hacking agents at university networks, and the agents found an unknown hole in MONAI Label on their own. MONAI Label is the open-source server that medical imaging and research teams use to label scans and train models on them. The agents used the hole to write files onto the server and then to take it over as the root user. On November 23, 2026, CISA added the bug, CVE-2026-133968, to its Known Exploited Vulnerabilities catalog. US federal agencies have until November 26 to fix it, and CISA also asks them to check the server for signs of compromise.

The fix is MONAI Label 0.8.6, released on the evening of November 21 (US Eastern). Every earlier version is affected. MONAI Label ships with login turned off, so in the default setup anyone who can reach the server over the network can use this bug. No password is needed.

How to fix

Upgrade to 0.8.6 and restart the server. Pin the version so pip cannot quietly keep you on the old one:

pip install "monailabel==0.8.6"

# Docker
docker pull projectmonai/monailabel:0.8.6

One trap: 0.8.6 needs Python 3.11 or newer. On Python 3.9 or 3.10, a plain pip install -U monailabel skips 0.8.6 and leaves you on 0.8.5 without an error. The pinned command above fails loudly instead, which is what you want. If that server is still on Python 3.10, move it to 3.11 first or switch to the 0.8.6 Docker image, which runs Python 3.12.

Then confirm what is actually running:

pip show monailabel | grep -i '^version'

If you cannot upgrade today, do these three things, all from the project's own advisory:

  • Take the server off any network you do not trust. The default port is 8000. The project now says plainly that MONAI Label is not meant to face the internet.
  • Turn on login with MONAI_LABEL_AUTH_ENABLE=True, and give the annotator role only to people you trust. With login on, an annotator account is still enough to use this bug.
  • Run the server as an ordinary user that can write only to its datastore folder, not as root.

What happened

Amazon Threat Intelligence found an exposed instance of Cairn, an open-source AI penetration-testing tool, that an attacker had left online without a password. Its history showed the attacker giving the agents a list of university IP addresses in East Asia and a plain goal: get shell access. Over about 48 hours starting September 8, 2026, the agents worked on several targets. Most attempts failed. Against one server running MONAI Label, the agents mapped the API, found the image upload endpoint, tried a path trick on its file name parameter, and had arbitrary file writes in about 11 minutes.

In a later session they used that write to drop a Python reverse shell into sitecustomize.py, a file Python loads every time it starts. Then they called the training API, which starts a new Python process. That process loaded the payload and connected back as root. Amazon also says the attacker reached a second university network through a server running the same software, which points to a second compromised MONAI Label install. Amazon attributes the campaign, with moderate confidence, to a China-nexus actor and published two IP addresses seen September 8 to 10: 142.4.98.145 and 142.4.107.34.

Why the bug works

PUT /datastore/image takes an image query parameter and uses it as the image ID with no checks. The datastore adds a file extension, joins the ID onto its image folder, and copies the uploaded file there. Nothing checked that the final path stayed inside the datastore, so an ID like ../../../tmp/x lands wherever the server process can write. PUT /datastore/label built its path the same way. Pull request #1915 now resolves both destinations and refuses anything outside the datastore, and the endpoint strips the ID down to a bare file name.

The timeline is worth knowing if you run this in a lab. The fix was merged into the main branch on October 19, 2026. The public advisory went up on November 18. The pip and Docker release that contains the fix did not exist until November 21. For three days the bug was public and the only fix was building from source.

The 0.8.6 release also fixes a second path bug in session upload (PUT /session/?uncompress=true), where uploaded tar archives were unpacked without checking the file names inside them. It has no CVE of its own yet. The same upgrade covers both.

How to check if you were already hit

If a 0.8.5 or older server was reachable from a network you do not fully trust, the project says to review it for unexpected file changes before putting it back in service. Start with these:

  • Look for upload requests that climb out of the datastore. Uvicorn access logs record the query string, so this finds the plain and URL-encoded forms:
    grep -E 'PUT /datastore/(image|label)\?[^ ]*(\.\.|%2[eE]%2[eE]|%2[fF])' /path/to/monailabel-access.log
  • Check whether the Python environment the server uses has a sitecustomize module you did not put there. This finds it without running it:
    python3 -c "import importlib.util as u; s=u.find_spec('sitecustomize'); print(s.origin if s else 'none')"
    Most installs print none or a distro file you can recognise. A recently changed file in site-packages is a red flag.
  • Check ~/.ssh/authorized_keys and crontabs for the user the server runs as (often root inside the container), and look for outbound connections to 142.4.98.145 or 142.4.107.34.

If you find anything, keep the disk and logs before you rebuild. CISA's forensic triage guidance for this catalog entry asks for exactly that.

Who is not in scope

  • People who use the monai Python library to build or train models, with no MONAI Label server running. The bug was first reported against the MONAI repository, but the affected code lives in MONAI Label.
  • Radiologists and researchers who only use 3D Slicer or OHIF as clients. The server they connect to is what needs the update.
  • Servers already on 0.8.6.

What this is not

This is not a flaw in an AI model or in the medical images themselves, and it is not a poisoned package. It is an ordinary file upload bug in a web server that was left reachable with login off. What is new is who found it: an AI agent working through a target list without a person choosing each step.

HOL Guard keeps the source record for this issue in the CVE-2026-133968 evidence pack. This post is the operator write-up. If AI agents or automation on your team can reach a MONAI Label server, check if your agents touch this package with HOL Guard.

What do people ask about the MONAI Label KEV listing?

Is CVE-2026-133968 being exploited?

Yes. Amazon Threat Intelligence saw it used against universities starting in September 2026, before any fix existed, and CISA added it to the Known Exploited Vulnerabilities catalog on November 23, 2026.

Which MONAI Label version fixes it?

0.8.6. Every version up to and including 0.8.5 is affected. 0.8.6 needs Python 3.11 or newer.

What is the CISA deadline?

November 26, 2026, with forensic triage required for federal agencies.

Does turning on login fix it?

It narrows it. With MONAI_LABEL_AUTH_ENABLE=True, an attacker needs at least an annotator account. Only the upgrade closes the bug.

Did an AI really find this bug by itself?

According to Amazon, yes. The attacker gave the Cairn agents a goal and a target list, and the agents found and used the upload bug in about 11 minutes without the attacker picking each step. The attacker stepped in later to point the agents at a second network.

References

All articles

Keep exploring

The engineering desk continues across the ecosystem: security research on shipping agents safely, and plugins that put the standards to work.