CVE-2026-39987
Critical 9.3KEV · exploitedPublic exploitFix status unknownmarimo Affected by Pre-Auth Remote Code Execution via Terminal WebSocket Authentication Bypass
Record last updated
CVSS score
Critical on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Among the highest-scored CVEs. A prediction, not evidence.
CISA remediation deadline
Passed 198 days ago for U.S. federal agencies
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
Patching and mitigation
- Patch status
- Unknown: no source documents a fix
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Marimo | Marimo | Not documented | Not documented | CISA KEV |
| marimo-team | marimo | < 0.23.0 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by GitHub_M
Source: CVE Program (opens in a new tab)
23 Apr 2026KEV
Added to the CISA Known Exploited Vulnerabilities catalog
Source: CISA KEV (opens in a new tab)
23 Apr 2026Exploitation
Exploitation confirmed by CISA KEV
Source: CISA KEV (opens in a new tab)
Vendor guidance and references
- https://github.com/marimo-team/marimo/security/advisories/GHSA-2679-6mx9-h9xc (opens in a new tab)vendor-advisory, x_refsource_confirm
- https://github.com/marimo-team/marimo/commit/c24d4806398f30be6b12acd6c60d1d7c68cfd12a (opens in a new tab)x_refsource_misc
- https://github.com/marimo-team/marimo/pull/9098 (opens in a new tab)x_refsource_misc
- https://nvd.nist.gov/vuln/detail/CVE-2026-39987 (opens in a new tab)government
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-39987 (opens in a new tab)government-resource
- https://www.sysdig.com/blog/marimo-oss-python-notebook-rce-from-disclosure-to-exploitation-in-under-10-hours (opens in a new tab)third-party-advisory
Public exploit code
Exploit or proof-of-concept code is publicly available on Exploit-DB. Shown as a prioritization and defensive-testing signal — treat exploit code as hostile and run it only against systems you are authorized to test.