Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-39987— marimo Affected by Pre-Auth Remote Code Execution via Terminal WebSocket Authentication Bypass

Quick assessment

Affected
marimo-team marimo
Exploitation
Confirmed exploitation in the wild; remediate immediately
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

marimo是marimo开源的一个交互式Python笔记本,支持响应式编程和SQL查询。 marimo 0.23.0之前版本存在访问控制错误漏洞,该漏洞源于终端WebSocket端点缺少身份验证,可能导致未经身份验证的攻击者获得完整PTY shell并执行任意系统命令。

AI Predicted 9.8 Difficulty: Easy KEV EPSS 37.87% · P99

Public Exploits 1

ExploitDB · 1 EDB-52673 [webapps]
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-39987

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
marimo Affected by Pre-Auth Remote Code Execution via Terminal WebSocket Authentication Bypass
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
关键功能的认证机制缺失
Source: CVE Program / CVE List V5
Vulnerability Title
marimo 访问控制错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
marimo是marimo开源的一个交互式Python笔记本,支持响应式编程和SQL查询。 marimo 0.23.0之前版本存在访问控制错误漏洞,该漏洞源于终端WebSocket端点缺少身份验证,可能导致未经身份验证的攻击者获得完整PTY shell并执行任意系统命令。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Shenlong Deep Dive — AI Deep Analysis

10-question deep dive: root cause, exploitation, mitigation, urgency. Read summary free, full version requires login.

Affected Products

Vendor Product Affected Versions CPE Subscribe
marimo-team marimo < 0.23.0 -

II. Public POCs for CVE-2026-39987

# POC Description Source Link Shenlong Link
1 Marimo versions <= 0.20.4 contain an unauthenticated remote code execution vulnerability. The terminal WebSocket endpoint /terminal/ws lacks authentication validation, allowing an unauthenticated attacker to connect via WebSocket, obtain a full PTY shell, and execute arbitrary OS commands on the underlying server. https://github.com/projectdiscovery/nuclei-templates/blob/main/javascript/cves/2026/CVE-2026-39987.yaml POC Details
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-39987

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-39987 (2)

Vendor Advisories for CVE-2026-39987 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-39987

No comments yet


Leave a comment