MCPHub
CVE-2025-11285
LOW
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to MCPHub with valid credentials
-
DeliveryIdentify serverController.ts endpoint
-
ExploitCraft HTTP request with injected OS commands in command/args parameter
-
ExecutionSubmit request to vulnerable endpoint
-
PersistMCPHub executes injected system command
-
ImpactAttacker gains code execution with MCPHub process privileges
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated session or valid authentication credentials to access MCPHub endpoints. The vulnerable functionality is triggered specifically when the command or args parameters in serverController.ts are manipulated with OS command syntax (e.g., semicolons, pipes, backticks, command substitution). No special non-default configuration is mentioned in the description, suggesting the vulnerability exists in standard deployments. The attack vector is network-based, meaning remote access to the MCPHub service is required. Exploitation is limited to users with authentication capabilities (PR:L in CVSS), preventing unauthenticated remote exploitation. The low scope and impact (VC:L/VI:L/VA:L with SC:N) suggest that while command execution is possible, the actual damage is constrained by the process privileges and scope rules of the CVSS model. |
| Impact | The risk profile reveals significant discrepancy between scoring metrics. CVSS 2.1 is exceptionally low, driven by CVSS:4.0 vector requiring PR:L (low privilege authenticated user) and limited impact scope (VC:L/VI:L/VA:L with SC:N/SI:N/SA:N). However, EPSS at 0.25th percentile (49%) and publicly available POC indicate this is not a widespread exploitation concern in practice. The authentic risk depends heavily on deployment context: if MCPHub is exposed in trusted environments where authenticated users are expected to be benign, real-world impact is minimal; if deployed with weak authentication or in multi-tenant scenarios, risk escalates significantly. The vendor's non-response and low EPSS exploitation probability suggest limited threat actor interest despite public POC availability. The attack requires network access and authentication, establishing a moderate barrier compared to unauthenticated RCE vulnerabilities. |
| Exploit ScenarioDerived | An authenticated user with legitimate access to MCPHub (e.g., a developer or admin account) crafts a malicious HTTP request to the vulnerable endpoint in serverController.ts, injecting shell metacharacters into the command or args field. The server executes the injected commands with the privileges of the MCPHub process, allowing the attacker to read sensitive files, create reverse shells, or modify application behavior. Given the publicly available POC in the referenced GitHub issue, exploitation is straightforward for any user with authentication credentials. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
OS command injection in MCPHub up to version 0.9.10 allows authenticated remote attackers to execute arbitrary system commands via manipulation of command/args parameters in serverController.ts. The vulnerability has a low CVSS score (2.1) due to requirement for authenticated access and limited scope impact, but carries elevated real-world risk given publicly available exploit code and vendor non-responsiveness. EPSS score of 0.25% suggests limited current exploitation activity despite POC availability.
RemediationAI
Upgrade MCPHub to a version newer than 0.9.10 if available from the vendor; however, vendor non-responsiveness suggests patched versions may not be forthcoming. As immediate mitigation, implement input validation and sanitization for all command and args parameters in serverController.ts by using parameterized/array-based command execution (e.g., spawn() with array arguments rather than exec() with string concatenation) and whitelist-validation of allowed command values. Network segmentation restricting access to MCPHub's command endpoints to trusted internal networks only will reduce attack surface. Disable or restrict authentication mechanisms if possible, or enforce multi-factor authentication to raise the barrier for authenticated access. Monitor system command execution logs for suspicious patterns. If the application permits, disable the vulnerable command execution functionality entirely if not critical to operations.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
MCPHub is a Node.js-based application framework where the vulnerability resides in src/controllers/serverController.ts. The flaw is a classic CWE-77 improper neutralization of special elements used in a command (command injection), occurring when user-supplied input in the command or args parameters is passed unsanitized to system command execution functions. This likely involves Node.js child_process module functions (exec, execFile, spawn) without proper input validation or parameterization. The CPE identifies the affected product as mcphubx:mcphub across all versions up to 0.9.10.
Know when Mcphub gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (vuldb) · only source for this CVE.
CVSS VectorVendor: vuldb
DescriptionCVE.org
A vulnerability was found in samanhappy MCPHub up to 0.9.10. Affected by this issue is some unknown functionality of the file src/controllers/serverController.ts. The manipulation of the argument command/args results in os command injection. The attack can be launched remotely. The exploit has been made public and could be used. The vendor was contacted early about this disclosure but did not respond in any way.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Affected Products (CPE)CVE.org
Improper authentication in MCPHub up to version 0.9.10 allows remote attackers to bypass authentication on the SSE conne
Improper privilege management in samanhappy MCPHub up to 1.0.32 lets any authenticated non-admin user import a configura
Server-side request forgery (SSRF) in MCPHub up to version 0.9.10 allows authenticated high-privilege users to manipulat
MCPHub below version 0.11.0 allows unauthenticated attackers to bypass authentication on unprotected endpoints and perfo
Header passthrough in samanhappy MCPHub through 1.0.45 and 1.1.7 allows a non-admin server owner to configure an upstrea
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB