Skip to main content

MCPHub CVE-2025-11285

LOW
Command Injection (CWE-77)
2025-10-05 cna@vuldb.com
2.1
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to MCPHub with valid credentials
  2. Delivery
    Identify serverController.ts endpoint
  3. Exploit
    Craft HTTP request with injected OS commands in command/args parameter
  4. Execution
    Submit request to vulnerable endpoint
  5. Persist
    MCPHub executes injected system command
  6. Impact
    Attacker 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

npm @samanhappy/mcphub no fix

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

Vendor (vuldb) PRIMARY 2.1 LOW
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.3%
Top 51% exploitable
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Affected Products (CPE)CVE.org

cpe:2.3:a:mcphubx:mcphub:*:*:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy