p PatchFirst

PatchFirst · Latest vulnerabilities

@samanhappy/mcphub vulnerabilities

Vulnerabilities published for @samanhappy/mcphub in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 5

  1. CVE-2026-79743

    Medium · CVSS 6.9EPSS 0.54%Fix available

    MCPHub: Path Traversal via Malicious MCPB Manifest Name

    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.13, MCPB File Upload Handler extracts a ZIP file and reads manifest.json from it. The name field in the manifest is directly concatenated into a file path (line 107) without any sanitization or path traversal character validation. An attacker can craft a malicious MCPB file where manifest.name is set to something like ../../../etc/malicious, causing the file to be extracted to an arbitrary location on the file system. The cleanupOldMcpbServer function (line 110)

    • Update to 0.12.13
    Published Updated
  2. GHSA-wf8q-wvv8-p8jf

    Critical · CVSS 9.1Fix available

    @samanhappy/mcphub: SSE Endpoint Accepts Arbitrary Username from URL Path Without Authentication, Enabling User Impersonation

    ### Summary A critical identity spoofing vulnerability in MCPHub allows any unauthenticated user to impersonate any other user — including administrators — on SSE (Server-Sent Events) and MCP transport endpoints. The server accepts a username from the URL path parameter and creates an internal user session without any database validation, token verification, or authentication check. The source code itself acknowledges this gap with a TODO comment. ### Details MCPHub provides user-scoped SSE endpoints at the path `/:user/sse/:group`. The `sseUserContextMiddleware` in `src/middlewares/userContext.ts` (lines 42–75) extracts the username from

    • Update to 0.12.15
    Published Updated
  3. CVE-2025-11287

    Medium · CVSS 6.9EPSS 0.56%No fix published

    samanhappy MCPHub sseService.ts handleSseConnectionfunction improper authentication

    A vulnerability was identified in samanhappy MCPHub up to 0.9.10. This vulnerability affects the function handleSseConnectionfunction of the file src/services/sseService.ts. Such manipulation leads to improper authentication. The attack may be launched remotely. The exploit is publicly available and might be used. The vendor was contacted early about this disclosure but did not respond in any way.

    Published Updated
  4. CVE-2025-11285

    Medium · CVSS 5.3EPSS 7.86%No fix published

    samanhappy MCPHub serverController.ts os command injection

    A vulnerability was found in samanhappy MCPHub up to 0.9.10. Affected by this issue is some unknown functionality of the file src/controllers/serverController.ts. The manipulation of the argument command/args results in os command injection. The attack can be launched remotely. The exploit has been made public and could be used. The vendor was contacted early about this disclosure but did not respond in any way.

    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →