CVE-2026-39987
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: Missing Authentication for Critical Functionality
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | Marimo Remote Code Execution Vulnerability |
|---|---|
| Vendor / product | Marimo / Marimo |
| Date added | 2026-04-23 |
| Federal remediation due date | 2026-05-07 |
| Required action | Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. |
| Known ransomware campaign use | Unknown |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | yes |
| Technical impact | total |
| Scored | 2026-04-23 |
Timeline
- 2026-04-08GitHub advisory published (GHSA-2679-6mx9-h9xc)1 day before publication
- 2026-04-09Published by the CNA17:16 UTC
- 2026-04-23Added to the CISA KEV catalog14 days after publication
- 2026-04-23CISA SSVC decision recorded14 days after publication
- 2026-09-02First Exploit-DB entry (EDB-ID 52673)146 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 52673 | webapps | multiple | 2026-09-02 | no |
Nuclei templates:
- CVE-2026-39987: Marimo <= 0.20.4 - Pre-Auth Terminal WebSocket RCE
GitHub advisory GHSA-2679-6mx9-h9xc, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI marimo | before 0.23.0 | 0.23.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| coreweave marimo | before 0.23.0fixed in 0.23.0 | 0.23.0 |
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.sysdig.com/blog/marimo-oss-python-notebook-rce-from-disclosure-to-exploitation-in-under-10-hours
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-39987
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-39987'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-39987'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-39987'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-39987'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2026-39987'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).