Skip to content
Threat Brief

← All advisories

CVE-2026-39987

Critical 9.3KEV · exploitedPublic exploitFix status unknown

marimo Affected by Pre-Auth Remote Code Execution via Terminal WebSocket Authentication Bypass

Record last updated

CVSS score

9.3

Critical on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

100%

Among the highest-scored CVEs. A prediction, not evidence.

CISA remediation deadline

198days overdue

Passed 198 days ago for U.S. federal agencies

Description

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.

Weakness: CWE-306

Patching and mitigation

Patch status
Unknown: no source documents a fix
Mitigation
None documented
Vendor guidance
github.com (opens in a new tab)

Affected products

VendorProductAffected versionsFixed inPer
MarimoMarimoNot documentedNot documentedCISA KEV
marimo-teammarimo< 0.23.0Not documentedCVE Program

Timeline

  1. Disclosure

    CVE record published by GitHub_M

    Source: CVE Program (opens in a new tab)

  2. 23 Apr 2026KEV

    Added to the CISA Known Exploited Vulnerabilities catalog

    Source: CISA KEV (opens in a new tab)

  3. 23 Apr 2026Exploitation

    Exploitation confirmed by CISA KEV

    Source: CISA KEV (opens in a new tab)

Vendor guidance and references

Public exploit code

Exploit or proof-of-concept code is publicly available on Exploit-DB. Shown as a prioritization and defensive-testing signal — treat exploit code as hostile and run it only against systems you are authorized to test.