Security

MONAI Label flaw found by attackers' AI agents is now on CISA's exploited list

Clients that can reach MONAI Label 0.8.5 or older with default auth can write files outside its datastore. 0.8.6 fixes it; CISA lists it as exploited.

Published Updated

Grayscale medical x-ray lightbox with film sheets and one red paperclip
AI-generated image

TL;DR

  • A path traversal in MONAI Label 0.8.5 and earlier lets a caller write files anywhere the server process can write; 0.8.6 fixes it [1].
  • Amazon says AI agents run by a Chinese-nexus actor found a zero-day in an open-source medical imaging AI app and reached a root shell [2]; ThaiCERT links that report to this flaw [4].
  • CISA added CVE-2026-133968 to its Known Exploited Vulnerabilities catalog on 23 November 2026 [3].

MONAI Label, an open-source tool for annotating medical images, has a critical path traversal flaw in its datastore upload endpoints [1][4]. Version 0.8.5 and earlier are affected and version 0.8.6 is patched [1]. The flaw is tracked as CVE-2026-133968 and CISA added it to its Known Exploited Vulnerabilities (KEV) catalog on 23 November 2026 [3]. ThaiCERT published an alert on 27 November and lists a CVSS v3.1 score of 9.8 [4].

Why it matters

The campaign Amazon describes targeted universities in East Asia outside mainland China [2]. In MONAI Label’s default configuration authentication is off, so any network client that can reach the server can exploit the flaw [1]. ThaiCERT asks administrators to check every MONAI Label install, including research and test systems [4].

The case also shows how attackers now use AI agents. Amazon Threat Intelligence found a publicly exposed instance of Cairn, an open-source autonomous AI penetration-testing framework, run by an actor it assesses with moderate confidence to be Chinese-nexus [2]. Against an open-source medical imaging AI application, the agents found a path traversal in an upload endpoint and went from mapping the API to writing arbitrary files in about 11 minutes [2]. ThaiCERT’s alert ties that report to CVE-2026-133968 [4].

How the attack works

The PUT /datastore/image endpoint takes an image query parameter and uses it as the image ID without validation, so a value like ../../../tmp/x writes the upload outside the datastore [1]. PUT /datastore/label builds its path from the image ID and label tag in the same way [1]. Arbitrary file writes can lead to remote code execution, for example by changing application code, .ssh/authorized_keys or cron entries [1]. In Amazon’s case the agents wrote a Python reverse shell to sitecustomize.py, then called a training API endpoint to start a new Python process, which gave them a root shell [2].

What to do

  • Upgrade to MONAI Label 0.8.6 or later, for example with pip install --upgrade monailabel, and update Docker images [1][4].
  • Until then, set MONAI_LABEL_AUTH_ENABLE=True and do not give the ANNOTATOR role to untrusted users, since that role is enough to exploit the bug [1].
  • Keep the server off untrusted networks and run it as an unprivileged user that can only write to the datastore [1].
  • Check logs for traversal patterns on /datastore/image and /datastore/label, and look for new or changed Python files, startup files, cron jobs and authorized_keys [4].

CISA’s KEV entry asks agencies to apply vendor mitigations and marks the flaw as requiring forensic triage under BOD 26-04 [3].

Sources

Written and checked by AI from the sources below

  1. Path traversal in datastore upload endpoints allows arbitrary file write (GHSA-qc22-rmgc-vg94)Project MONAI on GitHub ·
  2. Chinese-nexus actor's Cairn AI agents found a zero-day on their ownAWS Security Blog ·
  3. Known Exploited Vulnerabilities Catalog: CVE-2026-133968CISA
  4. แจ้งเตือนช่องโหว่ใน MONAI Label (CVE-2026-133968) เสี่ยงถูกเข้าถึงและแก้ไขไฟล์ภายในระบบโดยไม่ได้รับอนุญาตThaiCERT ·

Fact-checked by gpt-6.1-sol on · Editorial policy