Skip to main content

MCPHub CVE-2026-79748

| EUVDEUVD-2026-68686 CRITICAL
Missing Authorization (CWE-862)
2026-08-31 security-advisories@github.com
9.9
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain non-admin account
  2. Delivery
    Reach /api/servers API
  3. Exploit
    POST config with command:/bin/sh
  4. Execution
    MCPHub spawns process as OS user
  5. Persist
    Execute code as root
  6. Impact
    Full 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

MCPHub < 0.12.15

Affected Packages

euvd mcphub fix: 0.12.15

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

Vendor (github) PRIMARY 9.9 CRITICAL
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
vuln.today AI 9.9 CRITICAL

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Aug 31, 2026 - 19:17 EUVD
CVE Published
Aug 31, 2026 - 18:17 cve.org
CRITICAL 9.9

DescriptionCVE.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.

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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.3%
Top 74% exploitable
Prevalence
Low
niche open-source MCP orchestration tool, limited production footprint
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +50
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

More in Docker

View all
CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2019-5736 HIGH POC
8.6 Feb 11

runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac

CVE-2023-32077 HIGH POC
7.5 Aug 24

Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2023-5815 HIGH POC
8.1 Nov 22

The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post

CVE-2026-66384 MEDIUM POC
5.3 Aug 12

Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten

CVE-2014-9357 CRITICAL
10.0 Dec 16

Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build

CVE-2026-52806 CRITICAL POC
9.9 Jun 23

Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config

CVE-2025-14707 HIGH POC
8.9 Dec 15

Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system

CVE-2026-56274 HIGH POC
8.7 Jun 23

Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per

CVE-2026-34156 CRITICAL POC
9.9 Mar 30

Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l

CVE-2019-15752 HIGH POC
7.8 Aug 28

Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy