CVE-2026-39987
CriticalCVSS 9.8ExploitedCVE-2026-39987 Critical 9.8 · Marimo Marimo · exploited · details and fixes
- Severity
- Critical
- Score
- 9.8 · CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Product
- Marimo Marimo
- Known as
- Marimo Remote Code Execution Vulnerability
- Published
- 2026-04-10
- Last modified
- 2026-06-17
- Exploitation
- Known to be exploited · listed on 2026-04-23
Description
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.