CVE-2026-39987Marimo
Unauthenticated Remote Code Execution in Marimo
Critical 9.3 KEV No auth needed
- Priority
- 71
- CVSS 4.0
- 9.3
- EPSS
- —
- Auth required
- No
- In KEV since
- Apr 23, 2026
- CISA deadline
- May 7, 2026
- Ransomware use
- Unknown
- Published
- Apr 9, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-306
- SSVC (CISA)
- Exploitation: active · Automatable: yes · Technical impact: total
- 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/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
Marimo, a reactive Python notebook, contains a pre-authentication remote code execution vulnerability in the /terminal/ws WebSocket endpoint. An unauthenticated attacker can obtain full PTY shell access and execute arbitrary system commands. CISA has confirmed this vulnerability is actively exploited.
AI-generated summary (Claude) based on NVD and CISA data. Not reviewed yet: check the details in the vendor advisory.
Show the original NVD text
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.
Exploitation confirmed by CISA
Marimo contains an pre-authorization remote code execution vulnerability, allowing an unauthenticated attacked to shell access and execute arbitrary system commands.
Action required by CISA: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
What to do
Patch available · fixed versions: 0.23.0
Update Marimo to version 0.23.0 or later to apply the security patch that validates authentication on the /terminal/ws endpoint.
Vendor advisory · github.com ↗
AI-generated from public data; not reviewed.
- Apply the vendor's security update for Marimo.
- CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was May 7, 2026.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
- Check logs for signs of earlier exploitation.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | marimo |
< 0.23.0 |
0.23.0 |
pip install "marimo>=0.23.0" |
| PyPI | marimo |
< 0.23.0 |
0.23.0 |
pip install "marimo>=0.23.0" |
Per OSV / GitHub Advisories (GHSA-2679-6mx9-h9xc, PYSEC-2026-407). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| coreweave | marimo | < 0.23.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Issue Tracking Patch
- github.com Exploit Mitigation Vendor Advisory
- www.cisa.gov US Government Resource
- www.sysdig.com Exploit Third Party Advisory