# CVE-2026-79748: MCPHub: Authenticated non-admin user achieves RCE via POST /api/servers (missing authorization on stdio command/args)

- Severity: Critical 9.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-31T17:55:08.740Z
- Modified: 2026-09-08T21:08:37.320Z
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- samanhappy mcphub: < 0.12.15

## References

- <https://github.com/samanhappy/mcphub/security/advisories/GHSA-mx89-jjx9-gjr8> (exploit)
- <https://github.com/samanhappy/mcphub/pull/770>
- <https://github.com/samanhappy/mcphub/releases/tag/v0.12.15>

## Sources

- CVE List: [CVE-2026-79748](https://www.cve.org/CVERecord?id=CVE-2026-79748), CVE Terms of Use, modified 2026-08-31
- NVD: [CVE-2026-79748](https://nvd.nist.gov/vuln/detail/CVE-2026-79748), Public domain, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-79748 · Whole record: https://cve.day/CVE-2026-79748.json · Rebuilt by cve.day 2026-11-25T22:59:35.858Z
