{"id":"CVE-2026-79748","state":"PUBLISHED","title":"MCPHub: Authenticated non-admin user achieves RCE via POST /api/servers (missing authorization on stdio command/args)","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.","publishedAt":"2026-08-31T17:55:08.740Z","updatedAt":"2026-08-31T18:40:47.698Z","severity":{"score":9.9,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["samanhappy mcphub"],"affected":[{"vendor":"samanhappy","product":"mcphub","versions":[{"version":"< 0.12.15","status":"affected"}]}],"references":["https://github.com/samanhappy/mcphub/security/advisories/GHSA-mx89-jjx9-gjr8","https://github.com/samanhappy/mcphub/pull/770","https://github.com/samanhappy/mcphub/releases/tag/v0.12.15"],"weaknesses":["CWE-862"],"ingestedAt":"2026-10-29T20:13:07.220Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/79xxx/CVE-2026-79748.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-79748","state":"PUBLISHED","datePublished":"2026-08-31T17:55:08.740Z","dateUpdated":"2026-08-31T18:40:47.698Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-08-25T14:08:18.109Z"},"containers":{"cna":{"title":"MCPHub: Authenticated non-admin user achieves RCE via POST /api/servers (missing authorization on stdio command/args)","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"samanhappy","product":"mcphub","versions":[{"version":"< 0.12.15","status":"affected"}]}],"references":[{"url":"https://github.com/samanhappy/mcphub/security/advisories/GHSA-mx89-jjx9-gjr8","name":"https://github.com/samanhappy/mcphub/security/advisories/GHSA-mx89-jjx9-gjr8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/samanhappy/mcphub/pull/770","name":"https://github.com/samanhappy/mcphub/pull/770","tags":["x_refsource_MISC"]},{"url":"https://github.com/samanhappy/mcphub/releases/tag/v0.12.15","name":"https://github.com/samanhappy/mcphub/releases/tag/v0.12.15","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.9,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-862","lang":"en","description":"CWE-862: Missing Authorization","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-31T17:55:08.740Z"},"source":{"advisory":"GHSA-mx89-jjx9-gjr8","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/samanhappy/mcphub/security/advisories/GHSA-mx89-jjx9-gjr8","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-31T18:39:58.857119Z","id":"CVE-2026-79748","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-31T18:40:47.698Z"}}]}}}