OS Command Injection Vulnerability in MCPHub by samanhappy
CVE-2025-11285

5.3MEDIUM

Key Information:

Vendor

Samanhappy

Status
Vendor
CVE Published:
5 October 2025

Badges

👾 Exploit Exists🟡 Public PoC

What is CVE-2025-11285?

A vulnerability has been identified in MCPHub by samanhappy, affecting versions up to 0.9.10. This issue arises from a weakness in the file src/controllers/serverController.ts, where improper handling of the 'command' and 'args' parameters allows for OS command injection. Attackers can exploit this vulnerability remotely to execute arbitrary commands on the server, potentially leading to unauthorized access or system compromise. Despite early disclosure to the vendor, there has been no response regarding a patch or mitigation strategy.

Affected Version(s)

MCPHub 0.9.0

MCPHub 0.9.1

MCPHub 0.9.2

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

CVSS V4

Score:
5.3
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • 🟡

    Public PoC available

  • 👾

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

Yu Bao (VulDB User)
.