Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacyΒ© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-39987-marimo-rce β€” CVE-2026-39987 | Kitploit
Tools/GitHubGitHub/0xdeadroot/cve-2026-39987-marimo-rce
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & EducationRemote Access Tool
GitHub0xdeadroot/cve-2026-39987-marimo-rce

CVE-2026-39987-marimo-rce

CVE-2026-39987

View Repository
376 months agoNot yet reviewed
Share

CVE-2026-39987 - Marimo Pre-Auth RCE

Unauthenticated Remote Code Execution in Marimo via WebSocket Terminal

Critical Python Docker


πŸ“Œ Overview

CVE-2026-39987 is a critical Pre-Authentication Remote Code Execution vulnerability affecting Marimo versions prior to 0.23.0. The /terminal/ws WebSocket endpoint completely bypasses authentication, allowing any unauthenticated attacker to obtain a full interactive PTY shell with the privileges of the Marimo process (typically root in Docker environments).


πŸ› οΈ Vulnerability Details

  • CVE ID: CVE-2026-39987
  • Affected Product: Marimo (Reactive Python Notebook)
  • Affected Versions: marimo < 0.23.0
  • Fixed Version: marimo >= 0.23.0
  • Attack Vector: Network (Unauthenticated)
  • Affected Endpoint: /terminal/ws
  • Impact: Full remote shell (PTY) as root

✨ PoC Features

  • Automatic http:// β†’ ws:// and https:// β†’ wss:// conversion
  • Intelligent PTY buffer draining
  • Reliable command execution
  • Clean, minimal and stable code
  • Ready for Docker lab testing

πŸ“ Repository Structure

CVE-2026-39987/
β”œβ”€β”€ CVE-2026-39987-poc.py          ← Main Exploit
β”œβ”€β”€ docker-vulnerable/
β”‚   β”œβ”€β”€ Dockerfile
β”‚   └── docker-compose.yml
β”œβ”€β”€ notebooks/                     ← Persistent notebooks (optional)
β”œβ”€β”€ README.md
└── LICENSE

πŸš€ Usage

1. Install dependency

pip install websocket-client

2. Run the Exploit

# Basic usage
python3 CVE-2026-39987-poc.py http://localhost:2718 "id && whoami && hostname"

# System enumeration
python3 CVE-2026-39987-poc.py http://localhost:2718 "id && whoami && cat /etc/os-release && ls -la /app"

# Read sensitive files
python3 CVE-2026-39987-poc.py http://target:2718 "cat /etc/passwd && cat /root/.bash_history"

πŸ§ͺ Vulnerable Docker Lab

cd docker-vulnerable
docker compose up --build -d

Then test:

python3 CVE-2026-39987-poc.py http://localhost:2718 "id && whoami"

πŸ›‘οΈ Mitigation

  • Upgrade immediately to marimo >= 0.23.0
  • Do not expose Marimo directly to the internet
  • Place behind a reverse proxy with authentication
  • Run as non-root user whenever possible
  • Restrict access to /terminal/ws via firewall or proxy rules

⚠️ Disclaimer

This Proof of Concept is intended for educational purposes and authorized security testing only. The author is not responsible for any misuse or damage caused by this tool. Ensure you have explicit permission before testing any system.

Use ethically and responsibly.


πŸ“„ References

  • Official CVE Advisory
  • Marimo GitHub Repository
  • NVD Entry (CVE-2026-39987)

Made for security research & responsible disclosure.

Download Tool

Most Popular

View all β†’

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    911
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    548
  • 3

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    366
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    362
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    311
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurityβ€”where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    287

Explore all tools

Browse our collection of tools

View all tools β†’