Critical Marimo RCE Exploited Within 10 Hours of Disclosure

· Original article ↗

Summary

Sysdig reports that attackers exploited Marimo’s unauthenticated CVE-2026-39987 WebSocket flaw within 10 hours of disclosure, accessing credentials. Marimo released version 0.23.0 and recommends restricting access and rotating exposed secrets.

Key points

  • CVE-2026-39987 affects Marimo versions 0.20.4 and earlier; the /terminal/ws endpoint exposed an interactive shell without authentication.
  • Sysdig observed exploitation less than 10 hours after disclosure and reconnaissance from 125 IP addresses within 12 hours.
  • Researchers reported attackers used the shell for manual reconnaissance and targeted .env variables, cloud credentials, application secrets, and SSH-related files.
  • Sysdig says the credential-access phase took less than three minutes; attackers returned for a second session roughly an hour later.
  • The observed operators did not attempt to install persistence, cryptominers, or backdoors.
  • Marimo released version 0.23.0 to address the flaw; recommended measures include restricting external access, monitoring /terminal/ws, and rotating exposed secrets.
  • If upgrading is not possible, the article recommends blocking or disabling access to /terminal/ws.

Article Details

Vulnerability Types
  • Unauthenticated remote code execution through an exposed WebSocket terminal endpoint
Severity
Critical (9.3/10, assessed by GitHub)
Affected Versions
  • Marimo 0.20.4 and earlier
Exploitation Status
active
Exploit Availability
unknown
Patch Status
available
Workarounds
  • Block or disable access to the /terminal/ws endpoint.
  • Restrict external access via a firewall.
  • Rotate exposed secrets.

MITRE ATT&CK

CVE

Vendors

Products

Related Articles