{
    "id": "CVE-2026-39987",
    "published": "2026-04-09 18:17:02",
    "last_modified": "2026-06-17 10:42:51",
    "cvss_score": "9.8",
    "cvss_severity": "CRITICAL",
    "cvss_version": "3.1",
    "cvss_vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
    "cwe": "CWE-306",
    "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.",
    "epss_score": "0.37865",
    "epss_percentile": "0.98500",
    "kev": 1,
    "kev_due": "2026-05-07",
    "has_exploit": 1,
    "updated_at": "2026-09-26 18:41:50",
    "priority": {
        "rank": 1,
        "label": "Patch first",
        "why": "On CISA KEV — known exploited in the wild, due 2026-05-07."
    },
    "products": [
        {
            "vendor": "coreweave",
            "product": "marimo"
        }
    ],
    "kev_detail": {
        "cve_id": "CVE-2026-39987",
        "date_added": "2026-04-23",
        "due_date": "2026-05-07",
        "vendor": "Marimo",
        "product": "Marimo",
        "name": "Marimo Remote Code Execution Vulnerability",
        "ransomware": 0
    },
    "exploits": [
        {
            "source": "exploit-db",
            "ref_id": "52673",
            "title": "Marimo  0.20.4 - RCE",
            "date": "2026-09-02",
            "url": "https://www.exploit-db.com/exploits/52673"
        }
    ],
    "refs_list": [
        "https://github.com/marimo-team/marimo/commit/c24d4806398f30be6b12acd6c60d1d7c68cfd12a",
        "https://github.com/marimo-team/marimo/pull/9098",
        "https://github.com/marimo-team/marimo/security/advisories/GHSA-2679-6mx9-h9xc",
        "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-39987",
        "https://www.sysdig.com/blog/marimo-oss-python-notebook-rce-from-disclosure-to-exploitation-in-under-10-hours"
    ]
}