Critical severity · published Aug 31, 2026
CVE-2026-79748
MCPHub: Authenticated non-admin user achieves RCE via POST /api/servers (missing authorization on stdio command/args)
9.9
CVSS
0.6%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 50% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MC
mcphub · samanhappy
< 0.12.15 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-79748
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-79748
github.com
https://github.com/samanhappy/mcphub/pull/770
github.com
https://github.com/samanhappy/mcphub/releases/tag/v0.12.15
github.com
https://github.com/samanhappy/mcphub/security/advisories/GHSA-mx89-jjx9-gjr8
More from mcphub
9.8
CVE-2025-11287
samanhappy MCPHub sseService.ts handleSseConnectionfunction improper authentication
8.8
CVE-2026-79744
MCPHub: Missing Authorization on `PUT /api/system-config` Lets Any Non-Admin Rewrite Global Security Configuration
8.8
CVE-2025-11285
samanhappy MCPHub serverController.ts os command injection
8.1
CVE-2026-79746
MCPHub: Server-scoped bearer key gains access to an entire group via partial (any-overlap) server matching
7.7
CVE-2026-79750
MCPHub authenticated horizontal IDOR: any non-admin user executes tools on other users' MCP servers (cross-tenant file read + SSRF)
