CVE-2025-13822: @samanhappy/mcphub Authentication Bypass Vulnerability
MODERATECVE-2025-13822 is a MODERATE authentication bypass vulnerability (CWE-639: Authorization Bypass Through User-Controlled Key) affecting @samanhappy/mcphub libraries in the npm ecosystem. The issue involves mcphub has an authentication bypass. Remediation is available by upgrading affected packages to version 0.11.0.
CVE-2025-13822 at a Glance
How to Fix CVE-2025-13822
To remediate this vulnerability, upgrade all affected @samanhappy/mcphub dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @samanhappy/mcphub@0.11.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @samanhappy/mcphub
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2025-13822, inspect your project dependencies using npm:
npm ls @samanhappy/mcphub
Analyze the terminal output to locate any version of @samanhappy/mcphub in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.11.0), your application is affected.
Note: The npm ls @samanhappy/mcphub command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-639: Authorization Bypass Through User-Controlled Key, where the system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data. In @samanhappy/mcphub, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-13822 Affected @samanhappy/mcphub Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@samanhappy/mcphub
|
npm |
< 0.11.0
|
0.11.0
|
References
Frequently Asked Questions
What is CVE-2025-13822?
Which @samanhappy/mcphub versions are affected?
What version fixes CVE-2025-13822?
Is @samanhappy/mcphub affected?
What CWE is associated with CVE-2025-13822?
How can I check npm dependencies for CVE-2025-13822?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9vq7-9h42-j88h",
"modified" : "2026-04-15T19:42:53Z",
"published" : "2026-04-14T12:31:28Z",
"aliases" : [ "CVE-2025-13822" ],
"summary" : "MCPHub has an authentication bypass",
"details" : "MCPHub in versions below 0.11.0 is vulnerable to authentication bypass. Some endpoints are not protected by authentication middleware, allowing an unauthenticated attacker to perform actions in the name of other users and using their privileges.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@samanhappy/mcphub"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.11.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-13822"
}, {
"type" : "WEB",
"url" : "https://cert.pl/en/posts/2026/04/CVE-2025-13822"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/samanhappy/mcphub"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-639" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-04-15T19:42:53Z",
"nvd_published_at" : "2026-04-14T11:16:24Z"
}
}