Skip to content
PERMISSION/PROTOCOL
Back to incident tracker

2026-11-20

HighPrimary

Cairn Agents Found a MONAI Label Zero-Day and Used It to Obtain a Root Shell

Amazon reports attacker-operated Cairn agents discovering a MONAI Label upload flaw and exploiting it for a root shell during a September university campaign.

Cairn autonomous penetration-testing frameworkTool execution / MCPAttacker-operated autonomous vulnerability discovery and exploitationA university-associated medical imaging application running MONAI Label

What happened

Agents discovered a path-traversal flaw, wrote a reverse-shell payload into sitecustomize.py and triggered a Python process that imported it and connected back as root.

Why it matters

Amazon reports arbitrary writes and root-level shell access on the target. It does not establish patient-record theft. Separate Redis exploitation and credential-spray operations did not succeed.

Missing authorization check

Victim-side validation and access controls for upload destinations and code execution were insufficient. Authorization within an attacker-controlled harness would not confer permission from the victim.

Would PP block it?

A legitimate security-agent deployment could independently gate target scope and consequential actions if integrated at an enforcement boundary. That conditional use does not establish prevention of this external attack, and no PP integration or prevention test is reported.

Incident analysis

Timeline and technical read

Timeline

  1. 2026-09-08

    The approximately 48-hour campaign begins, according to Amazon's investigation.

  2. 2026-09-10

    Amazon identifies an unauthenticated public Cairn instance exposing operational history.

  3. 2026-11-18

    MONAI Label publishes its upload-path advisory; the fix is merged and inclusion in the next release is pending.

  4. 2026-11-20

    Amazon publishes the investigation describing autonomous flaw discovery and root-shell execution.

Technical breakdown

  • The operator supplied IP addresses and variants of an obtain-shell-access goal; agents planned and adjusted subsequent actions.
  • Agents mapped application endpoints and tested a caller-controlled upload filename for path traversal.
  • Amazon reports approximately eleven minutes from API mapping to arbitrary file writes.
  • A later session placed a reverse-shell payload in sitecustomize.py and invoked a training endpoint to start Python, importing the payload and connecting back as root.
  • MONAI Label's advisory identifies unchecked destination paths in image and label uploads. Default authentication is disabled; with authentication enabled, the ANNOTATOR role is sufficient.
  • The advisory's fix constrains resolved destinations to datastore directories. Amazon's separate Redis exploitation and credential-spray operations failed.

Authorization boundary

Where the authorization boundary should have been

This incident is categorized as Tool execution / MCP. The relevant Permission Protocol gate is Tool-Call Gate. The read is conditional: the block only applies where the real action boundary is routed through a gate.

If enforced at
No PP enforcement point is established in this campaign; a legitimate integrated harness would need a boundary before target interaction and consequential tool execution.
Still needs
PP does not repair MONAI Label path traversal, authenticate exposed services, prevent external exploitation, or prove the scope of compromise.
Receipt required for
In an integrated legitimate security workflow, exact target scope, arbitrary file writes and remote execution would require owner-authorized scope and action-specific authority.

PP is not perimeter defense and cannot constrain an external attacker-owned Cairn harness that does not route actions through it.

Start small

Put the relevant gate at this action boundary.

This incident maps to Tool-Call Gate. Start with the boundary that controls the actual action, then require a signed receipt before execution.

Replay this incident with a signer in the loop