CVE-2026-39987 in coreweave marimo

LogPulse has a published detection rule for this CVE: it raises a notable when someone tries to exploit it.

What the vulnerability is

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.

Affected software: coreweave marimo

Scores

What LogPulse has for it

How to mitigate it

Upgrade marimo to 0.23.0 for unauthenticated terminal (CVE-2026-39987)

Patch or upgrade. Before 0.23.0 marimo's terminal websocket has no authentication and gives anyone a shell. Upgrading closes it.

Applies to: marimo before 0.23.0.

  1. Check the version: `pip show marimo`.
  2. Upgrade to 0.23.0 or later: `pip install -U "marimo>=0.23.0"`.
  3. Run marimo with a token or behind an authenticating proxy, never open on the internet.
  4. Check hosts that ran an exposed marimo for unknown processes and rotate secrets.

Sources:

Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.

We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.

Start free with LogPulse