CVE-2026-23744: REC in MCPJam inspector due to HTTP Endpoint exposes
MCPJam inspector 1.4.2 and earlier listens on all network interfaces and lets anyone who can reach it post a command to `/api/mcp/connect`, which the server then runs. No login or user action is needed, so a single HTTP request gives remote code execution. Upgrade `@mcpjam/inspector` to 1.4.3.
Published Jan 16, 2026 · Analysis Nov 1, 2026
What an attacker can do
The server starts with hostname: "0.0.0.0", so its HTTP API is reachable from the network rather than only from the local machine. The /api/mcp/connect route takes a serverConfig with command, args and env and starts that process to connect to an MCP server. It performs no authentication and no validation of the command.
The advisory's proof of concept is one curl POST with a JSON body whose command is cmd.exe /c calc. Any program with any arguments can be substituted. The commands run with the privileges of the user who started the inspector, usually a developer with source code, SSH keys and cloud credentials on the machine. The advisory compares it to CVE-2025-49596, which needed the victim to click a link. This one needs no interaction. Anyone on the same network, such as a shared office, Wi-Fi or a cloud VPC, can attack a developer who runs npx @mcpjam/inspector@latest. It scores 9.8 critical.
Who is affected
The npm package @mcpjam/inspector at version 1.4.2 and earlier. Check what you run:
npm ls -g @mcpjam/inspectorIf you start it with npx @mcpjam/inspector@latest, npx caches packages, so clear the cache or run with an explicit version. You can also see whether the inspector is listening on all interfaces with ss -ltnp and looking for 0.0.0.0 on its port (6274 in the advisory's example).
@mcpjam/inspector
- Ecosystem
- npm
- Affected
- <= 1.4.2
- Fixed in
- 1.4.3
- Check
npm ls @mcpjam/inspector
How to fix it
Upgrade to @mcpjam/inspector 1.4.3:
npx @mcpjam/[email protected]The fix commit changes the bind address in server/index.ts from 0.0.0.0 to 127.0.0.1, so only local processes can reach the API. The diff does not add authentication or command validation. A Docker setup that relied on the wide bind may need extra port mapping, and exposing that port again brings back the risk. The sources list no other workaround; stop the inspector or block its port at the firewall if you cannot upgrade.
How to tell if you were hit
Check network logs and host firewall logs for connections to the inspector's port from addresses other than localhost. Search web logs for POST requests to /api/mcp/connect with an unexpected command such as cmd.exe, sh, bash, curl or powershell. On the host, look for child processes of the Node process running the inspector that you did not start. If a machine was reachable while running 1.4.2 or earlier, treat its credentials as exposed.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
MCPJam inspector is the local-first development platform for MCP servers. The Latest version 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.
This vulnerability is similar to CVE-2025-49596, but more severe. While CVE-2025-49596 requires tricking a user into clicking a malicious link, this vulnerability is exploitable with no user interaction. 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.
Details
MCPJam inspector binds to 0.0.0.0 making its HTTP APIs remotely reachable.
const server = serve({
fetch: app.fetch,
port: SERVER_PORT,
hostname: "0.0.0.0",
});The /api/mcp/connect API, which is intended for connecting to MCP servers, becomes an open entry point for unauthorized requests. When an HTTP request reaches the /connect route, the system extracts the command and args fields without performing any security checks, leading to the execution of arbitrary command.
PoC
(1) Start up the MCPJam inspector as Github README npx @mcpjam/inspector@latest
(2) RCE by posting a HTTP request A remote code execution (RCE) attack can be triggered by sending a simple HTTP request to the target host running MCPJam inspector (e.g., http://10.97.58.83:6274 in the test environment). curl http://10.97.58.83:6274/api/mcp/connect --header "Content-Type: application/json" --data "{\"serverConfig\":{\"command\":\"cmd.exe\",\"args\":[\"/c\", \"calc\"],\"env\":{}},\"serverId\":\"mytest\"}"
Impact
Remote Code Execution (RCE)
Credited to c2an1.
Questions
- Does this require user interaction?
No. The advisory states it is exploitable with no user interaction, unlike CVE-2025-49596, which required clicking a malicious link.
- Am I safe if I only run it on my laptop?
Not on affected versions. The server binds to
0.0.0.0by default, so other machines on your network can reach it. Version 1.4.3 binds to127.0.0.1only.- What does the fix change?
The bind address moves from
0.0.0.0to127.0.0.1. The commit diff does not show added authentication or command checks on/api/mcp/connect.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More Other MCP servers and tools vulnerabilities
All Other MCP servers and tools entriesCVE-2026-102943
Dagu MCP DAG specification read bypasses path containment and workspace isolation
medium6.5Nov 10, 2026CVE-2026-102610
fast-agent: `fast-agent serve` binds HTTP to 0.0.0.0 with no authentication by default; with --shell this is unauthenticated remote command execution
medium6.4Nov 9, 2026CVE-2026-63655
tsParticles: Unbounded HTTP Request Body Buffering in @tsparticles/mcp-server Leads to Remote DoS
high7.5Nov 9, 2026CVE-2026-76892
tsParticles: Malformed JSON requests can terminate the @tsparticles/mcp-server HTTP process
high8.7Nov 9, 2026CVE-2026-76893
tsParticles: A single anonymous MCP session can monopolize HTTP mode and deny new clients
medium6.9Nov 9, 2026CVE-2026-77604
Code Graph RAG: MCP paginated read_file path traversal / arbitrary file read
high7.5Nov 9, 2026
