CVE-2025-13822: samanhappy MCPHub authentication bypass in API endpoints

CVE-2025-13822 · Severity: medium · CVSS 5.3 · Published 2026-04-14

MCPHub is a tool used to manage and organize multiple Model Context Protocol (MCP) servers and APIs. A security flaw in versions before 0.11.0 allows unauthorized individuals to bypass security checks on certain parts of the system. This could allow an attacker to perform actions as if they were a legitimate user, potentially leading to unauthorized data access or configuration changes.

Technologies: @samanhappy/mcphub (npm), Samanhappy Mcphub. Vendors: npm, Samanhappy.

Quick answers

Is CVE-2025-13822 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-13822 being exploited in the wild.
How severe is CVE-2025-13822?
Medium severity, with a CVSS score of 5.3, published 14 April 2026.
Which products and versions are affected?
@samanhappy/mcphub (npm) < 0.11.0, SEMVER:introduced=0,fixed=0.11.0; Samanhappy Mcphub < 0.11.0.
Is there a fix for CVE-2025-13822?
Yes. @samanhappy/mcphub (npm): upgrade to 0.11.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2025-13822 attacked?
It is attacked over the network or from the adjacent network, in a software library.
Am I affected by CVE-2025-13822?
Check whether you run Mcphubx Mcphub, @samanhappy/mcphub (npm) or Samanhappy Mcphub at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • @samanhappy/mcphub (npm): upgrade to 0.11.0 or later
    npm install @samanhappy/mcphub@0.11.0

Technical details

MCPHub versions prior to 0.11.0 contain an authentication bypass vulnerability classified as CWE-639 (Authorization Bypass Through User-Controlled Key). The root cause is that specific API endpoints were not integrated with the application's authentication middleware. An unauthenticated attacker can reach these endpoints over the network (specifically adjacent networks according to CVSS 4.0 metrics) and execute actions with the privileges of other users. This allows for unauthorized interaction with managed MCP servers and APIs. The issue is resolved in version 0.11.0.

Affected products

  • samanhappy mcphub < 0.11.0

Identifiers

  • CVE-2025-13822
  • GHSA-9vq7-9h42-j88h

Timeline

  • 2026-04-14: advisory: Initial disclosure by CERT.PL and GitHub Advisory Database
  • 2026-04-14: disclosed
  • 2026-04-15: other: Advisory updated and reviewed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.