Home/ Blog/ Security news/ Article
Blog · Security news

MONAI Label CVE-2026-133968: Exploited File Write, Patch Now

MONAI Label CVE-2026-133968 lets unauthenticated users write files anywhere on the server and is in CISA KEV. All versions to 0.8.5 affected; upgrade to 0.8.8.

Dark gradient cover reading Medical AI server flaw lets strangers write files

CISA added MONAI Label to its Known Exploited Vulnerabilities (KEV) catalog on November 23, 2026 and gave federal agencies until November 26 to act. That is three days. The bug, CVE-2026-133968, lets anyone who can reach the server write a file to any location the server's own account can write to, and in a default install nobody has to log in first.

The fix landed in MONAI Label 0.8.6 on November 22. Stopping there would be a mistake: 0.8.8, released November 25, closes two more critical holes in the same server. And an upgrade only shuts the door. It says nothing about whether someone already walked through it, which is the question CISA's listing forces on every team that left one of these servers reachable.

What is MONAI Label, and who runs it?

MONAI Label is an open-source server from Project MONAI that uses AI models to help people annotate medical images. Radiologists and researchers connect to it from viewers such as 3D Slicer, OHIF and MITK, or QuPath for pathology, to draw and refine segmentations on CT, MRI and slide images.

That user base matters for exposure. Servers like this are often started by a research group on a GPU workstation or a cloud instance with a one-line monailabel start_server command, which can put them outside the patch cycle central IT runs for its own fleet. The project's README states plainly that the server is not meant to face the internet. A KEV listing suggests some of them ended up there anyway, or that an attacker already had a foothold on a network where one was running.

How the datastore upload flaw works

According to the project's advisory (GHSA-qc22-rmgc-vg94), the PUT /datastore/image endpoint trusts the image query parameter as the stored image's name. The server adds a file extension, joins the result to the datastore directory and copies the upload there without checking where that path really points. The label upload endpoint, PUT /datastore/label, builds its destination the same way from the image name and label tag. That is classic path traversal (CWE-22): a crafted name escapes the datastore folder.

Two settings decide how bad this gets. Authentication ships off (MONAI_LABEL_AUTH_ENABLE=False), so any client on the network can send the request. With authentication on, an account holding the ANNOTATOR role is still enough. The advisory lists the realistic outcomes: overwriting the application's own Python code, dropping a key into .ssh/authorized_keys, adding a cron entry, or breaking the service by clobbering its configuration. The first three all end in code running as the server's account.

The 0.8.6 release notes fix a second traversal alongside it: PUT /session/?uncompress=true unpacked uploaded tar archives without checking the names of the files inside. The notes do not give that one its own CVE, but it is reachable under the same default settings, so treat it as part of the same exposure.

MONAI Label CVE-2026-133968: fix to federal deadlineOct 19: Fix merged. Nov 18: Advisory public. Nov 22: 0.8.6 ships. Nov 23: Added to KEV. Nov 25: 0.8.8 ships. Nov 26: Federal deadline.MONAI Label CVE-2026-133968: fix to federal deadlineOct 19Fix mergedNov 18Advisory publicNov 220.8.6 shipsNov 23Added to KEVNov 250.8.8 shipsNov 26Federal deadline
Sources: MONAI Label GHSA-qc22-rmgc-vg94, release notes for 0.8.6 and 0.8.8, CISA KEV catalog.

The timeline above is the part that should worry operators. The fix was merged in the project's repository on October 19, the advisory went public on November 18, a fixed release followed on November 22, and CISA listed the bug as exploited the next day. The federal deadline is November 26, the same day a GitHub repository appeared whose README describes a working proof-of-concept for it. We have not run it and do not link it. Neither CISA nor Project MONAI has published who exploited the flaw or how widely.

Why 0.8.6 is not the version to stop at

The 0.8.8 release is labeled a security release in its own right. Its main fix (GHSA-gfjg-c3x6-24gw, rated critical) covers remote code execution through bundle inference and training: request values were copied into the bundle configuration, where a value starting with $ is run as Python. It affects 0.7.0 through 0.8.7. A second critical advisory, GHSA-xhxp-5f3g-gxxx, groups further issues from a maintainer review across training, scribbles, the Digital Slide Archive integration and the DICOM proxy.

So a team that rushed to 0.8.6 to meet CISA's deadline is still running a server with a known critical code execution path. The project also wants the 3D Slicer plugin and its Python client library updated, which means the annotators' desktops are part of this patch too, not only the server.

Checking a MONAI Label server for signs of file writes

The damage from this bug is bounded by one thing: what the server's account can write. A server running as root could have had any file on the host replaced. One running as a dedicated user with write access only to its datastore, which is what the project now recommends, limits the blast radius to that folder and the account's own home directory. Find out which you have before you decide how deep to look.

The checks below are a starting point. Replace MONAI_USER with the account that runs the server, DATASTORE_DIR with its datastore path, and the log path with whatever proxy or access log sits in front of it. The first two lines look for upload requests whose image or session names carry path-escape sequences. The find line lists files that account changed since the fix was merged on October 19 outside the datastore; anything under the installed monailabel package, a web root or a startup script deserves a hard look.

MONAI Label host: request and file-change checks (run as root, adjust paths)
grep -hE 'PUT /datastore/(image|label)' /var/log/nginx/access.log* | grep -iE '\.\./|%2e%2e|%2f|%5c'
grep -hE 'PUT /session/\?uncompress=true' /var/log/nginx/access.log*
find / -xdev -user MONAI_USER -newermt 2026-10-19 -type f -not -path 'DATASTORE_DIR/*' 2>/dev/null
ls -la --time-style=full-iso ~MONAI_USER/.ssh/authorized_keys
crontab -l -u MONAI_USER
pip show -f monailabel | head -3

Two of the advisory's outcomes map to persistence techniques in MITRE ATT&CK: SSH authorized keys (T1098.004) and cron (T1053.003). An unfamiliar key or a cron line for the service account is a stronger signal than any log entry, because the logs may not have been kept. If the server ran in a container, a rebuild from a clean image throws away changes inside the container's filesystem, but not writes that landed on a mounted volume or, for a container running as root with host mounts, on the host itself.

Project MONAI's own guidance is blunt: any server on 0.8.5 or earlier that an untrusted network could reach should be inspected for files nobody expected to change, and only then returned to use. A clean result from the checks above is not proof. If the server held patient images and you cannot account for what it wrote, handle it as a possible incident under your data-protection process rather than a routine patch.

Before you put the server back on the network

  • Upgrade to 0.8.8, not 0.8.6, and update the Slicer plugin and Python client on annotators' machines.

  • Turn authentication on with MONAI_LABEL_AUTH_ENABLE=True and give the ANNOTATOR role only to people you trust.

  • Take it off any public address. Reach it over a VPN or an authenticated reverse proxy, and check cloud security groups for a forgotten open port.

  • Run it as an unprivileged account whose write access stops at the datastore folder.

  • Run the checks above on any server that was reachable before the upgrade, and rotate SSH keys and any credentials stored on the host if you find unexplained changes.

AI tooling keeps arriving in production through the research door rather than the IT one. We saw the same shape with the Ray dashboard and with Langflow's code validation endpoint: a server built for a trusted lab, reachable without a login, turning up on a network it was never meant for. If your organization runs GPU boxes nobody in IT provisioned, this week is a good time to list what is listening on them.

Topics

Frequently asked questions

What is CVE-2026-133968 in MONAI Label?

CVE-2026-133968 is a path traversal flaw in the MONAI Label server's datastore upload endpoints. The image name in an upload request is used as a file path without checks, so a caller can write files outside the datastore folder. That can lead to code execution as the server's account.

Which MONAI Label versions are affected, and which version should I install?

All versions up to and including 0.8.5 are affected, and 0.8.6 fixes this CVE. Install 0.8.8 instead: released on November 25, 2026, it also fixes a critical code execution flaw in bundle inference and training that affects 0.7.0 through 0.8.7.

Is CVE-2026-133968 being exploited?

Yes. CISA added it to the Known Exploited Vulnerabilities catalog on November 23, 2026, with a federal deadline of November 26. CISA and Project MONAI have not published details of the attacks, and CISA lists ransomware use as unknown.

Does CVE-2026-133968 need a login to exploit?

Not in a default install. MONAI Label ships with authentication disabled, so any client that can reach the server can send the upload request. With authentication enabled, an account holding the ANNOTATOR role is still enough, so restrict that role to trusted users.

How do I check whether my MONAI Label server was compromised?

Look for datastore or session upload requests with path-escape sequences in your access logs, then list files the server's account changed outside its datastore. Check that account's SSH authorized keys and crontab. Project MONAI advises reviewing any exposed 0.8.5 or older server for unexpected file changes.

See what Suriq finds on your own servers.

Agentless checks for uptime and your cloud, a lightweight agent for detection on each server, and one console that ranks and explains what it finds.