Vulnerability 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 Score
CRITICAL
Related Weaknesses (CWE)
References
- https://github.com/samanhappy/mcphub/pull/770
- https://github.com/samanhappy/mcphub/releases/tag/v0.12.15
- https://github.com/samanhappy/mcphub/security/advisories/GHSA-mx89-jjx9-gjr8
- https://github.com/samanhappy/mcphub/security/advisories/GHSA-mx89-jjx9-gjr8
FAQ
What is CVE-2026-79748?
CVE-2026-79748 is a vulnerability with a CVSS score of 9.9 (CRITICAL). 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...
How severe is CVE-2026-79748?
CVE-2026-79748 has been rated CRITICAL with a CVSS base score of 9.9/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-79748?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.