{"cve":"CVE-2026-39987","nvd":{"published":"2026-04-09T18:17:02.807","modified":"2026-06-17T10:42:51.460","status":"Analyzed","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.","cvss_v4":{"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","score":9.3},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-306"],"references":["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"],"products":["coreweave:marimo"],"source":"nvd","synced_at":"2026-10-19T22:28:59.047572785+00:00"},"epss":{"cve":"CVE-2026-39987","score":0.99564,"percentile":0.99947,"date":"2026-11-01"},"kev":{"cve":"CVE-2026-39987","date_added":"2026-04-23","due_date":"2026-05-07","vendor":"Marimo","product":"Marimo","known_ransomware":false},"osv":[{"id":"GHSA-2679-6mx9-h9xc","url":"https://osv.dev/vulnerability/GHSA-2679-6mx9-h9xc","summary":"Marimo: Pre-Auth Remote Code Execution via Terminal WebSocket Authentication Bypass","modified":"2026-06-29T12:26:12.729455405Z","packages":[{"ecosystem":"PyPI","name":"marimo","purl":"pkg:pypi/marimo","ranges":["<0.23.0"],"fixed":["0.23.0"]}]},{"id":"PYSEC-2026-407","url":"https://osv.dev/vulnerability/PYSEC-2026-407","summary":"Marimo: Pre-Auth Remote Code Execution via Terminal WebSocket Authentication Bypass","modified":"2026-07-01T20:22:56.993062Z","packages":[{"ecosystem":"PyPI","name":"marimo","purl":"pkg:pypi/marimo","ranges":["<0.23.0"],"fixed":["0.23.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}