CTI · reviewed · 2026-09-16
Marimo RCE Flaw Lets Hackers Steal AWS Credentials and Pivot to Bastion Host in 8 Seconds
Actors
—
Malware / tools
—
Campaigns
—
CVEs
CVE-2026-39987
Victim sectors
technologycloud
Geography
global
MITRE ATT&CK
Indicators
No curated indicators tied to this case.
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
Splunk SPL raw
# marimo-rce-flaw-lets-hackers-steal-aws-credentials-and-pivot-to — Splunk SPL variant (derived from marimo-rce-flaw-lets-hackers-steal-aws-credentials-and-pivot-to.sigma via sigma convert)
# source-sha256: db88b70dcb6de9d5c84d7c2af822fd073e285366a4c6f742804365e01a6de04c v1
dst_path="*/terminal/ws*"
KQL (Sentinel / Defender) raw
# marimo-rce-flaw-lets-hackers-steal-aws-credentials-and-pivot-to — KQL variant (derived from marimo-rce-flaw-lets-hackers-steal-aws-credentials-and-pivot-to.sigma via sigma convert)
# source-sha256: db88b70dcb6de9d5c84d7c2af822fd073e285366a4c6f742804365e01a6de04c v1
dst_path contains "/terminal/ws"