CVE Catalog

CVE-2026-79748

CriticalCVSS 9.9
Published: Updated: Translated: NVD NIST

Summary

MCPHub before version 0.12.15 lacks authorization checks for admin-only endpoints and does not sanitize command and args fields. Any authenticated non-admin user can execute arbitrary processes as the MCPHub server OS user, often root.

Risk Assessment

An authenticated attacker can execute arbitrary commands on the server, leading to full system compromise.

Recommendation

Update MCPHub to version 0.12.15 or later. Restrict API access to trusted users and use command allowlists.

Other vulnerabilities in MCPHub

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS