Skip to content
NewCybercrime Report 2026 · Eight Chapters · A Post Is Not An Incident → Explore The ChaptersCybercrime Report 2026 → Explore

Marimo Pre-Authentication Remote Code Execution (CVE-2026-39987)

CVE-2026-39987 is a critical pre-authentication remote code execution vulnerability in Marimo, a reactive Python notebook.

Reviewed by
Brandefense Analyst Team
Published
Reading Time
2 min read
CVE ID
CVE-2026-39987
Vendor
Marimo
Affected Product
Marimo
Exploitation
Listed in CISA KEV
Published
2026-04-09

CVE-2026-39987 is a critical pre-authentication remote code execution vulnerability in Marimo, a reactive Python notebook. The NVD record says a terminal WebSocket interface fails to validate authentication before accepting a connection.An unauthenticated remote attacker can obtain an interactive system shell and execute arbitrary commands. NVD gives the flaw a CVSS 3.1 score of 9.8, while the GitHub CNA gives it a CVSS 4.0 score of 9.3. Apply the fixed version through the organization’s patch management process.

What it allows

How Does CVE-2026-39987 Enable Remote Code Execution?

The vulnerable terminal interface checks the operating mode and platform support, but skips the authentication control used by other WebSocket interfaces. This missing check exposes terminal access before a user proves their identity.

A remote attacker needs no account and no user interaction according to both CVSS vectors. Successful exploitation provides a system shell, enabling arbitrary commands with the privileges of the Marimo process.

Who is affected

Marimo versions earlier than 0.23.0 are affected. The NVD configuration lists 0.23.0 as the exclusive upper boundary for vulnerable releases.

Version 0.23.0 contains the fix. CISA added CVE-2026-39987 to its Known Exploited Vulnerabilities catalog on April 23, 2026, and set a May 7 remediation deadline for federal agencies.

What to do

  1. Upgrade Marimo to 0.23.0 or later

    Prioritize internet-reachable and shared notebook services. Confirm the running version after deployment rather than relying only on package manifests.

  2. Restrict network access until the upgrade is complete

    Brandefense recommends limiting Marimo access to trusted users and networks where immediate upgrading is not possible. This is temporary risk reduction, not a replacement for the fixed release.

  3. Review exposed instances for unexpected command execution

    Brandefense recommends examining process, authentication, and network logs for unexplained terminal sessions or child processes. Preserve relevant evidence and investigate anomalies before returning an exposed service to operation.

  4. Treat CISA KEV status as an urgent patch signal

    CISA lists the vulnerability as known to be exploited. Organizations should inventory Marimo deployments and accelerate remediation of any release earlier than 0.23.0.

What Brandefense can do

Frequently Asked Questions

What is CVE-2026-39987?

It is a missing authentication flaw in Marimo's terminal WebSocket functionality. It can give an unauthenticated remote attacker a system shell and arbitrary command execution.

Which Marimo versions are affected?

Marimo versions earlier than 0.23.0 are affected. The NVD record identifies version 0.23.0 as the fixed boundary.

Is CVE-2026-39987 actively exploited?

Yes. CISA added CVE-2026-39987 to its Known Exploited Vulnerabilities catalog on April 23, 2026.

What should defenders do first?

Upgrade Marimo to version 0.23.0 or later. Prioritize internet-reachable and shared instances, then review exposed systems for unexpected command execution.

Sources

  1. NVD: CVE-2026-39987NIST NVD
  2. CISA Known Exploited Vulnerabilities CatalogCISA
ShareLinkedInX
Brandefense logo

Stay Ahead of Digital Threats.

Take control of your digital security with an exclusive demo of our AI-driven threat intelligence platform.

Open The Full Demo Form →