CVE-2026-133968: Project MONAI MONAI Label Path Traversal Vulnerability
MONAI Label (the monailabel pip package) before 0.8.6 has a path traversal in the PUT /datastore/image endpoint. A remote client can write files anywhere the server can write, which leads to code execution. Authentication is off by default. Attackers have exploited it in the wild since September 2026. Upgrade monailabel to 0.8.6 or later.
Published Nov 20, 2026 · Updated Nov 24, 2026 · Analysis Nov 23, 2026
What an attacker can do
The image query parameter of PUT /datastore/image is used as the image ID with no validation. LocalDatastore.add_image() joins it onto the datastore image directory and writes the upload with shutil.copy(), without checking that the result stays inside the datastore. PUT /datastore/label has the same problem through save_label().
Because authentication is disabled by default, any client that can reach the server can do this. With authentication on, the ANNOTATOR role is enough. The attacker needs no user interaction.
An arbitrary file write becomes code execution. In the attack Amazon Threat Intelligence described, autonomous AI agents run by a Chinese-nexus actor found the bug on a university server in about 11 minutes. They wrote a Python reverse shell to sitecustomize.py, which Python imports at startup. They then called a training API endpoint to start a new Python process. That process loaded the payload and gave a root reverse shell. The actor later reused the same flaw on a second university network.
Who is affected
monailabel 0.8.5 and earlier are affected. Servers with authentication off (the default) are exposed to anyone who can reach them. Servers with authentication on are exposed to users holding the ANNOTATOR role. Check the installed version:
pip show monailabelAlso check whether the server is reachable from untrusted networks, and whether it runs as root.
How to fix it
Upgrade to monailabel 0.8.6 or later; the fix is in PR 1915.
pip install --upgrade "monailabel>=0.8.6"The advisory gives these mitigations for servers you cannot upgrade yet: enable authentication with MONAI_LABEL_AUTH_ENABLE=True, do not give the ANNOTATOR role to untrusted users, keep the server off untrusted networks, and run it as an unprivileged user that can write only to the datastore directory.
CISA lists this flaw as known exploited. Its required action is to apply the vendor's mitigations, follow BOD 26-04 and the forensics triage requirements, and stop using the product if mitigations are unavailable. The due date is 2026-11-26 and binds US federal agencies.
CISA required action: Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.
How to tell if you were hit
Search web server and access logs for PUT requests to /datastore/image or /datastore/label where the image parameter holds dot-dot sequences or path separators. Look for files written outside the datastore directory, especially sitecustomize.py, authorized_keys files, cron entries and configuration files. Check for Python processes started by the training endpoint that open outbound connections. Amazon listed two addresses seen in its records from September 8 to 10, 2026: 142.4.98.145 and 142.4.107.34. If you find a hit, treat the host as compromised, because the shell ran as root.
Original advisory
From the National Vulnerability Database. This product uses the NVD API but is not endorsed or certified by the NVD.
monailabel (aka MONAI Label) before 0.8.6 allows directory traversal, with resultant remote code execution, via the image parameter to the PUT /datastore/image endpoint, as exploited in the wild starting in September 2026.
Questions
- Is the MONAI Label path traversal exploited in the wild?
Yes. The description says it was exploited from September 2026, and CISA lists it as known exploited. Amazon Threat Intelligence reported AI agents using it to get a root shell on a university server.
- Which monailabel version fixes it?
Version 0.8.6, through PR 1915. The GitHub advisory lists 0.8.5 and earlier as affected.
- Does the attacker need to log in?
Not on a default install, because authentication is disabled. If you turn authentication on, a user with the ANNOTATOR role can still exploit it, so limit who holds that role.
- Does turning on authentication make me safe?
No. It reduces the exposure to ANNOTATOR users, but the flaw remains. Upgrade to 0.8.6 and also run the server as an unprivileged user.
References
Read for this analysis:
- https://github.com/Project-MONAI/MONAILabel/security/advisories/GHSA-qc22-rmgc-vg94
- https://aws.amazon.com/blogs/security/chinese-nexus-actors-cairn-ai-agents-found-a-zero-day-on-their-own/
- https://github.com/Project-MONAI/MONAILabel/pull/1915
- https://github.com/Project-MONAI/MONAILabel/releases/tag/0.8.6
- https://www.theregister.com/security/2026/11/20/china-attackers-deployed-ai-agents-that-autonomously-found-and-exploited-a-0-day-to-take-over-a-university-server/5311382
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-133968
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
