{"id":"CVE-2026-79748","aliases":["CVE-2026-79748"],"related":[],"kind":"vulnerability","state":"published","title":"MCPHub: Authenticated non-admin user achieves RCE via POST /api/servers (missing authorization on stdio command/args)","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-08-31T17:55:08.740Z","modified":"2026-09-08T21:08:37.320Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":9.9,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":9.9,"rating":"CRITICAL"}],"cwes":["CWE-862"],"affected":[{"ranges":[{"version":"< 0.12.15","status":"affected"}],"vendor":"samanhappy","product":"mcphub","source":"cvelist"}],"references":[{"url":"https://github.com/samanhappy/mcphub/security/advisories/GHSA-mx89-jjx9-gjr8","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/samanhappy/mcphub/pull/770","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/samanhappy/mcphub/releases/tag/v0.12.15","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-08-31T18:39:58.857Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-79748","url":"https://www.cve.org/CVERecord?id=CVE-2026-79748","licence":"CVE Terms of Use","modified":"2026-08-31T18:40:47.698Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-79748","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-79748","licence":"Public domain","modified":"2026-09-08T21:08:37.320Z"}],"updatedAt":"2026-11-25T22:59:35.858Z","epss":{"score":0.00421,"percentile":0.38401,"date":"2026-12-01T12:00:22.000Z"}}