Background
MONAI Label is an open-source server from Project MONAI that provides AI-assisted annotation for medical imaging. It exposes a REST API for uploading images and labels and for training models, and in our understanding it is typically deployed in research and university environments.
CVE-2026-133968 is a path traversal flaw in that API. The vendor advisory (GHSA-qc22-rmgc-vg94, published 18 November 2026) rates it Critical without a numeric score. The CVSS 3.1 base score of 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) comes from the CVE record’s CNA container (assigner: MITRE); NVD analysis was still pending (“Received”) on 24 November. CISA added it to the Known Exploited Vulnerabilities (KEV) catalog on 23 November 2026 with a due date of 26 November 2026. Amazon Threat Intelligence reports that the flaw was a zero-day when AI agents driven by a suspected Chinese-nexus actor exploited it in September 2026.
Technical Mechanism
The flaw is a path traversal (CWE-24 in the CVE record; the GitHub advisory lists the related, broader CWE-22). Per the vendor advisory:
PUT /datastore/imageaccepts a caller-controlledimagequery parameter and uses it as the image ID without validation.LocalDatastore.add_image()appends the file extension to that ID, joins it to the datastore image directory, and writes the uploaded body withshutil.copy().- The resolved path is never checked to be inside the datastore, so a value such as
../../../tmp/xwrites the upload to any location the MONAI Label process can write to. LocalDatastore.save_label()(PUT /datastore/label) builds its destination from the image ID and label tag in the same way.
The advisory notes that authentication is disabled by default (MONAI_LABEL_AUTH_ENABLE=False), so in the default configuration any network client that can reach the server can exploit the flaw. With authentication enabled, the ANNOTATOR role is sufficient. Arbitrary file write leads to code execution, for example by overwriting application code or adding entries to .ssh/authorized_keys or cron, or to denial of service by overwriting configuration.
Real-World Exploitation Evidence
- CISA KEV: added 23 November 2026, due date 26 November 2026. The KEV entry lists known ransomware campaign use as “Unknown”. The CISA-ADP SSVC record in the CVE/NVD data lists Exploitation: active, Automatable: yes, Technical Impact: total.
- Amazon Threat Intelligence (CJ Moses, AWS Security Blog): on 10 September 2026 Amazon found a publicly reachable, unauthenticated instance of the open-source AI pentesting framework Cairn. Its history showed a campaign against university IP addresses in East Asia outside mainland China over about 48 hours from 8 September 2026. The agents were given the goal “obtain shell access”.
- After failing against a Redis server and a GPU server, the agents found a medical imaging application with an upload endpoint that had a filename parameter, tested it for path traversal, and went from API mapping to arbitrary file write in about 11 minutes. Amazon’s post does not name the product. The Register’s coverage identifies it as MONAI Label, and the GHSA credits the original report to AWS’s security team (@aws-sec-vdp). The GHSA page still showed “No known CVE” when we fetched it, although the CVE record and release notes reference it.
- In a later session the agents wrote a Python reverse shell to
sitecustomize.pyand triggered a training API endpoint to spawn a new Python process, which gave a reverse shell running as root. - In a further session the human operator supplied a proxy tunnelled into a second university network whose server ran the same vulnerable software. Amazon infers the operator had compromised it with the same flaw.
- Attribution: Amazon assesses with moderate confidence that the actor is Chinese-nexus, based on Simplified Chinese prompts, China Standard Time script timestamps and the targeting. No named group is given.
- Amazon assesses with high confidence that this was a zero-day, since it matched no fix, issue, advisory or database entry at the time.
Impact Assessment
An unauthenticated attacker with network access to a default-configured server can write files anywhere the service account can write. In the observed intrusion this became root code execution on the server.
Amazon’s targets were university networks, and its second-network activity shows a compromised server can serve as a pivot point. Our inference: medical imaging research groups and any organisation running the server alongside other research infrastructure are the likely exposed population. Servers exposed without authentication are the highest risk.
Affected Versions
| Product | Affected | Fixed |
|---|---|---|
MONAI Label (pip monailabel) | all versions up to and including 0.8.5 (CVE record: before 0.8.6) | 0.8.6 |
The 0.8.6 release notes (22 November 2026) describe this as a security release and tell all server deployments to upgrade. They also list a separate path traversal in session upload (PUT /session/?uncompress=true, tar extraction without member-name checks), affecting versions up to and including 0.8.5, which is fixed in 0.8.6 as well. That second issue is not covered by this CVE.
Remediation Steps
- Upgrade (0.8.6 requires Python 3.11 or newer per its release notes, so the upgrade fails on Python 3.9 or 3.10):
pip install -U monailabel==0.8.6, ordocker pull projectmonai/monailabel:0.8.6. - If you cannot upgrade immediately, apply the vendor workarounds: set
MONAI_LABEL_AUTH_ENABLE=Trueand do not grant theANNOTATORrole to untrusted users; do not expose the server to untrusted networks; run the server as an unprivileged user whose write access is limited to the datastore directory. - Remove any internet exposure of the MONAI Label port. Place it behind a VPN or authenticated reverse proxy.
- CISA’s KEV entry marks forensic triage as required. Treat any server that was reachable while running 0.8.5 or earlier as potentially compromised and review it before and after patching.
Detection Guidance
- Web and proxy logs: requests to
PUT /datastore/imageorPUT /datastore/labelwhere theimageparameter (or label tag) contains../,..%2f, or an absolute path. A 200 response on 0.8.5 or earlier shows only that the request was accepted, not that a file landed outside the datastore. The fixed version reduces the image ID to its basename, so such strings can still return 200 on 0.8.6. Confirm by checking for files written outside the datastore directory. - File integrity: unexpected or recently modified
sitecustomize.pyin the Python site-packages or working directory, new entries in~/.ssh/authorized_keys, crontab changes, and modified MONAI Label application files. - Process telemetry: a Python process spawned by the MONAI Label training endpoint that opens an outbound network connection or spawns a shell, particularly running as root.
- Network: connections from the host to the Amazon-published IOCs
142[.]4.98.145and142[.]4.107.34(records dated 8 to 10 September 2026). Amazon lists only these two addresses. We did not check their reputation. Public exploit status: a GitHub search by the reviewer on 24 November found repositories named for this CVE, including one described as a path traversal to RCE tool; we did not open them, so do not assume no public exploit exists.
Timeline
| Date | Event |
|---|---|
| 2026-09-08 | Start of the roughly 48-hour campaign Amazon observed (university targets in East Asia) |
| 2026-09-10 | Amazon finds the exposed Cairn instance and its logs |
| 2026-11-18 | MONAI Label advisory GHSA-qc22-rmgc-vg94 published |
| 2026-11-20 | CVE-2026-133968 published (assigner: MITRE) |
| 2026-11-20 | The Register reports Amazon’s findings |
| 2026-11-22 | MONAI Label 0.8.6 released |
| 2026-11-23 | CISA adds CVE-2026-133968 to KEV |
| 2026-11-26 | CISA KEV due date |