marimo Affected by Pre-Auth Remote Code Execution via Terminal WebSocket Authentication Bypass
Exploited in the wild, in CISA KEV since 23 Apr 2026 (due 7 May 2026), with 6 public exploits. No fixed version is recorded.
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.
Briefing
Written from the sources below · deepseek-v4.1-flash
marimo before 0.23.0 has a pre-auth RCE vulnerability because the /terminal/ws WebSocket endpoint skips authentication validation, letting unauthenticated attackers obtain a full PTY shell and run arbitrary commands. All marimo deployments prior to 0.23.0 that expose the terminal endpoint are affected.
Why it mattersCISA KEV-listed with confirmed exploitation, public exploit code, and 100% EPSS, so exposed instances are highly likely to be attacked.
ActionUpgrade to 0.23.0; if unable, restrict access to /terminal/ws and check logs for unauthenticated PTY connections.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Marimo | Marimo | ||
| marimo-team | <0.23.0 |
Exploit evidence
6 public sources
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket