For two years MONAI Label, an open-source tool that helps researchers label medical images for AI training, shipped no new release. Then, in the space of four days in November 2026, it shipped three security releases, and one of the bugs they fix is now on CISA’s list of vulnerabilities attackers are actively using.
In short: MONAI Label CVE-2026-133968 is a critical path traversal that lets anyone who can reach a default MONAI Label server write files anywhere the server can write, and it was used in a real intrusion. Version 0.8.6 fixes it, but 0.8.7 and 0.8.8 fixed more critical code execution bugs days later, so upgrade straight to 0.8.8.
- What is MONAI Label CVE-2026-133968?
- Why is the default configuration the real problem?
- How was CVE-2026-133968 exploited in the wild?
- Timeline: from quiet release gap to KEV
- Why is upgrading to 0.8.6 not enough?
- How does this compare with the other MONAI Label advisories?
- Who is affected and how do you check exposure?
- How do you detect exploitation of CVE-2026-133968?
- What should defenders do now?
- What is still unknown?
- The bottom line
- Sources
What is MONAI Label CVE-2026-133968?
CVE-2026-133968 is an arbitrary file write in the MONAI Label server, caused by a path traversal in two upload endpoints. A path traversal is a bug where a program accepts a file name containing ../ sequences and ends up reading or writing outside the folder it meant to use.
The project’s advisory, GHSA-qc22-rmgc-vg94, describes the flaw this way. PUT /datastore/image takes an image query parameter and uses it as the image ID without validation. The datastore code adds a file extension, joins the ID onto the image directory and copies the uploaded file to the result. Nothing checks that the final path is still inside the datastore.
PUT /datastore/label builds its destination from the image ID and a label tag in the same way, so it has the same problem.
| Field | Value |
|---|---|
| CVE | CVE-2026-133968 (GHSA-qc22-rmgc-vg94) |
| Product | MONAI Label (pip package monailabel) |
| Affected | All versions up to and including 0.8.5 |
| Fixed | 0.8.6 (22 November 2026); install 0.8.8 |
| Severity | Critical, CVSS 3.1 score 9.8 per the CVE record |
| Weakness | CWE-22 in the advisory, CWE-24 in the CVE record |
| Authentication | None by default; annotator role if auth is on |
| CISA KEV | Added 23 November 2026 |
What is MONAI Label used for?
MONAI Label is part of Project MONAI, an open-source medical imaging AI effort. Its GitHub repository describes it as an intelligent image labeling and learning tool. It runs a server that serves AI models for segmentation and annotation and plugs into viewers such as 3D Slicer, OHIF and CVAT. The repository had 920 stars and 280 forks when we checked the GitHub API on 30 November 2026, and it is Apache-2.0 licensed.
That makes it niche compared with a web server or a VPN, but its users are exactly the kind of organisation attackers like: university research labs and hospital imaging teams, often running GPU servers on research networks with looser controls than the corporate side.
Why is the default configuration the real problem?
The bug would be far less serious if MONAI Label required a login. It does not by default. Every advisory in this batch repeats the same warning: authentication is disabled out of the box through the setting MONAI_LABEL_AUTH_ENABLE=False.
With that default, any client that can open a connection to the server can call the upload endpoints. With authentication turned on, the advisory says the ANNOTATOR role is still enough, so turning on auth narrows the attacker pool but does not remove the bug.
What can an attacker do with an arbitrary file write?
An arbitrary file write means the attacker chooses both the content and the location of a file on the server. The advisory lists the obvious routes to code execution: overwriting application code, adding a key to .ssh/authorized_keys, or adding a cron entry. It also notes that overwriting configuration files can take the service down.
The damage depends on which account runs the server. In the one documented intrusion, that account was root.
How was CVE-2026-133968 exploited in the wild?
The flaw was found by attackers, not researchers. Amazon Threat Intelligence reported that AI agents built on the open-source Cairn framework discovered and used it during an attack on a university, as covered by Help Net Security. We told the full agent story in Cairn: The AI Agents That Found a Zero-Day on Their Own; here we focus on the vulnerability itself.
According to Help Net Security’s account of Amazon’s findings, the campaign began on 8 September 2026 against universities in East Asia outside mainland China. The operator gave the agents a list of IP addresses and the goal of getting shell access. After many hours of failed attempts against other services, the agents mapped the MONAI Label API and reached an arbitrary file write in about 11 minutes.
From file write to root, conceptually
Help Net Security quotes Amazon describing the next step. The agents wrote a Python reverse shell into sitecustomize.py, a module that Python imports automatically whenever a new interpreter starts. They then called a training endpoint, which spawns a new Python process. That process imported the planted file and opened a shell running as root.
This is worth understanding even if you never run MONAI Label. Any Python service that can be made to write into its own import path, and then made to start a new interpreter, can be turned into code execution the same way.
Was a second organisation hit?
Possibly. Help Net Security reports that the operator later gave the agents a proxy tunnel into a second university network running the same software, and that Amazon’s analysts believe the same flaw was used there. That is stated as an assessment, not a confirmed finding.
Who was behind it?
Amazon attributes the activity to a Chinese-nexus threat actor, based on a Cairn control panel the operator left publicly reachable without authentication, according to Help Net Security. No public source we reviewed names a specific group, and no source gives a formal confidence level.
Timeline: from quiet release gap to KEV
The dates explain why so many servers are likely still vulnerable. PyPI shows MONAI Label 0.8.5 was uploaded on 25 November 2024. The next release, 0.8.6, arrived on 22 November 2026, 727 days later. Any server installed in that window got the vulnerable version.
| Date | Event | Source |
|---|---|---|
| 25 Nov 2024 | MONAI Label 0.8.5 published on PyPI | PyPI |
| 8 Sep 2026 | Campaign against East Asian universities begins | Amazon via Help Net Security |
| 19 Oct 2026 | Fix (pull request 1915) merged | Ostorlab, ZeroPath |
| 18 Nov 2026 | GHSA-qc22-rmgc-vg94 published | GitHub |
| 22 Nov 2026 | 0.8.6 released with the fix | GitHub, PyPI |
| 23 Nov 2026 | CISA adds CVE-2026-133968 to KEV | CISA |
| 25 Nov 2026 | 0.8.7 and 0.8.8 released, about six hours apart | GitHub, PyPI |
The advisory credits the original report to Amazon’s vulnerability disclosure account. It was first filed against the main MONAI repository and then re-filed against MONAI Label so the CVE would land on the right project.
Ostorlab reports a federal remediation deadline of 26 November 2026, three days after the KEV listing. The CISA alert itself lists the addition but not the date, so check the KEV catalog entry if that deadline matters to you.
Why is upgrading to 0.8.6 not enough?
Because the KEV bug was only the first of several. Once the datastore flaw was public, researchers and the maintainers looked harder at how MONAI Label handles request data, and they found more ways in. Three days after 0.8.6, the project shipped two more security releases.
What 0.8.6 fixed
The 0.8.6 release notes list two path traversals. The first is CVE-2026-133968. The second is in session upload: PUT /session/?uncompress=true unpacked tar archives without checking member names, so a crafted archive could write outside the session directory. That second bug was later published as GHSA-5c65-q9f6-h62q, rated high with a CVSS score of 8.2.
What 0.8.7 fixed
0.8.7 closed GHSA-j5c7-p3x5-gw2x, rated critical at 9.8. Task requests for training, scoring and batch inference accepted a client-supplied bundle_path, which the server added to the Python import path of the task process. The advisory says a caller who can also place a Python file somewhere readable could get it executed. The reporter verified it on 0.8.6, so the first patch did not cover it.
0.8.7 also fixed a medium-rated path confinement issue in the DICOMweb datastore and a bug where, with PyJWT 2.x, every authentication token was rejected.
What 0.8.8 fixed
0.8.8 closed GHSA-gfjg-c3x6-24gw, also critical at 9.8. MONAI’s bundle configuration parser treats a string starting with $ as a Python expression. Request values for bundle inference and training were copied into that configuration, so a request could run code in the server process.
A maintainer review then produced GHSA-xhxp-5f3g-gxxx, a list of further fixes: request values reaching command lines, a missing role check on POST /reload, image files whose headers point at other files, a DICOM proxy that could be steered off its endpoint, and client plugins that trusted file names sent by the server.
How does this compare with the other MONAI Label advisories?
The table puts the six November advisories side by side. Only the first is in KEV, but the others are just as reachable on a default server.
| Advisory | Issue | Severity | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-qc22-rmgc-vg94 (CVE-2026-133968) | Datastore upload path traversal | Critical, 9.8 | up to 0.8.5 | 0.8.6 |
| GHSA-5c65-q9f6-h62q | Session tar extraction traversal | High, 8.2 | up to 0.8.5 | 0.8.6 |
| GHSA-j5c7-p3x5-gw2x | Client-supplied bundle_path on import path | Critical, 9.8 | 0.6.0 to 0.8.6 | 0.8.7 |
| GHSA-cgpr-79vx-xr5x | DICOMweb cache path confinement | Medium | up to 0.8.6 | 0.8.7 |
| GHSA-gfjg-c3x6-24gw | Request values evaluated in bundle config | Critical, 9.8 | 0.7.0 to 0.8.7 | 0.8.8 |
| GHSA-xhxp-5f3g-gxxx | Maintainer review findings | Critical | up to 0.8.7 | 0.8.8 |
The pattern is familiar from other exploited bugs this month. In GeoServer CVE-2026-129243, the KEV entries were links in a longer chain, and in Drupal Fail2Install the first patch needed a follow-up. A KEV listing tells you one bug is being used; it does not tell you the product is now clean.
Who is affected and how do you check exposure?
Any organisation running a MONAI Label server below 0.8.8 is affected by at least one critical advisory. The highest risk is a server that is reachable from the internet or a wide research network, runs with default settings, and runs as root or as a user with broad write access.
Find your servers
- Check the installed version on each host with
pip show monailabel, or the tag of anyprojectmonai/monailabelcontainer image. - Check whether
MONAI_LABEL_AUTH_ENABLEis set toTrue. If it is unset, authentication is off. - Check where the server listens. A server bound to all interfaces on a research network is reachable by far more people than its users.
- Check which account runs it. The release notes ask for an unprivileged user with write access limited to the datastore.
- Ask research teams directly. Annotation servers are often set up by a single lab outside central IT, so asset inventories may miss them.
None of the sources we reviewed publish an internet scan count for exposed MONAI Label servers, so we cannot say how many are online.
How do you detect exploitation of CVE-2026-133968?
Look in three places: web access logs, the file system and process activity. Ostorlab and ZeroPath both published hunting guidance; the points below summarise it.
Web and proxy logs
PUTrequests to/datastore/imageor/datastore/labelwhose parameters contain../or its URL-encoded form (%2e%2e).PUT /session/requests withuncompress=truefrom unexpected clients.- A burst of API enumeration from one source followed by upload requests. On patched builds, clusters of HTTP 400 responses to these endpoints suggest probing.
- Training, scoring or batch inference requests that carry a
bundle_pathvalue, or values starting with$.
File system
- A
sitecustomize.pyorusercustomize.pyfile that nobody on the team created, or recently modified files in Pythonsite-packages. Ostorlab notes a legitimatesitecustomize.pycan exist, so treat a hit as a lead. - New entries in
.ssh/authorized_keysor cron for the server account. - Files outside the datastore owned by the server account with recent timestamps.
Process and network behaviour
- A training request followed by a new Python child process that makes outbound connections.
- Outbound sessions or internal scanning from the imaging server, which normally talks only to viewers and data stores.
Indicators and ATT&CK
Ostorlab and ZeroPath both cite two IP addresses from Amazon’s report, observed from 8 to 10 September 2026: 142.4.98[.]145 and 142.4.107[.]34. Amazon does not state the role of each address, and addresses like these are often reused, so use them for retrospective searches, not blocking decisions.
No source published a MITRE ATT&CK mapping. Our own mapping of the documented behaviour is T1190 (Exploit Public-Facing Application) for the initial write and T1059.006 (Command and Scripting Interpreter: Python) for the planted module. ZeroPath states no vendor Sigma, YARA or Suricata rules existed when it wrote its analysis.
What should defenders do now?
- Upgrade every MONAI Label server to 0.8.8 or later. Do not stop at 0.8.6: two critical remote code execution bugs remain in it. Note that 0.8.6 and later require Python 3.11 or newer, so older environments may need a rebuild.
- Update the clients too. The 0.8.8 notes ask users of the Python client and the 3D Slicer plugin to update, because they trusted file names sent by the server.
- Turn on authentication. Set
MONAI_LABEL_AUTH_ENABLE=Trueand grant the annotator and admin roles only to trusted users. - Take the server off untrusted networks. Bind it to localhost or a restricted segment, or put it behind an authenticated proxy.
- Run it as an unprivileged account whose write access is limited to the datastore.
- Review any server that was exposed while on 0.8.5 or older. The release notes explicitly ask for a check for unexpected file changes before returning it to service. Rebuild if you find anything you cannot explain.
- Add the hunting queries above to your web and endpoint monitoring for at least the period since September 2026.
What is still unknown?
- Exposure. No public scan count exists, so the size of the exposed population is unknown.
- Other victims. CISA’s listing confirms exploitation but gives no details. Beyond the university case, and the second network Amazon believes was compromised, no victims are public.
- Data impact. Ostorlab notes the public reporting does not show that patient scans or records were taken. Research servers can hold de-identified or identifiable imaging data, so each affected organisation needs to answer that for itself.
- Exploitation of the later bugs. Only CVE-2026-133968 is in KEV. There is no public evidence yet that the 0.8.7 and 0.8.8 bugs have been used, but they are equally reachable on default servers.
- The fix delay. The fix was merged on 19 October but shipped on 22 November. The sources do not explain the gap.
The bottom line
MONAI Label CVE-2026-133968 turned an unauthenticated upload endpoint into a root shell, and attackers used it before anyone else knew it existed. The 0.8.6 patch fixed that bug but not the two critical code execution flaws found in the following days. Upgrade to 0.8.8, turn on authentication, and check any server that was exposed for files you did not put there.
Sources
- GitHub advisory GHSA-qc22-rmgc-vg94: Path traversal in datastore upload endpoints
- GitHub advisory GHSA-5c65-q9f6-h62q: Tar path traversal in session upload
- GitHub advisory GHSA-j5c7-p3x5-gw2x: RCE via client-controlled bundle_path
- GitHub advisory GHSA-gfjg-c3x6-24gw: RCE through request values in bundle tasks
- MONAI Label releases 0.8.6, 0.8.7 and 0.8.8
- PyPI: monailabel release history
- CISA: CISA Adds Two Known Exploited Vulnerabilities to Catalog (23 November 2026)
- Help Net Security: Open-source AI pentesting framework Cairn keeps turning up in real-world attacks
- Ostorlab: MONAI Label Path Traversal RCE, Exploited (CVE-2026-133968)
- ZeroPath: MONAI Label CVE-2026-133968 path traversal to remote code execution
This article is written for defenders and authorised security testers. Only test systems you own or have written permission to assess.