marimo Affected by Pre-Auth Remote Code Execution via Terminal WebSocket Authentication Bypass
marimo-team marimo
Actively exploited in the wild
Added to CISA's Known Exploited Vulnerabilities catalog on Apr 23, 2026. US federal agencies must patch by May 7, 2026.
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| marimo PyPI |
|
|
Original 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.
From the CVE record · GitHub_M