ADVISORIES

Vulnerability

CVE-2026-39987

marimo is a reactive Python notebook. Prior to 0.23.0, Marimo has a Pre-Auth RCE vulnerability. The terminal WebSocket endpoint /terminal/ws lacks authentication validation, allowing an unauthenticated attacker to obtain a full PTY shell and execute arbitrary system commands. Unlike other WebSocket endpoints (e.g., /ws) that correctly call validate_auth() for authentication, the /terminal/ws endpoint only checks the running mode and platform support before accepting connections, completely skipping authentication verification. This vulnerability is fixed in 0.23.0.

2 advisories report this vulnerability, across 1 ecosystem.

Critical severity Known exploited PyPI 2

Advisories

  • GHSA-2679-6mx9-h9xc

    Marimo: Pre-Auth Remote Code Execution via Terminal WebSocket Authentication Bypass

    Critical Known exploited CVE-2026-39987 PyPI Updated 29 June 2026
  • PYSEC-2026-407

    Marimo: Pre-Auth Remote Code Execution via Terminal WebSocket Authentication Bypass

    Known exploited CVE-2026-39987 PyPI Updated 1 July 2026

References