@samanhappy/mcphub@0.12.8

A hub server for mcp servers

  • latest version

    1.0.7

  • latest non vulnerable version

  • first published

    1 years ago

  • latest version published

    5 hours ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @samanhappy/mcphub package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • C
    User Impersonation

    @samanhappy/mcphub is an A hub server for mcp servers

    Affected versions of this package are vulnerable to User Impersonation via the sseUserContextMiddleware process. An attacker can gain unauthorized access to user sessions and perform actions as any user, including administrators, by supplying arbitrary usernames in the URL path without authentication. This is only exploitable if bearer authentication is disabled or not configured.

    How to fix User Impersonation?

    Upgrade @samanhappy/mcphub to version 0.12.17 or higher.

    <0.12.17
    • H
    Directory Traversal

    @samanhappy/mcphub is an A hub server for mcp servers

    Affected versions of this package are vulnerable to Directory Traversal in the uploadMcpbFile process when the name field from the uploaded manifest.json is concatenated directly into file system paths without sanitization or validation. An attacker can write files to arbitrary locations on the server's file system by uploading a crafted archive with path traversal sequences in the manifest.name field.

    How to fix Directory Traversal?

    Upgrade @samanhappy/mcphub to version 0.12.13 or higher.

    <0.12.13
    • M
    Command Injection

    @samanhappy/mcphub is an A hub server for mcp servers

    Affected versions of this package are vulnerable to Command Injection via the serverController.ts. A user can execute arbitrary operating system commands by supplying crafted input to the command or args parameters.

    How to fix Command Injection?

    Upgrade @samanhappy/mcphub to version 0.12.12 or higher.

    <0.12.12