MONAI Label 0.8.6 Patches CVE-2026-133968, the Zero-Day AI Agents Exploited: Who Is Affected and How to Update
MONAI Label 0.8.6 is out with the fix for CVE-2026-133968, a path traversal zero-day that attackers' AI agents used to get root. Who is affected and what to do.
Table of contents
The MONAI Label project has shipped version 0.8.6, the first release that fixes CVE-2026-133968, a critical path traversal flaw that a China-linked operator exploited as a zero-day, using AI agents that found the bug on their own. The package appeared on PyPI at 01:27 UTC on November 22, 2026, one day after reports noted that a source fix existed but no installable release did. If you run MONAI Label 0.8.5 or earlier, upgrade now, keep the server off untrusted networks, and check whether it was reachable before the patch.
What happened
MONAI Label is an open-source server from Project MONAI that helps researchers and clinicians label medical images with AI assistance. On November 20, Amazon Threat Intelligence published a report, summarised by The Hacker News and the Cloud Security Alliance, describing a campaign in early September 2026. An operator ran Cairn, an open-source framework that uses AI agents as automated penetration testers, against university research networks in East Asia.
According to those reports, the agents mapped a MONAI Label server's API and got arbitrary file writes in about 11 minutes. That figure is the time to a file write, not to full control. In a later session, the agents wrote a Python reverse shell into sitecustomize.py, a file Python loads automatically at startup. They then called a training API that started a new Python process, which ran the shell as root.
The project merged a fix for the underlying bug on October 19, but the newest PyPI release was still 0.8.5 from November 2024. That gap closed today with 0.8.6.
Confirmed facts vs. reported details
Verified in the project's code and on PyPI:
monailabel0.8.6 was uploaded to PyPI on November 22, 2026. Its git tag includes commit113527b, "fix: confine datastore write paths (#1915)".- That commit says image and label IDs supplied by users were put into file paths by
LocalDatastore.add_image()andsave_label()without validation. The fix checks that every destination stays inside the datastore directory, and the/datastore/imageendpoint now strips directory components and returns HTTP 400 for invalid IDs. - 0.8.6 also includes a separate fix (#1942, merged November 21) that makes session archive uploads extract safely, rejecting tar entries that point outside the target folder, links, and special files.
- 0.8.6 requires Python 3.11 or newer.
- By default,
monailabel start_serverlistens on all interfaces (0.0.0.0) on port 8000, and authentication (MONAI_LABEL_AUTH_ENABLE) is off. - On November 19, the project added a warning to its README: MONAI Label is not meant to face the internet, has known security weaknesses, and should run only on a closed, trusted LAN.
Reported by Amazon (via secondary coverage), not independently verified:
- The vulnerable request is a
PUTto/datastore/imagewith a traversal sequence such as../in the image identifier. CVE Brief and SecurityOnline list a CVSS score of 9.8 and say the flaw has been exploited in the wild. - Amazon attributes the activity to a China-linked actor with moderate confidence, based on Simplified Chinese prompts, China Standard Time settings and the choice of targets. It names no group.
- One university server was confirmed compromised. A second network running the same software was reached through a tunnel and is believed, but not confirmed, to have been compromised the same way.
- No clinical systems or patient data were reported as accessed.
Sources disagree on some details. One lists the weakness as CWE-24 and another as CWE-22, and early reports differed on whether a CVE had been assigned yet. None of this changes what you need to do.
Why this one matters beyond medical imaging
Two things make this incident worth attention even if you never touch MONAI.
First, it is a documented case of attacker-run AI agents finding and exploiting an unknown bug in real software, with little human direction, in minutes. The bug itself is ordinary: user input joined into a file path. Automated agents are good at finding that kind of mistake at scale.
Second, it follows a pattern we keep seeing with AI and ML infrastructure: research tools built for trusted labs end up reachable from wider networks, often running as root with no authentication. The LiteLLM flaw exploited in LLMjacking attacks this week is another example. Treat model servers, labelling tools and notebooks as production services, not lab toys.
Who is affected
- Anyone running MONAI Label 0.8.5 or earlier, whether installed from PyPI, from source before October 19, or from an older Docker image.
- Highest risk: servers reachable from the internet or from large shared networks, such as campus or hospital networks, especially with authentication off (the default) and the process running as root.
- Turning authentication on helps, but CSA notes that even the low-privilege annotator role could reach the vulnerable endpoint, so it is not a substitute for patching.
What to do now
1. Upgrade to 0.8.6. Check your version and upgrade inside the environment the server uses. If you need a fresh environment, our Python venv guide covers the setup.
python --version # must be 3.11 or newer for 0.8.6
pip show monailabel # check the installed version
pip install --upgrade "monailabel==0.8.6"
Restart the server afterwards. If you run your own Docker image, rebuild it on 0.8.6.
2. Reduce exposure. Bind the server to a specific internal address instead of 0.0.0.0, firewall port 8000 so only known clients can reach it, enable authentication, and run the process as a dedicated non-root user that can write only to its datastore.
monailabel start_server --app radiology --studies /data/studies --host 10.0.0.5 --port 8000
3. Look for signs of earlier compromise if the server was reachable by untrusted clients before you upgraded:
- Web or proxy logs with
PUT /datastore/imageor/datastore/labelrequests containing../, encoded traversal or absolute paths. - Unexpected
sitecustomize.py,usercustomize.pyor new.pthfiles in the Python environment. - Training jobs started shortly after a datastore upload, new SSH keys, cron jobs, or outbound connections you can't explain.
python -c "import site, sys; print(site.getsitepackages(), sys.prefix)"
find / -name "sitecustomize.py" -o -name "usercustomize.py" 2>/dev/null
grep -E "PUT /datastore/(image|label)" /var/log/nginx/access.log | grep -E "\.\./|%2e%2e" -i
Adjust the log path to your setup. As with the vCenter zero-day we covered this week, patching does not remove an intruder who is already inside. If you find evidence, rebuild the host from a clean image, then rotate any credentials, tokens and keys stored on it.
What we don't know yet
As of publication, the GitHub release notes for 0.8.6 and the full Amazon indicator list were not available to us for independent review. We also could not confirm whether CISA has added the CVE to its Known Exploited Vulnerabilities catalog. The README warning about other "known, unpatched" weaknesses remains in 0.8.6, so expect further fixes. We will update this article if the project or Amazon publishes more details.
Frequently asked questions
+Which MONAI Label versions are vulnerable to CVE-2026-133968?
All releases up to and including 0.8.5. Version 0.8.6, published to PyPI on November 22, 2026, is the first release that contains the datastore path fix.
+Is MONAI Label safe to put on the internet after upgrading to 0.8.6?
No. The project's own README still warns that MONAI Label has known security weaknesses and should only run on a closed, trusted network. Upgrade, and keep the server off the public internet.
+Does upgrading remove an attacker who already got in?
No. The update closes the hole but does not undo files an attacker wrote, such as a malicious sitecustomize.py. If the server was reachable by untrusted clients before you upgraded, investigate it and consider rebuilding it.
+Why does pip refuse to install monailabel 0.8.6?
Version 0.8.6 requires Python 3.11 or newer. On Python 3.10 or older, pip will not offer it, so you need a newer Python environment first.
Sources & references
- PyPI — monailabel 0.8.6 (uploaded Nov 22, 2026)
- Project-MONAI/MONAILabel (GitHub) — fix: confine datastore write paths (#1915), Oct 19, 2026
- Project-MONAI/MONAILabel (GitHub) — fix: confine session archive extraction (#1942), Nov 21, 2026
- The Hacker News — Attackers' AI agents found a zero-day in MONAI Label (Nov 21, 2026)
- Cloud Security Alliance Labs — Research note: MONAI Label agent-discovered zero-day (Nov 21, 2026)
- SecurityOnline — MONAI Label zero-day CVE-2026-133968 exploited in the wild (Nov 21, 2026)
- CVE Brief — CVE-2026-133968
Spotted an error? See our Corrections Policy.
- #monai-label
- #cve
- #zero-day
- #path-traversal
- #ai-agents
- #python
- #medical-imaging
- #vulnerability
Dipak SuryawanshiFounder & Editor
Dipak Suryawanshi is a backend developer who works with Java and Spring Boot, focused on building APIs, clean architectures and developer tools. He founded KernelBrief, an independent technology publication based in India, sets its editorial direction and is responsible for everything published on it. Every KernelBrief article is researched and checked against primary sources such as official documentation, vendor advisories and release notes before it is published.
Related articles
VMware vCenter Zero-Day CVE-2026-123890 Was Exploited for Months: Who Is Affected and How to Patch
VMSA-2026-0009 fixes vCenter auth bypass CVE-2026-123890, exploited since September per Mandiant. Fixed builds, no workaround, and what to check.
· 6 min read
LiteLLM Flaw CVE-2026-40217 Is Being Exploited in LLMjacking Attacks: Who Is Affected and How to Patch
CISA added LiteLLM flaw CVE-2026-40217 to its exploited list. Affected versions, why it matters for LLMjacking, and how to patch and rotate keys.
· 7 min read
F5 BIG-IP Buffer Overflow Flaws: Six Critical CVEs, Who Is Affected and How to Patch
F5 disclosed six critical BIG-IP stack buffer overflows (CVSS 9.8) that crash TMM without login. Affected versions, risky configs and hotfixes.
· 4 min read