{"id":"CVE-2026-79748","published":"2026-08-31T17:55:08Z","modified":"2026-08-31T18:40:47Z","title":"MCPHub: Authenticated non-admin user achieves RCE via POST /api/servers (missing authorization on stdio command/args)","vendor":"samanhappy","product":"mcphub","tier":"core","eol":null,"affectedVersions":[{"vendor":"samanhappy","product":"mcphub","versions":["< 0.12.15"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-08-31T18:39:58.857119Z","from":"CISA ADP","provenance":"source"},"description":{"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"MCPHub's POST /api/servers and PUT /api/servers/:name endpoints (before version 0.12.15) spawn the stdio process defined in a submitted server configuration without restricting who can submit it or validating its command and args fields. An authenticated non-admin user over the network can supply an arbitrary binary such as /bin/sh with chosen arguments, which MCPHub then runs as its own OS user, commonly root in the published Docker image and in npx or systemd deployments, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T05:33:56Z"},"cvss":{"score":9.9,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00635,"percentile":0.514,"date":"2026-11-20","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2026-11-20","exploitedFirstSeen":null,"ransomware":false,"evidence":[],"evidenceTotal":0,"provenance":"source"},"exploited":true,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"references":[{"url":"https://github.com/samanhappy/mcphub/security/advisories/GHSA-mx89-jjx9-gjr8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/samanhappy/mcphub/pull/770","tags":["x_refsource_MISC"]},{"url":"https://github.com/samanhappy/mcphub/releases/tag/v0.12.15","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2026-68686","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-68686","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[],"timeline":[{"date":"2026-08-31","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2026-79748","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":62.2,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":10.0,"detail":"added 1 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":10.28,"detail":"percentile 0.5140"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":6.93,"detail":"base score 9.9"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}