[ CVE-2026-39987 · Published 9 Apr 2026 ]
Marimo Remote Code Execution Vulnerability
[ Why it matters ]Priority signals
- Exploited in the wild: on CISA's Known Exploited Vulnerabilities list since 2026-04-23
- EPSS: 38% chance of exploitation in the next 30 days (higher than 99% of CVEs)
- Critical severity: CVSS 9.8
[ Description ]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.
CISA: Marimo contains an pre-authorization remote code execution vulnerability, allowing an unauthenticated attacked to shell access and execute arbitrary system commands.
[ Fixes ]Fixes and patches
CISA required action (US federal deadline 7 May 2026): Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
- Patch on github.comVendor patch or bulletin · NVD · Reference tagged 'Patch' by NVD
- Patch on github.comVendor patch or bulletin · NVD · Reference tagged 'Patch' by NVD
[ References ]References
- github.com/marimo-team/marimo/commit/c24d4806398f30be6b12acd6c60d1d7c68cfd12aPatch
- github.com/marimo-team/marimo/pull/9098Issue TrackingPatch
- github.com/marimo-team/marimo/security/advisories/GHSA-2679-6mx9-h9xcExploitMitigationVendor Advisory
- www.cisa.gov/known-exploited-vulnerabilities-catalogUS Government Resource
- www.sysdig.com/blog/marimo-oss-python-notebook-rce-from-disclosure-to-exploitation-in-u…ExploitThird Party Advisory