Marimo Python Notebook Discloses Critical Pre-Auth Terminal WebSocket RCE (CVE-2026-39987)
On April 8, 2026, Marimo published advisory GHSA-2679-6mx9-h9xc disclosing critical pre-authentication RCE flaw CVE-2026-39987 in versions 0.20.4 and earlier, where an unauthenticated /terminal/ws endpoint grants full PTY shell access.
Verification & Actions
- Scan developer workstations, GPU containers, and data science servers for marimo versions 0.20.4 or earlier.
- Check host and reverse-proxy logs for unauthorized /terminal/ws sessions, spawned shells, or secret access.
- Upgrade marimo to version 0.23.0 or later and bind interactive notebook services strictly to authenticated localhost or VPNs.