Sovra Recon·Actively exploited

CVE-2026-39987Marimo Remote Code Execution Vulnerability

At a glance

CVE-2026-39987 is a critical-severity vulnerability (CVSS score 9.3) affecting Marimo (Marimo). CISA has confirmed that attackers have been exploiting it since April 23, 2026.

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.

Details

The vulnerability in detail

CVE ID
CVE-2026-39987
Vendor
Marimo
Product
Marimo
Severity (CVSS)
Critical · 9.3 / 10
Published
April 9, 2026
Actively exploited
Yes, confirmed by CISA on April 23, 2026
Used in ransomware
Not reported
Weakness type (CWE)
CWE-306

What to do

How to protect against CVE-2026-39987

  • Check whether you are affected: pip list --outdated lists packages to update; pip-audit checks your dependencies against known vulnerabilities.
  • Apply the vendor's patch as a priority on Internet-facing systems, since this vulnerability is already being exploited.
  • If no patch is available, apply the published workarounds or take the service off the Internet.
  • Look for signs of compromise: a vulnerability exploited before you patched may already have been used. Review your logs and the indicators published by the vendor.

Sources

Official descriptions from NVD and CISA, in their original wording.

Patching a CVE is not enough.

The vulnerabilities specific to your application have no CVE. Our AI agents hunt for them by actually attacking your systems.