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.
CVE-2026-39987
“—” beside the score: it is equal to NVD's CVSS score.
Score elevated to 9.8 because this CVE is listed on the CISA Known Exploited Vulnerabilities catalog (added 2026-04-23), indicating real-world exploitation has been confirmed by US federal agencies. NVD baseline CVSS 9.8 retained for reference. Confidence: HIGH.
Also known asEUVD-2026-20980 (ENISA EUVD)Source: ENISA EUVD
- Actively exploited in the wild (CISA-KEV) — the reason this is sooner than the SSVC decision on this page at low mission impact
A fix is available — apply it.
- CVSS v3
- 9.8
- EG Score
- 9.8CRITICALhigh confidence
- EG Risk
- 99EG Risk 99/100
EG Risk is EchelonGraph's 0–100 priority score. It fuses impact severity (EG Severity, the CVSS base score, never the KEV-floored or EPSS-lifted EG Score) with real-world exploitation and automatability, under weights EchelonGraph set by hand, so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner.
How it’s computed (value × EchelonGraph’s weight)Severity98% × 45%Impact severity (EG Severity): CVSS 9.8 of 10. Never the KEV-floored or EPSS-lifted EG Score.Exploitation100% × 40%Fixed at 100% for a CISA KEV listing: EchelonGraph's rule.Automatability100% × 15%CISA's SSVC Automatable value: yes (Vulnrichment).SSVC (CISA's decision table, applied by EchelonGraph): Attend at low mission impact; Act at medium or high.Exploitation active (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.Action: A fix is available. Apply it sooner than your standard update timelines at low mission impact and as soon as possible at medium or high. - EPSS PROB
- 99.6%
- EPSS %ILE
- 99th
- KEV
- ⚠ Exploited
What the EG score is made of (scorer v4.0: the three questions the 0–10 score mixes, published apart · methodology)
The EG score (9.8): severity, escalated by confirmed exploitation. This CVE's 9.8 is its impact severity (EG Severity), not escalated.
- EG Severity
- 9.8 CRITICALCVSS-B, impact only: no KEV listing, EPSS or EG-KEV tier raises it.NVD CVSS v3 · CVSS v3.0 or v3.1
- EG Likelihood
- 99.6% within 30 daysSource: FIRST EPSS (model v2026.06.15, score date 2026-10-29). FIRST's exploitation probability, not an EchelonGraph model.
- Confirmed exploitation
- CISA KEV and EG-KEV Tier 1 (exploited in the wild)Reported apart from the likelihood: an observed fact, not a probability.
- EG Priority
- SSVC Act at medium mission impactAttend at low mission impact; Act at medium or high.CISA BOD 26-04: 3 days & forensic triage if the affected system is publicly exposed; 3 days & forensic triage if it is not.Each input and its source: the SSVC and BOD 26-04 blocks below.
SSVC (CISA's decision table, applied by EchelonGraph)Attend at low mission impact; Act at medium or high.
A fix is available. Apply it sooner than your standard update timelines at low mission impact and as soon as possible at medium or high.
Exploitation active (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table
BOD 26-04 (CISA's remediation timeline, Table 1)3 days & forensic triage if the affected system is publicly exposed; 3 days & forensic triage if it is not.
In CISA KEV yes (CISA's KEV catalog) · Automatable yes (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it
CISA required action“Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.”
Quoted verbatim from CISA's Known Exploited Vulnerabilities catalog. CISA directs it at US federal civilian executive branch agencies under Binding Operational Directive (BOD) 26-04, which replaced BOD 22-01 on 10 June 2026; it is not EchelonGraph's advice. CISA's notes: https://github.com/marimo-team/marimo/security/advisories/GHSA-2679-6mx9-h9xc · https://nvd.nist.gov/vuln/detail/CVE-2026-39987
Published
April 9, 2026
Last Modified
April 23, 2026
Advisory Details (5)
Auto-updated Oct 29, 2026Marimo OSS Python Notebook RCE: From Disclosure to Exploitation in Under 10 Hours | Sysdig
https://www.sysdig.com/blog/marimo-oss-python-notebook-rce-from-disclosure-to-exploitation-in-under-10-hoursKnown Exploited Vulnerabilities Catalog | CISA
Known Exploited Vulnerabilities Catalog | CISA. Listed in CISA Known Exploited Vulnerabilities catalog.
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-39987Pre-Auth Remote Code Execution via Terminal WebSocket Authentication Bypass · Advisory · marimo-team/marimo · GitHub
https://github.com/marimo-team/marimo/security/advisories/GHSA-2679-6mx9-h9xcfix: properly authenticate terminal route
Patch available: marimo-team/marimo 0.23.0 (PR #9098 merged 2026-04-08)
https://github.com/marimo-team/marimo/pull/9098commit c24d4806398f (marimo-team/marimo)
Patch available: marimo-team/marimo 0.23.0 (contains commit c24d4806398f)
https://github.com/marimo-team/marimo/commit/c24d4806398f30be6b12acd6c60d1d7c68cfd12aAffected Packages
(1 across 1 ecosystem)
PyPI(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| marimo | 0.0.0 ... 0.9.9 (370 versions) |
| — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 11× in last 7d / 57× in last 30d)
Each row is a time one of our pipelines fetched, updated or re-scored this CVE. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). Most recent first.
Showing the most recent 100 of 211 refreshes on record for this CVE.
A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. None are among the latest 100 rows. The 111 oldest rows on record are not shown and were not checked, so the counts can still include repeats.
- 2026-10-29 20:00 UTCEG score recompute
- 2026-10-28 21:55 UTCEG score recompute
- 2026-10-27 23:51 UTCEG score recompute
- 2026-10-27 01:42 UTCEG score recompute
- 2026-10-26 03:37 UTCEG score recompute
- 2026-10-25 16:32 UTCEPSS rescoreEPSS 99.6% · 99th percentile
- 2026-10-25 14:31 UTCEG score recompute
- 2026-10-25 05:33 UTCEG score recompute
- 2026-10-24 16:32 UTCEPSS rescoreEPSS 38% · 98th percentile
- 2026-10-24 07:27 UTCEG score recompute
- 2026-10-23 16:31 UTCEPSS rescoreEPSS 38% · 98th percentile
- 2026-10-23 09:22 UTCEG score recompute
- 2026-10-22 16:34 UTCEPSS rescoreEPSS 38% · 98th percentile
- 2026-10-22 11:15 UTCEG score recompute
- 2026-10-21 16:33 UTCEPSS rescoreEPSS 38% · 98th percentile
- 2026-10-21 13:08 UTCEG score recompute
- 2026-10-20 16:33 UTCEPSS rescoreEPSS 38% · 98th percentile
- 2026-10-19 16:53 UTCEG score recompute
- 2026-10-19 16:32 UTCEPSS rescoreEPSS 38% · 98th percentile
- 2026-10-18 18:47 UTCEG score recompute
- 2026-10-18 03:43 UTCEG score recompute
- 2026-10-17 20:42 UTCEG score recompute
- 2026-10-17 16:34 UTCEPSS rescoreEPSS 38% · 98th percentile
- 2026-10-16 22:36 UTCEG score recompute
- 2026-10-16 16:41 UTCEPSS rescoreEPSS 38% · 98th percentile
Show 75 moreShow fewer
- 2026-10-16 00:31 UTCEG score recompute
- 2026-10-15 16:32 UTCEPSS rescoreEPSS 38% · 98th percentile
- 2026-10-15 02:24 UTCEG score recompute
- 2026-10-14 16:32 UTCEPSS rescoreEPSS 38% · 98th percentile
- 2026-10-14 04:17 UTCEG score recompute
- 2026-10-13 16:34 UTCEPSS rescoreEPSS 38% · 98th percentile
- 2026-10-13 06:12 UTCEG score recompute
- 2026-10-12 16:34 UTCEPSS rescoreEPSS 38% · 98th percentile
- 2026-10-12 16:10 UTCEG score recompute
- 2026-10-11 19:37 UTCEG score recompute
- 2026-10-11 17:05 UTCEG score recompute
- 2026-10-11 14:32 UTCEG score recompute
- 2026-10-11 13:48 UTCEPSS rescoreEPSS 38% · 98th percentile
- 2026-10-11 11:20 UTCEG score recompute
- 2026-10-10 22:53 UTCEG score recompute
- 2026-10-10 20:00 UTCEPSS rescoreEPSS 38% · 98th percentile
- 2026-10-09 22:04 UTCEG score recompute
- 2026-10-09 20:07 UTCEPSS rescoreEPSS 38% · 98th percentile
- 2026-10-08 21:16 UTCEG score recompute
- 2026-10-08 17:12 UTCEPSS rescoreEPSS 38% · 98th percentile
- 2026-10-08 00:37 UTCEG score recompute
- 2026-10-07 23:48 UTCEPSS rescoreEPSS 38% · 98th percentile
- 2026-10-06 15:30 UTCEG score recompute
- 2026-10-06 15:17 UTCEPSS rescoreEPSS 38% · 98th percentile
- 2026-10-05 18:50 UTCEG score recompute
- 2026-10-05 17:43 UTCEPSS rescoreEPSS 38% · 98th percentile
- 2026-10-03 17:09 UTCEG score recompute
- 2026-10-03 14:25 UTCEPSS rescoreEPSS 38% · 98th percentile
- 2026-10-02 20:25 UTCEG score recompute
- 2026-10-01 23:38 UTCEG score recompute
- 2026-10-01 19:49 UTCEPSS rescoreEPSS 38% · 98th percentile
- 2026-09-30 18:40 UTCEG score recompute
- 2026-09-30 15:03 UTCEPSS rescoreEPSS 38% · 98th percentile
- 2026-09-29 17:46 UTCEG score recompute
- 2026-09-29 01:12 UTCEG score recompute
- 2026-09-27 21:51 UTCCISA KEV update
- 2026-09-27 16:08 UTCEG score recompute
- 2026-09-27 13:48 UTCEPSS rescoreEPSS 38% · 98th percentile
- 2026-09-26 19:27 UTCEG score recompute
- 2026-09-26 15:58 UTCEPSS rescoreEPSS 38% · 98th percentile
- 2026-09-26 02:52 UTCEG score recompute
- 2026-09-26 00:26 UTCEPSS rescoreEPSS 38% · 98th percentile
- 2026-09-25 19:35 UTCCISA KEV update
- 2026-09-25 14:55 UTCCISA KEV update
- 2026-09-24 19:31 UTCCISA KEV update
- 2026-09-24 17:47 UTCEG score recompute
- 2026-09-22 19:36 UTCCISA KEV update
- 2026-09-22 16:10 UTCEG score recompute
- 2026-09-21 23:37 UTCEG score recompute
- 2026-09-21 19:09 UTCCISA KEV update
- 2026-09-19 17:50 UTCEG score recompute
- 2026-09-18 19:20 UTCCISA KEV update
- 2026-09-18 14:15 UTCCISA KEV update
- 2026-09-17 20:18 UTCEG score recompute
- 2026-09-17 19:30 UTCEPSS rescoreEPSS 99% · 99th percentile
- 2026-09-16 14:10 UTCCISA KEV update
- 2026-09-14 19:24 UTCCISA KEV update
- 2026-09-11 18:49 UTCCISA KEV update
- 2026-09-10 19:28 UTCCISA KEV update
- 2026-09-10 10:29 UTCEG score recompute
- 2026-09-10 09:34 UTCEPSS rescoreEPSS 99% · 99th percentile
- 2026-09-09 19:08 UTCCISA KEV update
- 2026-09-08 18:54 UTCCISA KEV update
- 2026-09-06 15:26 UTCEG score recompute
- 2026-09-06 13:47 UTCEPSS rescoreEPSS 99% · 99th percentile
- 2026-09-05 18:46 UTCEG score recompute
- 2026-09-04 17:38 UTCCISA KEV update
- 2026-09-04 05:30 UTCEG score recompute
- 2026-09-04 05:06 UTCEPSS rescoreEPSS 99% · 99th percentile
- 2026-09-02 17:33 UTCCISA KEV update
- 2026-08-31 14:19 UTCCISA KEV update
- 2026-08-30 21:55 UTCEG score recompute
- 2026-08-30 19:17 UTCEPSS rescoreEPSS 97% · 99th percentile
- 2026-08-29 00:19 UTCEG score recompute
- 2026-08-28 21:41 UTCEPSS rescoreEPSS 97% · 99th percentile
Publicly available exploits
(4 references)Public exploit code is referenced for this CVE (1 Exploit-DB entry, 2 GitHub PoCs), as is 1 Nuclei detection template. A detection template checks whether a system is affected; it is not necessarily exploit code. Defenders should treat patch urgency accordingly.
- GitHub PoCTh3Purge/CVE-2026-39987Published Sep 8, 2026
Marimo Pre Authentication RCE
Open source ↗ - Exploit-DBEDB-52673Published Sep 2, 2026
Marimo 0.20.4 - RCE
Open source ↗ - GitHub PoCM3PH1569/CVE-2026-39987-POCPublished May 24, 2026
CVE-2026-39987 Exploitation Tool - Marimo < 0.23.0 Pre-Auth RCE (WebSocket)
Open source ↗ - Nucleijavascript/cves/2026/CVE-2026-39987.yamlPublished Apr 9, 2026
Marimo <= 0.20.4 - Pre-Auth Terminal WebSocket RCE
Open source ↗
Related CVEs(same product + same CWE)
Frequently asked(6)
What is CVE-2026-39987?
When was the CVE record for CVE-2026-39987 published?
Is CVE-2026-39987 actively exploited?
What is the CVSS score of CVE-2026-39987?
Which products are affected by CVE-2026-39987?
How do I remediate CVE-2026-39987?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-39987
Is Your Infrastructure Affected by CVE-2026-39987?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.