Tia N.List

CTI · reviewed · 2026-09-16

Marimo RCE Flaw Lets Hackers Steal AWS Credentials and Pivot to Bastion Host in 8 Seconds

Full story & timeline

Actors

—

Malware / tools

—

Campaigns

—

CVEs

CVE-2026-39987

Victim sectors

technologycloud

Geography

global

MITRE ATT&CK

Indicators

Observables tied to this case, from the curated feed. raw sidecar

Detections

Detection content derived from this case analysis. Status: experimental — not validated against live telemetry.

Sigma raw

title: Marimo Notebook CVE-2026-39987 Unauthenticated WebSocket RCE
id: 7b6a5c4d-3e2f-1098-bad0-fedcba987654
status: experimental
description: >
    Detects exploitation of CVE-2026-39987, a pre-authentication RCE
    in marimo Python notebook framework. Attackers connect to the
    /terminal/ws WebSocket endpoint which ships without authentication
    in versions through 0.20.4, obtaining an interactive PTY shell.
    This enables rapid credential theft and lateral movement, with
    documented cases of AWS credential extraction in 8 seconds.
references:
  - https://cyberpress.org
  - https://gbhackers.com
author: Tia N. List
date: 2026-09-16
tags:
  - attack.initial-access
  - attack.t1190
  - attack.execution
  - attack.t1059
logsource:
  category: network_connection
  product: linux
detection:
  selection_websocket_endpoint:
    dst_path|contains: '/terminal/ws'
  condition: selection_websocket_endpoint
falsepositives:
  - Legitimate marimo notebook WebSocket connections from authenticated users
level: high

References

Source on GitHub