AI Risk Wire

Cases › security breach › LR-2026-0581

Marimo notebook flaw (CVE-2026-39987) exploited in LLM-agent-driven intrusion

Preliminary Why: Publisher not yet named · subject to change

Status: advice only, no fix reported

Severity moderate
Reported 1 Jun 2026

No source states: loss or records, developer and model, agent tool, could do, deployer, industry.

Severity moderate: Test: data or systems of others touched with a bounded scope stated. Fact: one internal PostgreSQL database was fully exfiltrated, a bounded scope; no count of affected parties is stated.

A threat actor exploited CVE-2026-39987, a critical flaw in the open-source Marimo notebook, on an internet-exposed instance, and an LLM agent drove the post-exploitation phase. The flaw is a missing authentication issue on Marimo's terminal endpoint. The agent harvested cloud credentials from environment files and AWS credential stores, used them to retrieve an SSH key from AWS Secrets Manager, and used that key to open parallel SSH sessions against a downstream bastion server. From there an internal PostgreSQL database was exfiltrated in under two minutes. Researchers identified machine-paced command patterns, including a planning comment in the command stream, that indicated the agent's role. Researchers published findings on May 28, 2026 about an intrusion observed on May 10, 2026.

What happened

1 · What went wrongA threat actor exploited a missing-authentication flaw in Marimo's terminal endpoint to gain a shell on an internet-exposed instance.

What was done

Researchers reported the incident on May 28, 2026, describing an LLM-agent-driven intrusion that exfiltrated an internal database.
Advice in source, not a fix by the party

“Start with an update of a vulnerable Marimo instance to remove the unauthenticated terminal endpoint.”

Known flaws patched

Risks

AI used to run a cyber attack
Primary
96 incidents
Rising: 24 vs 4.0 a week

Sorted by rule from the case's fields; not yet read from the sources.

Controls

Not yet read for controls. Controls that mitigate the primary risk:

Model

Safety training and refusal · Cyber and weapons safeguards · Abuse monitoring and account enforcement · Staged or restricted release · Dangerous-capability testing before release · Outside red-teaming · Content safety classifiers · Safeguards kept on in testing · Reasoning monitoring

Infrastructure / target

Known flaws patched · Multi-factor sign-in and password policy · Network segmentation · Intrusion and endpoint detection · Backups and recovery · Phishing and fraud filters

Evidence

No source states: what the AI was doing, what it reached or did, how it was caught, when it was found, how many records were exposed, the direct loss, a count of the other parties affected, any court case, the cause, what set it off.

Show the full account: 4 items from the primary sources

What happened, in order

  1. 2026-04-08 Security advisory for CVE-2026-39987 published on GitHub.
  2. 2026-04-09 Researchers observed the first exploitation attempt, with no public PoC available.
  3. 2026-05-10 AI-agent-driven intrusion observed.
  4. 2026-05-28 Researchers reported the incident.
Show every field, with its source and grade

What happened

When it happened
2026-05-10
C one secondary source states it
Earliest source we hold
2026-06-01
D inferred by us from the described behaviour, reason shown
Who caused it
an outside attacker
C one secondary source states it
What went wrong
security breach
C one secondary source states it
AI agent
an AI agent acted
C one secondary source states it
remediations
kind: advice; controls added: J1; quote: Start with an update of a vulnerable Marimo instance to remove the unauthenticated terminal endpoint.; source index: 0, kind: advice; controls added: A3; quote: Eliminate locally stored cloud keys, database passwords, and SSH keys, replacing them with short-lived credentials issued through a centralized secrets manager.; source index: 0, kind: advice; controls added: E4; quote: Run Marimo and similar tools inside tightly restricted containers with limited network access so a compromised notebook cannot directly reach internal systems or cloud control planes.; source index: 0, kind: advice; controls added: F2, F4; quote: Deploy monitoring that flags rapid, machine-paced command sequences, bursts of cloud API calls, parallel SSH sessions, and unexpected database export activity.; source index: 0
C one secondary source states it

Impact

Severity
moderate
D inferred by us from the described behaviour, reason shown
Why this severity
Test: data or systems of others touched with a bounded scope stated. Fact: one internal PostgreSQL database was fully exfiltrated, a bounded scope; no count of affected parties is stated.
D inferred by us from the described behaviour, reason shown

Notes on gaps

Remediation entries are advice from the press analysis, not fixes reported by a party.

LR-2026-0581 · version 1 · published 2026-11-01 after automatic checks; not yet checked field by field by a person · JSON