What it is
CVE-2026-39987 is an unauthenticated vulnerability affecting marimo-team marimo. marimo is a reactive Python notebook. Prior to 0.23.0, Marimo has a Pre-Auth RCE vulnerability. The terminal WebSocket endpoint...
Vulnerability report
marimo Affected by Pre Auth Remote Code Execution
marimo-team / marimo · affected before 0.23.0
Decision summary
Direct answers before the deeper technical record.
What it is
CVE-2026-39987 is an unauthenticated vulnerability affecting marimo-team marimo. marimo is a reactive Python notebook. Prior to 0.23.0, Marimo has a Pre-Auth RCE vulnerability. The terminal WebSocket endpoint...
Is it exploited?
Yes. KEV Intelligence tracks this CVE as a known exploited vulnerability. Confidence is confirmed.
Who is affected?
marimo-team / marimo affected before 0.23.0.
What should we do?
Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
Overview
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 evidence
Third-party attestation and first-party sensor observation are shown separately so teams can judge the evidence chain.
CVE
Independent exploitation attestation added to the KEV Intelligence record.
GitHub
Public scanner or PoC coverage increases practical exploitability.
Per-source evidence links for KEV attestations are available through the KEV Intelligence Pro API.
Learn about Pro API access| Source | Added |
|---|---|
| CVE First | 2026-06-01 13:23 UTC |
| CISA | 2026-06-02 14:01 UTC |
Detection
Make the evidence actionable in scanner, SOC, and edge-control workflows.
Raw values available in Pro and Enterprise.
Nuclei template detected 01 Jun 2026.
View Nuclei template (opens in new tab)No KEV Intelligence virtual patch is currently available. Future rules ship for ModSecurity, Cloudflare, and AWS WAF.
Learn about virtual patches →Scanner and exploit-framework references linked to this CVE.
| Scanner | Reference | Detected |
|---|---|---|
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/javascript/cves/2026/CVE-2026-39987.yaml | 01 Jun 2026 |
Risk and context
CVSS v4.0
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
EPSS
96.6%
Recent mention · Tenable Blog
Tenable’s Research Special Operations (RSO) team has been tracking a cluster of agentic AI threat activity since late July 2026. The Taiwan autonomous AI cyber attack confirmed what the cluster data already showed: near-autonomous offensive AI has crossed from theoretical risk...
Read full advisoryCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Recent mention · Tenable Blog
The Agentic AI threat cluster: Seven incidents, three actors, and what they mean for your exposureTenable Blog · 15 Aug 2026
Tenable’s Research Special Operations (RSO) team has been tracking a cluster of agentic AI threat activity since late July 2026. The Taiwan autonomous AI cyber attack confirmed what the cluster data already showed: near-autonomous offensive AI has crossed from theoretical risk to operational reality.Key TakeawaysTaiwan's Ministry of Digital Affairs confirmed a near-autonomous AI cyber attack in July 2026 in which autonomous agents mapped 21 connected government systems, compromised 85 accounts, and exfiltrated more than 2,564 personnel records in approximately four days.The Taiwan campaign...
Recent mention · DarkWebInformer
Root in One Request: Pre-Auth RCE in Marimo (CVE-2026-39987)DarkWebInformer · 29 May 2026
CVE-2026-39987 is a critical pre-authentication remote code execution flaw in Marimo, a popular open-source reactive Python notebook framework and a modern alternative to Jupyter with roughly 19.6k GitHub stars.
Recent mention · TheHackerNews
Attackers Use LLM Agent for Post-Exploitation After Marimo CVE-2026-39987 ExploitTheHackerNews · 29 May 2026
An unknown threat actor has been observed using a large language model (LLM) agent to conduct post-compromise actions after obtaining initial access following the exploitation of a publicly-accessible Marimo network using a recently disclosed vulnerability. "The attacker compromised an internet-reachable Marimo notebook via CVE-2026-39987, extracted two cloud credentials from the compromised
These PoCs are unverified and could contain malware. Use at your own risk.
github · Created 2026-08-19 18:53:43 UTC · 0 stars · AI assessment 90%
CVE-2026-39987 — Marimo Pre-Authentication RCE
github · Created 2026-08-10 02:08:03 UTC · 0 stars · AI assessment 85%
Proof of Concept (PoC) WebSocket client for CVE-2026-39987 (Marimo Pre-Auth RCE), intended for authorized security testing.
github · Created 2026-08-07 07:04:38 UTC · 0 stars · AI assessment 90%
CVE-2026-39987 for marimo 0.20.4 PoC
github · Created 2026-08-03 06:32:49 UTC · 0 stars · AI assessment 90%
A proof-of-concept for CVE-2026-39987
github · Created 2026-08-02 17:34:07 UTC · 0 stars · AI assessment 85%
github · Created 2026-08-02 14:22:20 UTC · 0 stars · AI assessment 90%
Simple POC for CVE-2026-39987
pruva · Created 2026-07-30 07:54:02 UTC
Severity: CRITICAL | CVE: CVE-2026-39987 | Package: marimo
nuclei · Created Unknown
Timeline
Public proof-of-concept code published
Listed in the CISA Known Exploited Vulnerabilities catalog
Scanner coverage available
High-confidence, third-party attested exploitation
Vulnerability disclosed publicly
Identifier reserved by the CNA
Pro API
Confidence, exploit status, sensor telemetry, PoCs, scanner integrations, mentions, and tags are available programmatically for VM, SOC, and CTI workflows.
GET /api/v2/pro/kevs/CVE-2026-39987
Free JSON includes basic KEV fields{
"cve_id": "CVE-2026-39987",
"confidence": "Confirmed",
"cvss_score": 9.3,
"cvss_estimated": false,
"epss_score": 0.96576,
"exploit_status": {
"exploited_in_the_wild": true,
"active_exploitation_observed": false
},
"sensor_telemetry": { "attempts": 0, "sensors": 0 }
}
Early warning alerts
Receive curator-selected alerts when exploitation activity warrants attention. Each alert includes the evidence and context needed to decide what requires attention now.