Skip to navigation

Threat reportZero-DayTL-2026-6605

Suspected Chinese-nexus actors use autonomous AI tool Cairn to discover and exploit MONAI Label path-traversal zero-day (GHSA-qc22-rmgc-vg94)

criticalACTIVE

Amazon Threat Intelligence reports that a suspected Chinese-nexus operator used the open-source multi-agent AI pentesting framework Cairn to find and exploit an unpatched path-traversal flaw in MONAI Label, a medical-imaging AI application, gaining a root reverse shell on a university server.

Key facts

IdentifiersTL-2026-6605, CVE-2026-133968
Also known asGHSA-qc22-rmgc-vg94, GHSA-cxx7-378q-5622
SeverityCRITICAL
CVSS9.8
First disclosed
Affected productsProject MONAI MONAI Label (monailabel, PyPI)
Weaknesses (CWE)CWE-22, CWE-24
Nation-state nexusChina
ToolsCairn
MITRE ATT&CK techniquesT1046 Network Service Discovery, T1059.006 Command and Scripting Interpreter: Python, T1090 Proxy, T1110 Brute Force, T1110.001 Brute Force: Password Guessing, T1110.003 Brute Force: Password Spraying, T1190 Exploit Public-Facing Application, T1546.018 Event Triggered Execution: Python Startup Hooks, T1572 Protocol Tunneling, T1574 Hijack Execution Flow, T1588.002 Obtain Capabilities: Tool, T1588.007 Obtain Capabilities: Artificial Intelligence and 4 more in the attack flow
MotivationESPIONAGE
Target sectorseducation, health, research
Target regionsEast Asia (outside mainland China)
Detection rules9 (1 shown free)
Sources10 cited sources

Detection coverage

As of 2026-11-23, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-6605 across Splunk SPL, Microsoft KQL and Sigma, covering 12 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.

Free detection: TL-2026-6605 MONAI Label Datastore Path Traversal Upload (GHSA-qc22-rmgc-vg94) — Exploitation

Detects PUT requests to the MONAI Label /datastore/image and /datastore/label endpoints whose caller-controlled image parameter contains directory-traversal sequences (../, %2e%2e%2f, ..%5c), the arbitrary-file-write primitive in GHSA-qc22-rmgc-vg94 (CWE-22, monailabel <= 0.8.5, no CVE assigned) that the Cairn-driven operator used to reach a root shell. Authentication is disabled by default, so any reachable client can trigger it. The PUT upload also delivers attacker-controlled content to the server (ingress transfer, T1105), later used for the sitecustomize.py reverse shell. Behaviour-first: it does not depend on attacker IPs.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1190, T1105
  • Data sources: web_access_logs, index=web sourcetype=access_combined, CommonSecurityLog, sigma:webserver
  • Severity: critical
  • Confidence: high

Splunk SPL

index=web (sourcetype=access_combined OR sourcetype=apache:access OR sourcetype=nginx:plus:access) method=PUT (uri="/datastore/*" OR uri_path="/datastore/*")
| eval req_full=coalesce(uri, uri_path.if(isnotnull(uri_query),"?".uri_query,""))
| eval decoded_uri=urldecode(urldecode(req_full))
| where match(decoded_uri,"[.][.]/") OR match(lower(req_full),"[.][.]%5c")
| eval src=coalesce(clientip,src,src_ip)
| stats count AS attempts min(_time) AS firstTime max(_time) AS lastTime values(req_full) AS requests values(status) AS http_status BY src host
| convert ctime(firstTime) ctime(lastTime)
| eval rule="TL-2026-6605 MONAI Label datastore path traversal GHSA-qc22-rmgc-vg94"

Microsoft KQL

CommonSecurityLog
| where TimeGenerated > ago(24h)
| where RequestMethod =~ 'PUT' and RequestURL has '/datastore/'
| where RequestURL matches regex @'(?i)([.][.]/|[.][.]%2f|%2e%2e(/|%2f|%5c)|[.][.]%5c)'
| project TimeGenerated, SourceIP, DestinationIP, DeviceVendor, RequestMethod, RequestURL, RequestClientApplication
| order by TimeGenerated desc

Sigma

title: MONAI Label Datastore Path Traversal Upload (GHSA-qc22-rmgc-vg94)
id: 6b1f0c52-3a7e-4d1c-9e55-0c1a2f7d8b01
status: experimental
description: Detects PUT requests to the MONAI Label /datastore/ upload endpoints (image, label) carrying directory traversal sequences in the image parameter, the arbitrary file write flaw GHSA-qc22-rmgc-vg94 (CWE-22, monailabel <= 0.8.5) exploited by a Cairn-driven operator.
references:
  - https://github.com/Project-MONAI/MONAILabel/security/advisories/GHSA-qc22-rmgc-vg94
  - https://aws.amazon.com/blogs/security/chinese-nexus-actors-cairn-ai-agents-found-a-zero-day-on-their-own/
author: Threadlinqs Team
date: 2026/11/20
tags:
  - attack.initial_access
  - attack.t1190
  - attack.command_and_control
  - attack.t1105
  - attack.tool.cairn
logsource:
  category: webserver
detection:
  selection_method:
    cs-method: 'PUT'
  selection_path:
    c-uri|contains: '/datastore/'
  selection_traversal:
    c-uri|contains:
      - '../'
      - '..%2f'
      - '%2e%2e%2f'
      - '..%5c'
      - '%2e%2e%5c'
  condition: all of selection_*
falsepositives:
  - Vulnerability scanners or authorised penetration tests against MONAI Label
  - Reverse proxies that normalise paths and log the raw client value
level: high

Known false positives:

  • Authorised vulnerability scans or penetration tests that probe the MONAI Label datastore endpoints with traversal payloads
  • Reverse proxies or WAFs that log the raw client URI of requests they subsequently block

Tuning notes: Point index/sourcetype at the proxy or web tier in front of MONAI Label (default port 8000). If the app is fronted by a WAF, also alert on allowed (non-blocked) results only. Allowlist known scanner source IPs. Pair with a host-side check that the installed build includes PR #1915.

8 more detection rules (Splunk SPL, Microsoft KQL, Sigma) · unlock with TL Creds. Sign up free to unlock the detection rules or query them with the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account)
  • Agent-Speed MONAI Label API Mapping Followed by Datastore Write (Cairn) — Exploitation · unlock with TL Creds
  • Root Shell Spawned by Python / MONAI Label Service Interpreter — Post-Exploitation · unlock with TL Creds
  • High-Volume SSH Credential Spray Across Many Usernames Against ML/GPU Servers · unlock with TL Creds
  • Log4Shell JNDI Injection Attempt in Web Request Fields — Exploitation · unlock with TL Creds
  • Python Process Writing Execution-Hijack or Persistence Files — Post-Exploitation · unlock with TL Creds
  • Tunnelling / Proxy Utilities Executed on Linux Server — C2 / Lateral Movement · unlock with TL Creds
  • Python Startup Hook [indicator] Created or Modified — Post-Exploitation Persistence · unlock with TL Creds
  • Python or MONAI Label Process Outbound Reverse Shell / Cairn Infrastructure — C2 · unlock with TL Creds

Indicators of compromise

As of 2026-11-23, Threadlinqs Intelligence tracks 12 indicators of compromise for TL-2026-6605.

Sample indicators (2 of 12)

  • IP address: 142.4.98[.]145
  • IP address: 142.4.107[.]34

Defanged, TLP:CLEAR. Full set of 12 indicators: unlock with TL Creds.

12 indicators of compromise · unlock with TL Creds. Compare plans

Technical analysis

Activity ran September 8-10, 2026 against East Asian educational institutions outside mainland China; the flaw was disclosed as GHSA-qc22-rmgc-vg94 on November 18, 2026 and has no CVE ID as of the advisory.

Amazon Threat Intelligence discovered the campaign on September 10, 2026 after the operator left a Cairn instance publicly reachable without authentication, exposing operational history including the operator's prompts. Cairn is an open-source, multi-agent AI penetration-testing framework designed for research and defense. In this case the operator supplied target IP addresses and a short instruction to "obtain shell access", and the agents worked largely without human direction.

Against a university server the agents identified the application framework (MONAI Label), mapped its API endpoints, and found an upload endpoint taking a caller-controlled filename parameter. They tested it for path traversal, and about 11 minutes elapsed between API mapping and arbitrary file writes on the server. In a later session the agents wrote a Python reverse shell into sitecustomize.py, which Python loads automatically at interpreter start-up, and then triggered an API endpoint so the interpreter loaded it, obtaining a shell running as root. The operator subsequently gave the agents a proxy into a second university network running the same vulnerable software and instructed them to target other machines there.

The GitHub advisory GHSA-qc22-rmgc-vg94 (published 2026-11-18, severity listed as Critical, CWE-22, no CVE assigned, no CVSS score published) describes the root cause: the PUT /datastore/image endpoint accepts a caller-controlled `image` query parameter used as the image ID without validation. LocalDatastore.add_image() appends the extension, joins the value to the datastore image directory and writes the upload with shutil.copy(); LocalDatastore.save_label() (PUT /datastore/label) builds its destination similarly. A value such as ../../../tmp/x writes uploaded content anywhere the MONAI Label process can write. Authentication is disabled by default (MONAI_LABEL_AUTH_ENABLE=False), so any client that can reach the server can exploit it; with auth enabled the ANNOTATOR role suffices. The advisory lists affected versions as <= 0.8.5 and, at the time of the fetch, shows no patched release (fix in PR #1915, to be included in the next release), while press coverage states maintainers released a security update on November 18. Defenders should verify the installed build includes the PR #1915 fix.

The same operator's agents also ran unsuccessful operations: a roughly 16-hour, 148-action attempt to take over a Redis server (abusing replication, scripting-sandbox escape, config writes, memory corruption), a Log4Shell injection, an SSRF against a Qdrant instance, and a 6+ hour credential spray against a university GPU server (80 usernames collected from public sources; more than 30,000 credential combinations per The Record). Reporting differs on whether the Log4Shell attempt was part of the Redis operation.

Attribution to a Chinese-nexus actor is moderate confidence, based on Simplified Chinese prompts, China Standard Time timestamps on executed scripts, and target selection. Amazon assesses with high confidence that the flaw was a zero-day, because no fix, issue, advisory, or prior mention existed in vulnerability databases. Cairn abuse has also been reported separately by Gambit Security (a financially motivated, apparently Chinese operator running Cairn with Strix and Hermes against retailers) and by Google GTIG (use against the US aerospace sector); these are distinct activity clusters and are not shown to be the same operator. No payload code, hashes, or domains were published in the sources reviewed.

MITRE ATT&CK techniques by tactic:

Discovery

T1046 Network Service Discovery

Execution

T1059.006 Command and Scripting Interpreter: Python

Command and Control

T1090 Proxy; T1572 Protocol Tunneling

Credential Access

T1110 Brute Force; T1110.001 Brute Force: Password Guessing; T1110.003 Brute Force: Password Spraying

Initial Access

T1190 Exploit Public-Facing Application

Persistence

T1546.018 Event Triggered Execution: Python Startup Hooks

stealth

T1574 Hijack Execution Flow

Resource Development

T1588.002 Obtain Capabilities: Tool; T1588.007 Obtain Capabilities: Artificial Intelligence

Reconnaissance

T1589 Gather Victim Identity Information; T1592 Gather Victim Host Information; T1595 Active Scanning; T1595.002 Active Scanning: Vulnerability Scanning

Remediation

Patches

  • Apply the MONAI Label release containing PR #1915 (path validation in add_image() and save_label()); advisory GHSA-qc22-rmgc-vg94 listed no patched release version at the time of review

Immediate actions

  • Identify MONAI Label deployments (monailabel <= 0.8.5) and remove them from untrusted networks
  • Set MONAI_LABEL_AUTH_ENABLE=True and do not grant the ANNOTATOR role to untrusted users
  • Hunt for unexpected writes to sitecustomize.py in Python site-packages and application directories
  • Review web/proxy logs for PUT /datastore/image and PUT /datastore/label requests containing ../ sequences in the image parameter
  • Block 142.4.98.145 and 142.4.107.34 and review historical connections from them (observed 2026-09-08 to 2026-09-10)

Workarounds

  • Do not expose the server to untrusted networks
  • Enable authentication and restrict write permissions of the service account to the datastore directory

Longer-term hardening

  • Run MONAI Label as an unprivileged user with write access limited to the datastore directory
  • Segment GPU, research and imaging servers from general campus networks and require authentication on internal ML services
  • Rate-limit and alert on high-volume credential sprays and rapid sequential API enumeration that indicates agentic tooling
  • Restrict Redis replication and scripting features and do not expose Redis to untrusted networks

Affected and fixed versions

  • Project MONAI — MONAI Label (monailabel, PyPI)
    Vulnerable versions: <= 0.8.5
    Fixed in: Fix in PR #1915; no patched version number listed in the advisory at time of review

Timeline

Last updated · 4 updates · revalidated 4× · latest source

  • During the campaign window (Sept 8-10), agents map the MONAI Label API and, about 11 minutes later, achieve arbitrary file writes via path traversal in an upload endpoint; a Python reverse shell is later written to locked-ioc-1 and triggered for a root shell.
  • Cairn-driven campaign begins against East Asian educational institutions outside mainland China; activity (including IPs locked-ioc-3 and locked-ioc-4) observed through 2026-09-10.
  • Observed activity ends; failed Redis takeover (about 16 hours, 148 actions) and 6+ hour GPU-server credential spray had not succeeded; agents were proxied into a second university network running the same vulnerable software.
  • Amazon Threat Intelligence finds the operator's publicly accessible, unauthenticated Cairn instance exposing prompts and operational history.
  • Gambit Security research reported by BleepingComputer documents a separate, financially motivated, apparently Chinese operator using Cairn with Strix and Hermes against retailers.
  • Fix PR #1915 'confine datastore write paths' opened in Project-MONAI/MONAILabel after a report by @aws-sec-vdp.
  • MONAI Label 0.8.5 released; it is the newest tagged version listed as vulnerable (<= 0.8.5).
  • MONAI Label PR #1915 ('confine datastore write paths') merged into main, fixing the path traversal weeks before the public advisory; no tagged patched release listed in the advisory.
  • Google GTIG reports systematic abuse of open-source pentesting suites including CAIRN, including use against the US aerospace sector.
  • Project MONAI publishes GHSA-qc22-rmgc-vg94 (CWE-22, affected <= 0.8.5, fix in PR #1915); maintainers release a security update per press reports.
  • NVD records CVE-2026-133968 (status Received) with CVSS 3.1 base score 9.8 (secondary source cve@mitre.org), CWE-24, and a note of exploitation in the wild from September 2026; the CISA SSVC entry records exploitation 'none', automatable 'yes', technical impact 'total'.
  • Amazon publishes its research on the Chinese-nexus Cairn campaign; BleepingComputer, The Register and The Record report it.
  • The Hacker News and SecurityOnline report the incident and attach CVE-2026-133968 (reported CVSS 9.8) to the flaw; the GHSA page still showed no CVE when captured.

Update history

Sources cited

Drafted by the Threadlinqs research pipeline from 10 sources; published ; last updated .

Threadlinqs Intelligence — Real-Time Threat Detection Platform

// threat_feed
$ sort --newest
Showing all threats

Live intelligence console

Threat level

Latest Threats