MCPJungle, a self-hosted gateway that puts many MCP servers behind one endpoint, has an unauthenticated setup route that can hand a stranger the keys to a fresh server. VulnCheck published advisory CVE-2026-145359 on 4 December and scored it 9.2 (critical, CVSS 4.0). Every release from 0.1.11 through 0.4.7 is affected, and as far as we can verify there is no fixed version yet. The catch is timing: only a server that nobody has initialized can be taken over, so the question for operators is who got to POST /init first.
How the MCPJungle setup route turns into code execution
In enterprise mode, which the project recommends for teams, a new MCPJungle server does not set itself up. The operator is supposed to run mcpjungle init-server once. Behind that command sits an HTTP route, POST /init, and according to the advisory it asks for no credentials. An attacker who can reach the port first can ask for enterprise mode and get back an admin access token, or ask for development mode, which switches authentication off for good.
From an admin token the path to a shell is short, because registering a STDIO MCP server means telling the gateway which command to launch. The researcher who found the flaw, who publishes a write-up with a working proof of concept, shows a command running as the service user after two requests. The same write-up lists more damage: stored upstream credentials and OAuth tokens can be read, users can be created, and a service account that sits in the docker group turns code execution into host takeover. VulnCheck’s one-line summary agrees on the core: unauthenticated initialization, admin token or dev mode switch, then code execution.
Which MCPJungle servers are exposed, and which are not
- At risk: an enterprise-mode server that is reachable from outside and has not been initialized yet. The researcher says the default bind address is 0.0.0.0, and the project’s production guide starts the container with
-p 8080:8080, which publishes the port on every interface. - Not takeover-able through this route: a server that was already initialized. The write-up reports that a second call to
/initanswers that the server is already initialized, and that the mode is locked once set. - Development mode: starts initialized and has no authentication by design, so it needs to stay on localhost. The project’s own table says authentication is disabled there.
That is also why the researcher first scored the issue 8.1 (CVSS 3.1) and called the exploit condition hard, while VulnCheck’s 9.2 uses the newer CVSS 4.0 scale. Both scores describe the same bug. Neither says that a running, initialized server is open to this particular attack.
What to check on an MCPJungle server today
- Find your version. Anything from 0.1.11 up to and including 0.4.7 is in the advisory range. 0.4.7, published on 30 October, is still the latest release on the project’s releases page, so there is nothing to upgrade to right now.
- Prove you were first. If you ran
init-serverand received the admin token yourself, nobody initialized the server before you. If it told you the server was already initialized, treat the instance as taken over. This is our reading of the researcher’s description, not vendor guidance. - Look at what is registered. List the servers, clients and users in the instance and remove STDIO servers or accounts you did not create. Rotate every credential MCPJungle stores for upstream servers if anything looks off.
- Do not publish the port before init. Start the container with
-p 127.0.0.1:8080:8080, runinit-serverfrom the same host or over an SSH tunnel, and only then put the gateway behind your reverse proxy. Release 0.4.6 added a--hostflag and aMCPJUNGLE_BIND_HOSTvariable to choose the bind interface, which is a second way to do the same. Both are our suggestions and untested. - Block the route at the proxy. After init the route is useless for you, so denying
POST /initat the reverse proxy costs nothing. In nginx that is alocation = /initblock that returns 403. Keep in mind that the CLI needs the route during setup. - Check the sample compose file. The production compose file in the repository also publishes PostgreSQL on 5432 with the password
mcpjungleand a pgAdmin on 5050 with the loginadmin@admin.comand passwordadmin. Change both or do not publish them.
The same blind trust shows up elsewhere in MCP tooling: mcp-server-git ran commands from a repository’s own config, and fake MCP servers aimed at Claude, Cursor and Cline users steal data from developers who install them. More incidents of this kind are on our AI Security tracker.
One step further: how many servers this could reach, and how long defenders have had
MCPJungle is not a niche toy. The GitHub repository shows about 1.6k stars and 212 forks, and Docker Hub lists 55,100 pulls of the official image. The production compose file pulls from ghcr.io, whose pull counts we could not see, so that figure is a floor for one registry only. We have no count of how many instances are exposed or uninitialized. Nobody, as far as we found, has published one.
The wider picture explains why a setup window matters. Censys counted 12,520 internet-reachable MCP services on 28 April 2026 and over 21,000 by 6 May, and notes that the protocol does not require authentication by default. A July registry scan by Guard0 found 1,139 of 2,958 remote MCP servers, 39 percent, answering with no authentication at all. Those numbers describe MCP servers in general, not MCPJungle. They show how often tool endpoints are left open, and a gateway whose first minutes are unauthenticated adds one more way to end up there.
Our own count of the clock, from the dates in the sources: the maintainer was emailed on 25 November, so nine days have passed. The proof of concept has been public since 29 November, five days ago. The last commit on the main branch is from 29 November and the researcher’s fix status check of 2 December says the route is still registered without authentication. The latest release is 35 days old. The write-up says the project publishes no security policy or private reporting channel, which may explain the silence. We cannot tell whether the maintainers have seen the report. Still open: a fix, any sign of exploitation, and a count of exposed instances.
How we checked
Checked on 4 December 2026, 23:27 CET.
- Read the VulnCheck advisory, the researcher’s README, report and fix status file, the project’s production deployment guide and README, and the Censys and Guard0 reports.
- Checked the releases page, the Docker Hub listing and the main branch commits on 4 December 2026. No release or commit after 29 November touches the init route as far as we can see.
- The day counts are our own arithmetic. The hardening steps are our suggestions and we did not test them or reproduce the attack.



