← AI agent vulnerabilities

CVE-2026-79748

MCPHub

9.9
Severity
Critical
Published
August 31, 2026
Last modified
September 8, 2026

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

Weakness

References

CVE-2026-79748 on NVD

Listed in

CriticalMCP serversMissing authorization

More MCPHub CVEs

Aug 31
CVE-2026-797507.7

MCPHub scopes non-admin users to servers they own (list views and config edits enforce ownership), but the tool-execution API does not.

Aug 31
CVE-2026-797497.6

MCPHub's SSRF guard in src/utils/ssrf.ts uses a custom isBlockedIpv6 function that only checks for loopback, link-local, unique-local, IPv4-mapped, and IPv4-compatible IPv6 addresses.

Aug 31
CVE-2026-797477.1

An authenticated non-admin user can register a server pointing at an arbitrary URL and make the hub issue server-side requests to it, with no egress filtering (no block of loopback / RFC1918 / link-local…

Aug 31
CVE-2026-797468.1

When a bearer key with accessType: 'servers' (or 'custom') is used against a group route, isBearerKeyAllowedForRequest grants access to the entire group as long as any single server in that group appears in…

Aug 31
CVE-2026-797457.1

The built-in prompt and resource controllers perform no role checking.

Aug 31
CVE-2026-797448.8

MCPHub's PUT /api/system-config endpoint (handler updateSystemConfig) performs no authorization check.