Command Injection Affecting @samanhappy/mcphub package, versions *


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.84% (74th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-SAMANHAPPYMCPHUB-13301615
  • published6 Oct 2025
  • disclosed5 Oct 2025
  • creditAugust829

Introduced: 5 Oct 2025

NewCVE-2025-11285  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

There is no fixed version for @samanhappy/mcphub.

Overview

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

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

CVSS Base Scores

version 4.0
version 3.1