PoC Monitor
← All CVEs
CVE-2026-39987published 9 Apr 2026 17:16 UTCData: JSON · API

Marimo-team marimo

marimo Affected by Pre-Auth Remote Code Execution via Terminal WebSocket Authentication Bypass

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.

First public PoC 3.2 daysafter publication · 12 Apr 2026
Public PoCs3129 on GitHub · 2 Exploit-DB, Metasploit or nuclei
CVSS9.8critical · scored by NVD · CWE-306
CISA KEV 23 Apr 202614 days after publication

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

marimo-team marimo
  • < 0.23.0

Fixed in 0.23.0

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8+10+12+14CVE published9 Apr 2026 · t = 0First public PoC12 Apr 2026 · t+3.2dAdded to CISA KEV23 Apr 2026 · t+14d

First public PoC 3.2 days after publication; added to CISA KEV 14 days after publication. First PoC: 0xBlackash/CVE-2026-39987 (created 12 Apr 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

29 PoCs · 2 pending · 2 informational · 2 suspicious or fake

PoCs 29
RepositoryCreatedFound by usStarsAssessment
0xBlackash/CVE-2026-39987 12 Apr 2026 +3.2 d backfilled 0 PoC
0xredash/CVE-2026-39987 12 Apr 2026 +3.2 d backfilled 0 PoC
ashrafzaryouh/CVE-2026-39987 12 Apr 2026 +3.2 d backfilled 0 PoC
fevar54/marimo_CVE-2026-39987_RCE_PoC 13 Apr 2026 +4 d backfilled 0 PoC
mki9/CVE-2026-39987_exploit 13 Apr 2026 +4.3 d backfilled 0 PoC
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

keraattin/CVE-2026-39987 15 Apr 2026 +5.6 d backfilled 1 PoC
Nxploited/CVE-2026-39987 18 Apr 2026 +8.6 d backfilled 1 PoC
Dhiaelhak-Rached/CVE-2026-39987-lab-or-marimo-cve-lab 26 Apr 2026 +17 d backfilled 0 PoC
rootdirective-sec/CVE-2026-39987-Lab 4 May 2026 +25 d backfilled 1 PoC
0xdeadroot/CVE-2026-39987-marimo-rce 16 May 2026 +36 d backfilled 0 PoC
M3PH1569/CVE-2026-39987-POC 24 May 2026 +45 d backfilled 5 PoC
jasonbernier/CVE-2026-39987 2 Aug 2026 +115 d backfilled 0 PoC
vanhari/CVE-2026-39987 2 Aug 2026 +115 d backfilled 0 PoC
snehil00121/Public_CVEs_Exploit 4 Aug 2026 +117 d backfilled 0 PoC
alreadyClosed/CVE-2026-39987 7 Aug 2026 +120 d backfilled 0 PoC
iapetus12/cohort-htb 8 Aug 2026 +121 d backfilled 0 PoC
MADA0L/CVE-2026-39987-Poc 10 Aug 2026 +122 d backfilled 0 PoC
matesz44/cve-2026-39987 12 Aug 2026 +125 d backfilled 0 PoC
dodeepsink/CVE-2026-39987.py 20 Aug 2026 +133 d backfilled 0 PoC
Ghxstsec/CVE-2026-39987 1 Sep 2026 +145 d backfilled 1 PoC
stapat1245/CVE-2026-39987-PoC 7 Sep 2026 +151 d backfilled 0 PoC
Th3Purge/CVE-2026-39987 8 Sep 2026 +152 d backfilled 9 PoC
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

julichaan/CVE-2026-39987_POC 11 Sep 2026 +155 d backfilled 0 PoC
mfahdk/CVE-2026-39987_RCE_PoC 20 Sep 2026 +164 d backfilled 0 PoC
LaRemontada12/CVE-2026-39987-Marimo-RCE-SOC-Detection 27 Sep 2026 +171 d backfilled 1 PoC
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

Industri4l-H3ll-Xpl0it3rs/CVE-2026-39987-Marimo-RCE 16 Oct 2026 +190 d 14 Nov 2026 0 PoC
dntaskmehow/MARABUSE 20 Oct 2026 +194 d 14 Nov 2026 0 PoC
lunacysoft/CVE-2026-39987-POC-Marimo 24 Oct 2026 +198 d 14 Nov 2026 0 PoC
0xv01d/CVE-2026-39987 13 Nov 2026 +218 d 14 Nov 2026 0 PoC
Pending 2
RepositoryCreatedFound by usStarsAssessment
1nt1m4cy/HTB-Cohort 4 Nov 2026 +208 d 14 Nov 2026 2 Pending
Arnau029/CVE-2026-39987-PoC 14 Nov 2026 +219 d 14 Nov 2026 0 Pending
Informational 2
RepositoryCreatedStarsAssessment
h3raklez/CVE-2026-39987 25 Apr 2026 +16 d 1 Informational · write-up
HORKimhab/CVE-2026-39987 30 May 2026 +51 d 0 Informational · write-up
Suspicious or fake 2
RepositoryCreatedStarsAssessment
gbuyssens/CVE-2026-39987 2 Aug 2026 +115 d 0 Fake
Flags · score 15
  • owner account created less than 30 days before the repo

Below the suspicion threshold (50); does not change the assessment.

Wind010/CVE-2026-39987_PoC 3 Aug 2026 +116 d 2 Fake

Only PoCs count toward the first-PoC date and the characteristics below. "Backfilled" means we found the repository more than 30 days after it was created. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.

PoC characteristics

What to hunt for in your logs · from 29 PoC repos

GET /terminal/ws

Key headers
Sec-Websocket-Key: dGhlIHNhbXBsZSBub25jZQ== Sec-Websocket-Key: dGVzdC1rZXktMTIzNDU2Nzg= Sec-Websocket-Version: 13 Upgrade: websocket
Ports
2718, 8080, 8888
Seen in
3 repos: 0xv01d/CVE-2026-39987, fevar54/marimo_CVE-2026-39987_RCE_PoC, keraattin/CVE-2026-39987
Evidence
0xv01d/CVE-2026-39987/README.md:81 fevar54/marimo_CVE-2026-39987_RCE_PoC/CVE-2026-39987_nuclei.yaml:49 keraattin/CVE-2026-39987/README.md:414

POST /api/validate

Body markers
"url":"http://127.1:80/status"
Ports
80
Seen in
1 repo: iapetus12/cohort-htb
Evidence
iapetus12/cohort-htb/README.md:28

GET /api/status

Ports
2718
Seen in
1 repo: keraattin/CVE-2026-39987
Evidence
keraattin/CVE-2026-39987/README.md:411

GET /ws

Key headers
Sec-Websocket-Key: dGVzdC1rZXktMTIzNDU2Nzg= Sec-Websocket-Version: 13 Upgrade: websocket
Ports
2718
Seen in
1 repo: keraattin/CVE-2026-39987
Evidence
keraattin/CVE-2026-39987/README.md:425

POST /api/v1/execute

Body markers
"code" "config" in application/json
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36
Seen in
1 repo: dntaskmehow/MARABUSE
Evidence
dntaskmehow/MARABUSE/(CVE-2026-39987)- MARIMO RCE & NKABUSE EXPLOIT FRAMEWORK/marimo-rce.py:65

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /api/version
(?i)^/api/version(?:[?#].*)?$
GET /terminal/ws
(?i)^/terminal/ws(?:[?#].*)?$
POST /api/validate
(?i)^/api/validate(?:[?#].*)?$
GET /api/status
(?i)^/api/status(?:[?#].*)?$
GET /ws
(?i)^/ws(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /api/version
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2026-39987 marimo-team marimo exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/version"; reference:url,poc.griffinguard.io/cve/CVE-2026-39987; classtype:web-application-attack; sid:9460229; rev:1;)
GET /terminal/ws
alert http any any -> $HOME_NET [2718,8080,8888] (msg:"GG PoC-Monitor CVE-2026-39987 marimo-team marimo exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/terminal/ws"; http.header; content:"Sec-Websocket-Key: dGhlIHNhbXBsZSBub25jZQ=="; nocase; http.header; content:"Sec-Websocket-Key: dGVzdC1rZXktMTIzNDU2Nzg="; nocase; http.header; content:"Sec-Websocket-Version: 13"; nocase; http.header; content:"Upgrade: websocket"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-39987; classtype:web-application-attack; sid:9497953; rev:1;)
POST /api/validate
alert http any any -> $HOME_NET [80] (msg:"GG PoC-Monitor CVE-2026-39987 marimo-team marimo exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/validate"; http.request_body; content:"|22|url|22|:|22|http://127.1:80/status|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-39987; classtype:web-application-attack; sid:9766661; rev:1;)
GET /api/status
alert http any any -> $HOME_NET [2718] (msg:"GG PoC-Monitor CVE-2026-39987 marimo-team marimo exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/status"; reference:url,poc.griffinguard.io/cve/CVE-2026-39987; classtype:web-application-attack; sid:9427453; rev:1;)
GET /ws
alert http any any -> $HOME_NET [2718] (msg:"GG PoC-Monitor CVE-2026-39987 marimo-team marimo exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/ws"; http.header; content:"Sec-Websocket-Key: dGVzdC1rZXktMTIzNDU2Nzg="; nocase; http.header; content:"Sec-Websocket-Version: 13"; nocase; http.header; content:"Upgrade: websocket"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-39987; classtype:web-application-attack; sid:9633844; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /api/version
title: marimo-team marimo exploit attempt (CVE-2026-39987)
id: gg-pocmon-cve-2026-39987-9460229
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-39987. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-39987
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/api/version'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.39987
GET /terminal/ws
title: marimo-team marimo exploit attempt (CVE-2026-39987)
id: gg-pocmon-cve-2026-39987-9497953
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-39987. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-39987
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/terminal/ws'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.39987
POST /api/validate
title: marimo-team marimo exploit attempt (CVE-2026-39987)
id: gg-pocmon-cve-2026-39987-9766661
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-39987. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-39987
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/api/validate'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.39987
GET /api/status
title: marimo-team marimo exploit attempt (CVE-2026-39987)
id: gg-pocmon-cve-2026-39987-9427453
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-39987. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-39987
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/api/status'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.39987
GET /ws
title: marimo-team marimo exploit attempt (CVE-2026-39987)
id: gg-pocmon-cve-2026-39987-9633844
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-39987. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-39987
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/ws'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.39987