CVE-2026-39987: marimo Pre-Auth RCE via Terminal WebSocket Authentication Bypass (/terminal/ws missing validate_auth)
CVE-2026-39987 is verified against marimo · github affected versions: <0.23.0 fixed version: 0.23.0 vulnerability class: RCE This critical reproduction includes runnable sandbox proof, artifacts, and a plain-text agent view under REPRO-2026-00316.
pruva-verify REPRO-2026-00316 curl -O https://pruva.dev/api/v1/reproductions/REPRO-2026-00316/artifacts/bundle/repro/reproduction_steps.sh && chmod +x reproduction_steps.sh && ./reproduction_steps.sh Pre-authentication remote code execution in marimo (Python notebook, ~19.6k GitHub stars). The terminal WebSocket endpoint /terminal/ws completely skips authentication validation, allowing an unauthenticated attacker to obtain a full interactive PTY shell and execute arbitrary OS commands with the privileges of the marimo process (often root in Docker).
The agent's step-by-step process — every tool call, every handoff, the moment the exploit fired.
Loading session...
Scripts, logs, diffs, and output captured during the reproduction.