29 Apr Critical CVE-2026-39987: Marimo Python Notebook Vulnerability Exploited Within Hours
A critical pre-authenticated remote code execution vulnerability in Marimo, an open-source Python notebook platform, has been successfully exploited by attackers within 10 hours of public disclosure. CVE-2026-39987 (CVSS 9.3) poses significant risks to dental practices and healthcare organizations using data analysis platforms for patient management and business intelligence.
The Vulnerability: Terminal WebSocket Bypass
The security flaw stems from the terminal WebSocket endpoint (/terminal/ws) in Marimo that completely lacks authentication validation. Unlike other WebSocket endpoints that properly implement authentication checks, this endpoint only verifies the running mode and platform support before accepting connections, allowing unauthenticated attackers to obtain full interactive shell access on any exposed Marimo instance.

According to Sysdig researchers, attackers can establish a complete PTY shell connection through a single WebSocket request without requiring any credentials. The vulnerability affects all Marimo versions prior to and including 0.20.4, with the fix released in version 0.23.0.
Rapid Exploitation Timeline
Security researchers observed the first exploitation attempt targeting CVE-2026-39987 within 9 hours and 41 minutes of its public disclosure on April 8, 2026. Notably, this occurred despite no proof-of-concept code being available at the time, demonstrating the sophistication of modern threat actors in reverse-engineering vulnerabilities from advisory descriptions.
The unknown attacker demonstrated systematic behavior:
- Connected to honeypot systems via the vulnerable endpoint
- Performed manual reconnaissance to explore file systems
- Systematically harvested credentials from .env files
- Searched for SSH keys and sensitive configuration data
- Returned multiple times over 90 minutes to confirm findings
Healthcare and Dental Practice Implications

For dental practices and healthcare organizations, this vulnerability is particularly concerning because:
Data Science Workstations Are High-Value Targets
Developer workstations running notebook platforms like Marimo often contain cloud credentials, SSH keys, API tokens, and internal network access. In a dental practice context, these systems may have access to patient management databases, imaging systems, and practice management software.
Lateral Movement Opportunities
Compromised data analysis workstations can serve as launching points for broader network infiltration. Attackers gaining shell access to a Marimo instance may be able to access connected dental imaging systems, patient databases, or financial systems within the practice network.
HIPAA Compliance Risks
Any unauthorized access to systems processing patient health information constitutes a potential HIPAA violation. Dental practices using vulnerable Marimo instances for patient data analysis or business intelligence reporting face significant compliance and legal exposure.
Advanced Threat Evolution
Follow-up research revealed that threat actors have weaponized CVE-2026-39987 to deploy NKAbuse malware, a sophisticated botnet that leverages blockchain infrastructure for command and control. Between April 11-14, 2026, researchers recorded 662 exploitation events from 11 unique IP addresses across 10 countries.
The deployed “kagent” binary mimics legitimate Kubernetes AI agent frameworks while establishing persistence through systemd services, crontab entries, and macOS LaunchAgents. Beyond traditional DDoS capabilities, this malware variant supports remote command execution and sophisticated proxy functionality.
CISA Advisory and Federal Requirements
The U.S. Cybersecurity and Infrastructure Security Agency (CISA) added CVE-2026-39987 to its Known Exploited Vulnerabilities (KEV) catalog on April 23, 2026, requiring Federal Civilian Executive Branch agencies to remediate the vulnerability by May 7, 2026.
This designation underscores the critical nature of the threat and the rapid exploitation timeline that has become characteristic of modern vulnerability disclosure cycles.
Immediate Action Required
Dental practices and healthcare organizations should immediately:
- Audit Environment: Identify any instances of Marimo deployed within your network
- Update Immediately: Upgrade all Marimo installations to version 0.23.0 or later
- Network Segmentation: Ensure data analysis workstations are properly segmented from patient data systems
- Monitor Access Logs: Review recent access logs for any unauthorized terminal connections
- Credential Rotation: Rotate any credentials that may have been accessible from compromised systems
Defense Strategy
This incident highlights the critical importance of treating developer and data analysis workstations as high-value assets requiring enterprise-grade security controls. The assumption that specialized platforms like Marimo are too niche to attract attention has proven false.
Dental practices should implement zero-trust networking principles, ensuring that data analysis platforms cannot directly access patient information systems without proper authentication and authorization controls.
For assistance with vulnerability assessment, network segmentation, or incident response planning for your dental practice IT infrastructure, contact Compudent Systems at (905) 940-8166.