Published Last updated
Project MONAI released MONAI Label 0.8.6 on November 22, 2026, to fix two file-path handling flaws in its labeling server. The first, tracked as CVE-2026-133968, lets a client write outside the intended datastore through image and label upload requests. CISA added that vulnerability to its Known Exploited Vulnerabilities (KEV) catalog on November 23. The second flaw concerns uploaded session archives and is separately fixed in 0.8.6. Server operators need to identify deployments running 0.8.5 or earlier, plan the 0.8.6 upgrade, and review exposed older servers for unexpected file changes. The project release notes and maintainer advisory establish the affected and fixed versions.
How the datastore write escapes its directory
MONAI Label is the server component used in image-labeling workflows, including medical-image annotation. Its local datastore is meant to keep uploaded images and labels inside designated directories. The vulnerable PUT /datastore/image endpoint accepted an image identifier supplied by the caller. According to the maintainer advisory, LocalDatastore.add_image() appended a file extension, joined that identifier to the datastore path, and copied the uploaded file without first resolving whether the destination remained inside the allowed directory. A relative path containing parent-directory components could therefore point elsewhere on the server. The label-saving path, reached through PUT /datastore/label, had a similar problem with the image identifier and label tag.
The resulting capability is an arbitrary file write within the operating-system permissions of the MONAI Label process. The advisory explains that overwriting application code, configuration, scheduled tasks or an authorized-keys file can turn such a write into code execution or service disruption. Those are possible consequences of the flaw, rather than proof that every affected server was compromised. The precise exposure depends on whether a client could reach the service, its authentication configuration, the permissions of the running process, and the files available to overwrite.
Authentication matters here because MONAI Label disables it by default with MONAI_LABEL_AUTH_ENABLE=False. In that default configuration, any client with network access to the server could reach the vulnerable endpoints. Enabling authentication reduces the set of callers, but it is not a complete substitute for the patch: the advisory says an authenticated user with the ANNOTATOR role could still exploit the datastore path issue. The new release therefore recommends limiting network access and assigning only trusted users the needed roles even after upgrading.
The 0.8.6 fix resolves and checks the final destination against the datastore image or label directory. For image upload it also reduces the identifier to its base name and rejects empty or dot-prefixed identifiers with an HTTP 400 response. This is a boundary check on the resolved path, rather than a cosmetic change to a displayed file name. The advisory maps that correction to pull request 1915 and identifies 0.8.6 as the patched release. Its affected-version range is all MONAI Label releases through 0.8.5.
A separate session-upload problem is fixed too
The 0.8.6 security notes describe a second path traversal in PUT /session/?uncompress=true. Uploaded tar archives could be extracted without checking the paths of their members; session identifiers were also used as paths without validation. The project says this affected versions through 0.8.5 and was fixed in pull request 1942. The new behavior rejects corrupt or unsupported session archives with HTTP 400 and rejects archives containing links or device files. The release notes do not assign this session issue the same CVE as the datastore issue, so the two should remain distinct in vulnerability inventories.
Both flaws demonstrate why a file upload boundary has several layers. A safe destination for one request does not prove that archive members, label tags or session identifiers are safe when they are interpreted later as paths. The release notes state that authentication was disabled by default for both paths. The relevant operational question is therefore whether an older server accepted requests from an untrusted network or from users who should not have had upload access. A protected web interface alone does not establish that the server API was inaccessible.
What the KEV listing adds
CISA lists CVE-2026-133968 as an exploited vulnerability and records November 23 as its addition date. The catalog lists November 26, 2026, as its due date and directs covered federal civilian agencies to apply vendor mitigations under Binding Operational Directive 26-04 and its forensic triage guidance. That listed date is a CISA catalog field for the applicable federal process; it is not a universal deadline imposed on every private or state operator. The listing does not assign a separate CVE or KEV entry to the session-upload flaw described in the same project release.
The maintainer’s release notes call 0.8.6 a security release and say all MONAI Label server deployments should upgrade. CISA’s addition makes the datastore issue more urgent for exposed deployments because the catalog reflects observed exploitation, not simply a theoretical path. It does not establish that a particular installation was attacked. The project specifically advises reviewing 0.8.5 or older servers that were reachable from untrusted networks for unexpected file changes before returning them to service. That review is a distinct task from checking that the package version changed.
Upgrade planning has a Python compatibility step
MONAI Label 0.8.6 requires Python 3.11 or newer; the project removed support for Python 3.9 and 3.10 in this release. A pip-based server pinned to either older interpreter needs a runtime upgrade as part of remediation. The release notes give pip install -U monailabel==0.8.6 as the package command. For container deployments, they identify the projectmonai/monailabel:0.8.6 image. Its base moved to Ubuntu 24.04 with Python 3.12, and the python and monailabel executables are supplied through /opt/venv. Image consumers should account for those runtime and path changes when testing custom entrypoints, dependencies and extensions.
The release also bundles OHIF v3.11.0 and changes DICOM SEG export to use highdicom rather than pydicom-seg. These are relevant compatibility notes when an installation integrates MONAI Label with image viewers or export workflows, but they are not the reason the KEV-listed vulnerability exists. A practical upgrade test can confirm the server version, expected authentication behavior, datastore and session upload flows, and the specific viewer or export paths used by that deployment. The test should not be mistaken for evidence that an older instance had no prior unauthorized file writes.
For installations that cannot complete the upgrade immediately, the maintainer advisory recommends enabling authentication, restricting the ANNOTATOR role to trusted users, keeping the server off untrusted networks, and running it as an unprivileged account with write access limited to the datastore. These measures reduce reachable attack paths and the impact of a file write. They do not turn an unpatched 0.8.5 installation into a fixed 0.8.6 installation. CISA’s KEV entry should be read together with the project instructions and the applicable federal directive where that directive governs the asset.
Evidence to retain after remediation
A clear record can identify each MONAI Label server and container image, its installed version, interpreter or image runtime, reachable network paths, authentication setting, and the account that runs the process. For a previously exposed older instance, the project calls for a review of unexpected file changes. Operators can preserve the result of that review, the deployed 0.8.6 version, and the tests of the labeling workflow. The two upload paths should be checked separately because the KEV-listed datastore issue and the session-archive issue have different causes, even though one release fixes both. These steps follow the project’s published scope without assuming that a broader MONAI library installation automatically runs the vulnerable MONAI Label server.
