MCPJungle: an unauthenticated /init call hands over the admin token
MCPJungle gateways that were deployed but never initialized hand an admin access token to any unauthenticated caller.
· VulnCheck · Research by Teycir
MCPJungle's POST /init endpoint needs no authentication, so anyone who reaches an uninitialized gateway can take the admin token or switch authentication off, then register a STDIO MCP server that runs commands on the host. No fix exists.
01What happened
Researcher Teycir published a disclosure pack for a missing-authentication flaw in MCPJungle, a self-hosted MCP gateway, on 29 November 2026, after emailing the maintainer on 25 November and getting no reply. VulnCheck, the CNA for the report, assigned CVE-2026-145359 and published its advisory on 4 December, rating it critical at CVSS 9.2. Versions 0.1.11 through 0.4.7 are listed as affected.
02How it works
POST /init sets up a fresh MCPJungle instance and checks no credentials, which is the CWE-306 missing-authentication flaw behind CVE-2026-145359. Calling it in enterprise mode returns a valid admin access token, and calling it in development mode turns authentication off for every endpoint. Holding the admin token, an attacker then registers a STDIO MCP server, whose definition is a command line the gateway runs locally as the service user.
03Who is affected
Exposure needs two conditions together: an MCPJungle instance from 0.1.11 through 0.4.7 that an attacker can reach over the network, and one that has never been initialized. A gateway initialized at deployment is not reachable by this path, because /init works only once. Deployments that sit behind authenticated ingress are also out of reach.
04What to do
Initialize an MCPJungle instance immediately after deploying it, before anything untrusted can reach the port, and keep the gateway off networks an attacker can reach until then. Treat the admin token of any exposed, uninitialized instance as compromised and redeploy. Watch the project's releases for a version above 0.4.7, since none carries the fix today.
Questions people ask
- Is my MCPJungle gateway exposed to CVE-2026-145359?
- An MCPJungle instance between 0.1.11 and 0.4.7 is exposed if it is reachable over the network and has never been initialized, because POST /init only works on an uninitialized server. Instances that were initialized at deployment are not affected by this path. Teycir's write-up states that exploitation requires an uninitialized instance an attacker can reach.
- Has MCPJungle shipped a fix for the /init flaw?
- No fixed version exists as of this writing. MCPJungle's latest release is 0.4.7, published on 30 October 2026, and the repository's last push was 29 November 2026. Teycir reports emailing the maintainer on 25 November 2026 and receiving no reply before publishing the proof of concept on 29 November. VulnCheck's advisory lists no fixed version.
- Why does an admin token on an MCP gateway lead to code execution?
- MCPJungle lets an administrator register STDIO MCP servers, and a STDIO server is defined by a command line that the gateway runs locally. An attacker holding the admin token registers a server whose command is their own, so the gateway executes it as the service user. VulnCheck describes this chain from missing authentication to remote code execution.
- Why is this rated high when VulnCheck rates CVE-2026-145359 critical?
- Severity here reflects defender exposure, not the CVSS number. VulnCheck scores CVE-2026-145359 at 9.2 critical under CVSS 4.0, and Teycir's own write-up scores the primary finding 8.1 high because exploitation needs an uninitialized, network-reachable instance. Most MCPJungle deployments are initialized at setup, so the condition that makes the flaw reachable does not hold for them.
Sources 4 links, all fetched
- 1vulncheck.comVulnCheck Advisory
- 2github.comResearcher Write-Up
- 3github.comGitHub Advisory
- 4github.comMCPJungle Repository