{"id":"CVE-2026-39987","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-39987","generatedAt":"2026-10-31T06:00:28.749Z","title":"Marimo Remote Code Execution Vulnerability","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.","published":"2026-04-09T18:17:03.000Z","lastModified":"2026-06-17T10:42:51.000Z","status":"Analyzed","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"4.0","score":9.3,"severity":"CRITICAL","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/M"},"cwe":["CWE-306"],"affected":["coreweave/marimo"],"epss":{"score":0.99564,"percentile":0.99946,"date":"2026-10-30","history":[{"date":"2026-09-24","score":0.37865,"percentile":0.98496},{"date":"2026-10-25","score":0.99564,"percentile":0.99946}]},"kev":{"listed":true,"dateAdded":"2026-04-23","dueDate":"2026-05-07","knownRansomwareCampaignUse":"Unknown","notes":"Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.\nhttps://github.com/marimo-team/marimo/security/advisories/GHSA-2679-6mx9-h9xc ; https://nvd.nist.gov/vuln/detail/CVE-2026-39987"},"exploits":{"count":1,"verified":false,"firstPublished":"2026-09-02","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":52673,"kind":"exploit","title":"Marimo  0.20.4 - RCE","url":"https://www.exploit-db.com/exploits/52673","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/multiple/webapps/52673.py","file":"exploits/multiple/webapps/52673.py","published":"2026-09-02","added":"2026-09-02","updated":"2026-09-02","author":"Jason Bernier","type":"webapps","platform":"multiple","port":null,"verified":false,"codes":["CVE-2026-39987"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":null}]},"verdict":{"level":"urgent","text":"Known to be exploited in the wild (CISA KEV, CISA remediation deadline 7 May 2026). Treat as an emergency change: patch or isolate now, then hunt for prior compromise."},"changes":[{"kind":"epss","label":"EPSS jump","at":"2026-10-25T00:00:00.000Z","detail":{"to":0.99564,"from":0.37865,"percentile":0.99946},"summary":"EPSS moved from 37.9% to 99.6% probability of exploitation in the next thirty days."},{"kind":"epss","label":"EPSS jump","at":"2026-09-24T00:00:00.000Z","detail":{"to":0.37865,"from":0.99564,"percentile":0.98496},"summary":"EPSS moved from 99.6% to 37.9% probability of exploitation in the next thirty days."},{"kind":"exploit","label":"Public exploit","at":"2026-09-02T00:00:00.000Z","detail":{"type":"webapps","edbId":52673,"title":"Marimo  0.20.4 - RCE","platform":"multiple","verified":false,"publishedAt":"2026-09-02"},"summary":"Public exploit published in Exploit-DB: Marimo  0.20.4 - RCE (webapps, multiple)."}],"references":[{"url":"https://github.com/marimo-team/marimo/commit/c24d4806398f30be6b12acd6c60d1d7c68cfd12a","tags":["Patch"],"source":"security-advisories@github.com"},{"url":"https://github.com/marimo-team/marimo/pull/9098","tags":["Issue Tracking","Patch"],"source":"security-advisories@github.com"},{"url":"https://github.com/marimo-team/marimo/security/advisories/GHSA-2679-6mx9-h9xc","tags":["Exploit","Mitigation","Vendor Advisory"],"source":"security-advisories@github.com"},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-39987","tags":["US Government Resource"],"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"},{"url":"https://www.sysdig.com/blog/marimo-oss-python-notebook-rce-from-disclosure-to-exploitation-in-under-10-hours","tags":["Exploit","Third Party Advisory"],"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-39987","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}