CVE-2026-39987Marimo notebook terminal WebSocket missing authentication
CVSS score
9.3
Critical
CVSS 4.0 from github.com
Exploit probability (EPSS)
99.7%
99.7% chance of exploitation in the next 30 days, higher than 100.0% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 23 Apr 2026.
US federal deadline to fix: 7 May 2026.
In plain words
An unauthenticated attacker can open a full system shell on a Marimo notebook server over the network, because the terminal WebSocket endpoint skips the login check that other endpoints perform. All versions before 0.23.0 are affected, and CISA reports active exploitation. Update Marimo to 0.23.0 or later now, following the vendor advisory.
Official 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.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Treat it as urgent
Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 23 Apr 2026.
US federal agencies must fix it by 7 May 2026. It's a sensible deadline for everyone else too.
CISA's full instruction
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Check whether you're affected
Find every system running coreweave Marimo and compare its version with the affected versions.
Update to a fixed version
- Update Marimo to 0.23.0 or later.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Check for signs of compromise
Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- None
- User interaction
- None
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. 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
Affected products
| Affected products | Versions |
|---|---|
| coreweave Marimo | < 0.23.0 |
| Marimo Marimo | < 0.23.0 |
Weakness
- CWE-306 missing authentication for critical function
Timeline
- Published:
- Added to CISA KEV:
- Last modified:
Frequently asked questions
Is CVE-2026-39987 being exploited?
Yes. CISA added CVE-2026-39987 to its Known Exploited Vulnerabilities catalog on 23 Apr 2026, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 99.7% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-39987?
CVE-2026-39987 has a CVSS 4.0 base score of 9.3 (critical).
Which versions are affected?
Coreweave Marimo (< 0.23.0), Marimo Marimo (< 0.23.0)
Is there a patch for CVE-2026-39987?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/marimo-team/marimo/commit/c24d4806398f30be6b12acd6c60d1d7c68cfd12a(Patch)
- github.com/marimo-team/marimo/pull/9098(Issue Tracking, Patch)
- github.com/marimo-team/marimo/security/advisories/GHSA-2679-6mx9-h9xc(Exploit, Mitigation, Vendor Advisory)
- www.sysdig.com/blog/marimo-oss-python-notebook-rce-from-disclosure-to-exploitation-in-under-10-hours(Exploit, Third Party Advisory)
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-39987(US Government Resource)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.