Server-side Request Forgery (SSRF) Affecting @samanhappy/mcphub package, versions <0.9.11


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.03% (9th 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 Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

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

Introduced: 5 Oct 2025

NewCVE-2025-11286  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade @samanhappy/mcphub to version 0.9.11 or higher.

Overview

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

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the baseUrl argument in the serverController.ts. An attacker can make the server initiate arbitrary requests to internal or external systems by supplying crafted input remotely.

CVSS Base Scores

version 4.0
version 3.1