CVE-2025-11285: MCPHub's ServerController is vulnerable to Command Injection
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.
Published Oct 5, 2025 · Updated Oct 9, 2025
Affected packages
@samanhappy/mcphub
- Ecosystem
- npm
- Affected
- <= 0.9.10
- Fixed in
- No patched version yet
- Check
npm ls @samanhappy/mcphub
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More npm vulnerabilities
All npm entriesGHSA-wf8q-wvv8-p8jf
@samanhappy/mcphub: SSE Endpoint Accepts Arbitrary Username from URL Path Without Authentication, Enabling User Impersonation
critical9.1May 14, 2026GHSA-p3h2-2j4p-p83g
MCPHub has Path Traversal via Malicious MCPB Manifest Name
high7.2Apr 22, 2026CVE-2025-13822
MCPHub has an authentication bypass
medium5.3Apr 14, 2026CVE-2025-11287
MCPHub has an Improper Authorization vulnerability via its handleSseConnection function
medium5.5No fixOct 5, 2025
