marimo Affected by Pre-Auth Remote Code Execution via Terminal WebSocket Authentication Bypass
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-306.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Active
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| marimo-team | marimo | before 0.23.0 | 0.23.0 | Patch available | CNA |
| — | marimo (PyPI) | before 0.23.0 | 0.23.0 | Patch available | GHSA-2679-6mx9-h9xc |
- marimo Vendormarimo-team Affected before 0.23.0 Fixed in 0.23.0 Patch available CNA
- marimo (PyPI) Vendor— Affected before 0.23.0 Fixed in 0.23.0 Patch available GHSA-2679-6mx9-h9xc
Remediation
- Fix · CNA marimo (marimo-team) Fixed in 0.23.0
- Fix · GHSA-2679-6mx9-h9xc marimo (PyPI) Fixed in 0.23.0 Advisory →
Timeline
- 2026-04-23 Added to CISA KEV
- 2026-10-02 Threatist record created from CVE-2026-39987
- 2026-10-03 Alias added: GHSA-2679-6mx9-h9xc
- 2026-10-25 EPSS moved to the 99th percentile and above
References
Exploit 2
Patch 2
More marimo-team vulnerabilities
- TI-2026-52802 marimo < 0.23.15 Code Injection via MCP Server Configuration CVSS 4.0HIGH 8.7
- TI-2026-47772 marimo < 0.23.15 API Key Exfiltration via Malicious Notebook PEP-723 Metadata CVSS 4.0HIGH 7.1
- TI-2026-39264 marimo < 0.23.9 XSS via file Query Parameter in assets.py CVSS 4.0MEDIUM 5.1
Sources
- CVE-2026-39987 · CVE Program
- CVE-2026-39987 · NVD
- CISA Known Exploited Vulnerabilities
- FIRST EPSS
- GHSA-2679-6mx9-h9xc · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences