CVE

MONAI Label Datastore Check (CVE-2026-133968)

Find MONAI Label servers whose datastore answers unauthenticated, the exposure condition for the CVE-2026-133968 traversal, with no traversal request sent.

AuthorTrickest
100%

Notes on this workflow

Results — out/results.jsonl (probe), out/findings.jsonl (verdict, severity, kev=true, actively_exploited=true, cvss 9.8, detection caveat, remediation), out/summary.jsonl (counts, exposed/inconclusive/error target lists, coverage note). Remediation: upgrade to 0.8.6 (PR #1915); proxy-block PUT /datastore/image and /datastore/label when the query string carries '..', '%2e' or a leading '/'; enable auth; patching does not undo the write — review reachable <=0.8.5 servers for unexpected sitecustomize.py/usercustomize.py or new .pth files in site-packages before returning to service; hunt proxy logs for traversal-valued datastore PUTs and the reported source IPs 142.4.98.145 / 142.4.107.34.

How it works — a module-level guard admits exactly the three GET paths and hard-aborts on anything else (so /datastore/image, /datastore/label and any training/async endpoint are unreachable by construction) and refuses traversal-shaped paths. datastore_state: open_unauthenticated (200 + JSON body — the exposure signal), gated (401/403), absent (404), unclear, error (5xx stops the host). Version from openapi info.version when present: <0.8.6 affected, >=0.8.6 noted but exposure stands (datastore still answers unauthenticated). Verdicts capped at exposure: exposed (datastore reachable unauthenticated), inconclusive (MONAI identified, datastore gated/absent/unclear), not_product, error. Version evidence never downgrades a verdict.

Target — target list file (host, host:port, or scheme://host[:port][/path]); zero usable targets exits nonzero. MONAI Label is a FastAPI app commonly on cleartext TCP 8000: bare hosts default http:8000 with an https attempt as second choice; explicit schemes honored. Probe budget: exactly 3 GETs per host, identify-then-stop pacing (~1-1.5s jitter, medical/research environments), no retries: / (root banner), /datastore/ (read-only listing), /openapi.json (FastAPI schema, product title + version).

Overview — CVE-2026-133968 / GHSA-qc22-rmgc-vg94: MONAI Label datastore path traversal (CWE-24) — caller controls the datastore upload destination filename; PUT /datastore/image (and /datastore/label via image/tag) writes attacker content anywhere the process can write; default config has auth DISABLED (MONAI_LABEL_AUTH_ENABLE=False) and even with auth on the monailabel-annotator role suffices; observed wild chain writes sitecustomize.py then triggers a training process for a root shell. CVSS 9.8, KEV added 2026-11-23 (federal due 2026-11-26, fastest-turnaround class), exploited since 2026-09 — attributed by Amazon Threat Intelligence to autonomous AI agents (first widely reported case of AI agents finding and exploiting a 0-day). EPSS 27.2% at the 98.5th percentile within four days. EXPOSURE FINGERPRINT ONLY: the exploit is one PUT with a traversal value — never sent.

Overview

This workflow finds MONAI Label servers whose datastore answers to unauthenticated visitors, the exposure condition for CVE-2026-133968. The datastore upload endpoints let the caller control the destination filename, so a traversal value in the image parameter writes attacker content anywhere the process can write, and in the documented incidents a written payload turned into a root shell when the server spawned training processes. The bug has been exploited since September 2026 by an AI-driven campaign against university servers, CISA listed it on KEV, and the fix is 0.8.6. The exploit is one PUT with a traversal value, which is exactly what this workflow never sends: it caps itself at three GETs per host and refuses any parameter containing traversal characters. Each server comes back with a verdict you can feed into exposure management.

Pipeline

  1. Read the target list and send up to three GETs per host: the root for the service banner, the datastore listing path, and the API schema.
  2. Score the datastore: a JSON listing served without authentication on a confirmed MONAI Label server is the exposed verdict, and it is capped at exposure no matter what the version says.
  3. Read the schema for the product confirmation and the version when present, and note where the build sits relative to the 0.8.6 fix. Version evidence is context, never a downgrade.
  4. Never send a PUT, never send a parameter with .., URL-encoded traversal, or a leading slash, and never call training or asynchronous endpoints, which are the payload-execution step of the observed attacks.
  5. Reconcile one verdict per target and write findings plus summary counts, with identify-then-stop pacing for medical and research environments.

Inputs

  • Target list. MONAI Label server addresses you are authorized to test. The default file ships a sample fleet list; bind your own.

Outputs

  • findings.jsonl. One row per server: target, datastore state, schema version and its relation to the fix, verdict, severity, and evidence.
  • summary.jsonl. One line with verdict counts and the sorted target lists per verdict.

Integrations

  • HTTP. Three GET requests per host maximum on fixed paths, read-only, with the guard refusing any other request shape.

Sample output

The records below are illustrative and do not come from a real run. They show an open datastore on a pre-fix build, one where the datastore is gated, and one that is not MONAI Label.

targetis_monaidatastore_statusdatastore_stateopenapi_versionversion_stateverdictdetailerror
https://annotate-a.example.edutrue200unauthenticated_listing0.8.4affectedexposeddatastore answers without authentication on a pre-fix buildnull
https://annotate-b.example.orgtrue401gated0.8.6fixedinconclusiveMONAI Label identified but datastore requires authenticationnull
https://app-c.example.netfalsenullnullnullunknownnot_productnot identified as MONAI Labelnull
{"cve": "CVE-2026-133968", "product": "MONAI Label", "total_targets": 3, "verdict_counts": {"exposed": 1, "inconclusive": 1, "not_product": 1}, "exposed_targets": ["https://annotate-a.example.edu"], "inconclusive_targets": ["https://annotate-b.example.org"], "not_product_targets": ["https://app-c.example.net"], "error_targets": []}

FAQ

Why is the verdict capped at exposure?

Because the only request that proves code execution is the attack itself: a PUT that writes a file through the traversal. The workflow observes whether the datastore answers unauthenticated, which is the condition the exploit needs, and stops there. An exposed row is an urgent patch signal regardless of version.

Does an exposed datastore mean the server was breached?

Not by itself, but treat it that way first. The documented campaign wrote payloads and reached root shells on university servers, and CISA attaches forensic triage to the KEV entry. Check for unexpected files, new Python startup hooks, and outbound connections from the server account.

What if authentication is enabled?

The datastore listing then requires a session and the row stays inconclusive rather than clean, because the upload endpoints remain dangerous to any account holding the annotator role. Authentication downgrades the required access, it does not close the traversal.

What is CVE-2026-133968?

Path traversal in the MONAI Label datastore upload endpoints: the caller-controlled image parameter is joined onto the datastore directory without checking the resolved path. Fixed in 0.8.6, listed on CISA KEV in November 2026.

Get a personalized demo

See Trickest in Action

A 30-minute walkthrough. We map the platform to your stack and answer pricing and deployment questions for your environment.