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.
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.