Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain non-admin account
-
DeliveryReach /api/servers API
-
ExploitPOST config with command:/bin/sh
-
ExecutionMCPHub spawns process as OS user
-
PersistExecute code as root
-
ImpactFull host compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires a valid authenticated MCPHub session at any privilege level (PR:L) - no admin role is needed, which is precisely the bug - and network reachability to the /api/servers management API. The attacker must be able to reach the POST /api/servers or PUT /api/servers/:name endpoint on an MCPHub instance older than 0.12.15. Impact severity scales with deployment: it is worst where MCPHub runs as root (default Docker image, common npx/systemd setups). The main limiting factor is obtaining any account; environments that disable open registration and tightly control account issuance substantially raise the bar, though any authenticated user remains sufficient. |
| Impact | This is a genuine high-priority issue rather than an inflated CVSS number. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H = 9.9) is internally consistent with the description: network-reachable API, low complexity, only low privileges (any authenticated account, and MCPHub self-registration can create non-admin users), no user interaction, and a scope change because code runs as the host OS user rather than within the application's authorization context. The dominant limiting factor is the authentication requirement, so exposure depends on how easily an attacker obtains any account - open or weakly-gated registration collapses that barrier. No EPSS score, KEV listing, or public POC was provided, so exploitation is not confirmed in the wild; the elevated risk comes from trivial exploitability and the root-level blast radius (default Docker image runs as root). Organizations running MCPHub with any multi-user access, and especially container/npx/systemd deployments as root, should treat patching as urgent regardless of the absence of KEV data. |
| Exploit ScenarioDerived | An attacker registers or is granted an ordinary non-admin MCPHub account, then sends an authenticated POST /api/servers request with a JSON body setting command to "/bin/sh" and args to a reverse-shell one-liner. MCPHub saves the config and immediately spawns the process via child_process.spawn, executing the attacker's command as the MCPHub OS user - root in the default Docker image - yielding full host compromise. No public exploit was provided, but the mechanism is trivial to reproduce from the advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 31, 2026
Privilege-escalation-to-RCE in MCPHub before 0.12.15 lets any authenticated low-privileged user reach OS command execution via the POST /api/servers and PUT /api/servers/:name endpoints, which spawn a configured stdio process through child_process.spawn without an admin authorization check or command allowlist. Because command and args are attacker-controlled, a non-admin user can set command to /bin/sh (or any binary) and have MCPHub run it as its own OS user - frequently root in the published Docker image and in npx/systemd deployments. No public exploit identified at time of analysis, though the fixing PR (#770) and GHSA advisory publicly detail the root cause.
RemediationAI
Vendor-released patch: upgrade to MCPHub 0.12.15 or later (https://github.com/samanhappy/mcphub/releases/tag/v0.12.15), which adds an admin authorization check on the server create/update endpoints. Until you can upgrade, restrict who can obtain accounts: disable or lock down self-registration so untrusted users cannot get authenticated sessions, and audit existing non-admin accounts. As additional compensating controls, place the /api/servers endpoints behind a reverse-proxy allowlist limited to trusted admin source IPs (trade-off: breaks legitimate remote admin from other networks), and stop running MCPHub as root - run it as a dedicated unprivileged user or drop container capabilities so that even a successful spawn cannot execute as root (trade-off: may require adjusting file/socket permissions for managed MCP servers). Reference the advisory GHSA-mx89-jjx9-gjr8 and PR #770 for exact code changes.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
MCPHub is a Node.js/TypeScript gateway that centrally manages and orchestrates multiple Model Context Protocol (MCP) servers, exposing them as routed endpoints. To launch a stdio-transport MCP server it invokes Node's child_process.spawn with a caller-supplied command and args array. The root cause is CWE-862 (Missing Authorization): the server-management REST handlers enforce authentication but omit a role check, so the isAdmin boundary that should gate process-spawning configuration is never evaluated, and there is no allowlist or sanitization of the executable path/arguments. The fix in serverController.ts introduces canAccessServer/getRequestUser helpers and an isAdmin gate; complementary hardening in the same PR forces isAdmin:false at registration and adds owner-scoping to OAuth clients and rate limiting to authenticated routes.
Know when Docker gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Network API reachable with any low-privileged account (PR:L), no interaction; arbitrary process execution as the host OS user is a scope change (S:C) with full C/I/A impact.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
MCPHub is a unified hub for centrally managing and dynamically orchestrating multiple MCP servers/APIs into separate endpoints with flexible routing strategies. Prior to version 0.12.15, the POST /api/servers and PUT /api/servers/:name endpoints in MCPHub create/update MCP server configurations and then immediately spawn the configured stdio process via child_process.spawn. Authentication is required, but there is no authorization check restricting these endpoints to admins, and there is no allowlist/sanitization on the command and args fields. As a result, any authenticated non-admin user can submit a server configuration with command:"/bin/sh" (or any other binary) and arbitrary args, causing MCPHub to execute the attacker-controlled process as the MCPHub server's OS user (commonly root in the published Docker image and in npx/systemd deployments). This issue has been patched in version 0.12.15.
Articles & Coverage 1
Technical POC Analysis
CWE-862 Missing Authorization.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
MCPHub versions before 0.12.15 contain a critical remote code execution vulnerability affecting any authenticated user, enabling complete system compromise with the privileges of the MCPHub process-frequently root in containerized and systemd deployments. Organizations running affected versions face immediate risk of unauthorized command execution and data breach through compromised server infrastructure.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict MCPHub API endpoints to internal/trusted networks only; run MCPHub process with non-root privileges and no sudo capability; disable child_process spawning configuration if operationally viable; implement real-time monitoring on MCPHub process execution for anomalous command activity; enforce multi-factor authentication on all administrative access to MCPHub instances.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac
Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post
Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten
Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build
Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config
Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system
Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per
Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l
Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c
EUVD-2026-68686
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB