{
  "id": "CVE-2026-79748",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-79748",
  "published_at": "2026-08-31T17:55:08.74Z",
  "title": "MCPHub: Authenticated non-admin user achieves RCE via POST /api/servers (missing authorization on stdio command/args)",
  "vendor": "samanhappy",
  "product": "mcphub",
  "cvss": {
    "score": 9.9,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-862",
  "cvss_by_source": {
    "cna": 9.9
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "samanhappy",
        "product": "mcphub",
        "ranges": [
          "\u003c 0.12.15"
        ],
        "fixed_in": [
          "0.12.15"
        ]
      }
    ],
    "upgrade": [
      "Upgrade mcphub to 0.12.15 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/samanhappy/mcphub/security/advisories/GHSA-mx89-jjx9-gjr8"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/samanhappy/mcphub/pull/770"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/samanhappy/mcphub/releases/tag/v0.12.15"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
