
Proof-of-concept and offensive security research analyzing CVE-2026-23744 (MCPJam Inspector Unauthenticated RCE, Patched in v1.4.3+).
DISCLAIMER: This repository and the associated scripts are intended solely for authorized security assessments, penetration testing, security research, and educational analysis. Unauthorized testing of systems without explicit written consent is illegal and strictly prohibited. The author assumes no liability for misinterpretation or misuse of this material.
This repository contains a Proof-of-Concept (PoC) automation script demonstrating CVE-2026-23744, a critical-severity vulnerability (CVSS 9.8) affecting @mcpjam/inspector (versions <= 1.4.2).
The vulnerability stems from Missing Authentication for a Critical Function (CWE-306) combined with an insecure default network binding. By default, the MCPJam Inspector interface binds to 0.0.0.0 rather than 127.0.0.1, exposing the exposed HTTP API control plane to the local network or the internet. Remote threat actors can exploit the unauthenticated /api/mcp/connect endpoint by transmitting a crafted JSON payload containing arbitrary operating system commands inside the serverConfig object, leading to full context Remote Code Execution (RCE).
The automated assessment tool implements the following logical methodology:
/api/mcp/connect), forcing the application runtime to drop down to the shell layer and execute the payload.exploit.py: The core automation framework handling host state checks, payload encoding, and HTTP interaction./api/mcp/connectEnsure your environment is properly provisioned with Python 3.x before running the assessment framework.
git clone https://github.com/<your-username>/CVE-2026-23744.git
cd CVE-2026-23744
python3 exploit.py -t <target_ip> -api <target_api> -user <user_ip>
or with custom port
python3 exploit.py -t <target_ip> -api <target_api> -user <user_ip> -p <target_port>